[X3D-Public] got java source for PixelTexture render to image?

Don Brutzman brutzman at nps.edu
Sat Feb 12 07:32:41 PST 2011

Wondering if someone has some Java source that provides a simple
way to create a png image from a PixelTexture definition.

These would be good to add to our example archives to illustrate
the pretty-print HTML documentation.  Examples:

<PixelTexture image='2 2 3 0xFF0000 0xFFFF00 0xFFFF00 0xFF0000'/>
as shown in

would produce an image file like the one attached:

An Xj3D invocation would be easy to add to the archive build files.
Any open-source Java could also be integrated with X3D-Edit
(which already supports image-file import into a PixelTexture).

Suggestions welcome, TIA.

all the best, Don
Don Brutzman  Naval Postgraduate School, Code USW/Br      brutzman at nps.edu
Watkins 270   MOVES Institute, Monterey CA 93943-5000 USA  +1.831.656.2149
X3D, virtual worlds, underwater robots     http://faculty.nps.edu/brutzman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RedYellowCheckerboard.png
Type: image/png
Size: 2225 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20110212/d96bbb56/attachment.png>

More information about the X3D-Public mailing list