>> Is there a way to modify the VRML loader to put the name of the
>> MaterialChunk on the MaterialGroup ? (I am not in control of the VRML
files)
> sort of ;) The attached patch adds an option to the loader (use
SceneFileHandler::the()->setOptions("pushNames=true") to enable it), that
puts the name of a VRML Material (OpenSG MaterialChunk) on the VRML
Appearance (OpenSG ChunkMaterial) unless that has a name of its own.
> The patch itself is a horrible hack, but the only way Dirk and I could
come up with that did not involve even greater surgery ;)
Thanks for the patch, it seems to be exactly what I need!
However, when I try to open the file, it seems to be empty...
And when I try to open the file through the mail archive on sourceforge, it
doesn't work either. Can you upload it somewhere ?
Thx in advance,
Johan
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users