> >> 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 ;)
I've installed the patch but my program crashed (access violation) as soon
as I tried to load a vrml file. I then downloaded a new daily build and
compiled it, but my program still crashes. I think there is something wrong
with the patch.
I couldn't figure out what though.
When I replaced the dll's with dll's from an old build, my program worked
just fine.
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