Vincent Hardy wrote: > I have read through your email and, while I understand what you are > trying to do, I am not sure what you are looking for exactly.
Err... yeah, just read through what I wrote... even I can't make sense of what I wrote! > You are saying that you cannot get the background color > right or that you have 'other oddities': could you tell us specifically > how you are trying to set the background color and what the oddities > are? The simplest process is creating my own custom Image instance, with default background of all alpha. With this, I then use GraphicsUtil to create a Graphics2D instance, as recommended. From this, I then call GraphicsNode.paint() on a root instance of the document. No RenderingHints are set. Visual artifacts are the background colour is being reset (I'd like just to create a straight text string printed on an image) there's aliasing effects around the edge of the text. I think some of that is to do with the way I'm creating the image, but I'm not really sure yet. In this simplest of tests I'm trying to implement an X3D Text node which is described as a "Flat two-sided item". We don't need to create polygons, so as the first step is just a simple text string on a transparent image to run as a texture. Admittedly it would be far easier to not use SVG altogether, but this was supposed to be the first step in a much larger process for the integration. It's the "get to know you" step. -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
