] own. Perhaps someone who build the simple iv-loader can help me out. I would
] like to convert the cornell box into valid VRML2.0 for testing this scene
If it's a "small" file (meaning the scene graph is only small)
then I usually convert it "by hand":
just take any small VRML2 file, strip its guts, then stick in the geometry
from the IV file, voila.
I even made a VRML "template" for that purpose:
#VRML V2.0 utf8
DEF schlauch Shape
{
geometry IndexedFaceSet
{
coord Coordinate
{
point [
]
}
coordIndex [
]
}
appearance Appearance
{
material Material
{
ambientIntensity 0.25
diffuseColor 1.0 0.5 0.8
emissiveColor 0.0 0.0 0.0
shininess 0.2
specularColor 0.5 0.1 0.0
transparency 0.0
}
}
}
HTH,
Gab.
--
/-------------------------------------------------------------------------\
| The society which scorns excellence in plumbing |
| because plumbing is a humble activity, |
| and tolerates shoddiness in philosophy |
| because philosophy is an exalted activity, |
| will have neither good plumbing nor good philosophy. |
| Neither its pipes nor its theories will hold water. (John W Gardner) |
| |
| [EMAIL PROTECTED] __@/' [EMAIL PROTECTED] |
| web.informatik.uni-bonn.de/~zach __@/' www.gabrielzachmann.org |
\-------------------------------------------------------------------------/
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users