Hi Johan,

On Tue, 2007-08-28 at 17:32 +0200, Johan Robben wrote:
> >> 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 ?

uhm, well, the first attempt contained an empty patch, because I
accidentally recreated after committing it to cvs. Do you also have
problems with the one attached to the followup mail?

        Thanks,
                Carsten




-------------------------------------------------------------------------
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

Reply via email to