I don't feel like it's a hack, doing what you do (however, I'm not one
of the lib writers, they might feel differently :). It's merely a way of
pushing your data through a format which does not directly support what
you're trying to do. (We do something similar by embedding collision and
visualization geometry in the same file, naming the nodes differently
and not rendering the collision parts.)
I'm no expert on the VRML-format, but the definition should be available
on the net (see also VRML97, which is much the same thing as VRML 2.0).
DDS is a format which supports 3d-textures (and almost all type of
texture formats that modern graphic cards support). I'm fairly sure the
DevIL-library supports DDS & 3D textures. As to creating 3d-textures, I
don't really know, as I'm not an artist. One way would be to use
photoshop or some other content tool using layers, and import those
files (psd) as textures (given some restrictions).
/Marcus
mike penick wrote:
Hello,
I'm working with a group to create a wildfire visualization project at
UNR. We've decided to use 3D textures on models to give them a
gradually burned appearance. That is we provide a set of textures that
look more and more burnt, and gradually increase the Z coordinate as a
model is "burned".
I have "hacked" (this is really a hack) something together to get this
working. Here is what I did. After a VRML 2.0 model is loaded, my code
replaces all 2d texture coordinates with 3d texture coordinates and
replaces all 2D textures with a 3d texture. I "dice" the newly loaded
image up into a 3d texture by changing the height and depth. This was
all to avoid hacking on the VRML loader.
I know, this is not a very productive or smart way to do this. I guess
I have a few questions.
Does the VRML loader support 3d textures coordinates or 3d textures in general?
Are there any 3d texture programs or formats?
Do you have any suggestion about using 3d textures?
Any suggestions, ideas, or comments would be greatly appreciated.
Sorry about the horrible misuse of your great library.
Sincerely,
Michael A. Penick
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users