[Source] Extrusion diagnostics improved; how to get the DEF name of a node?

Alan Hudson alan at shapeways.com
Mon Aug 20 12:46:13 PDT 2012


On 8/20/2012 12:43 PM, Don Brutzman wrote:
> OGLExtrusion diagnostics are improved in NPS branch.
>
> Corresponding new example test scene and console output can be found at
> http://x3d.svn.sourceforge.net/viewvc/x3d/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionExamplesTest.x3d?view=log
> http://x3d.svn.sourceforge.net/viewvc/x3d/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionExamplesTestXj3dConsoleOutput.txt?view=log
>
> What should be an FAQ: how to get the DEF name of a node?
> It doesn't appear that this important value is saved as part of
> a node's base class information.  Not having it greatly obscures
> diagnostic and error output.
>
> Example reference or snippet to getDEF from within OGLExtrusion
> would be appreciated.
>
> all the best, Don
You can't.  The information is only contained at the scene level not per 
node.  We decided the memory overhead of having an pointer per node was 
not worth it.

-- 
Alan Hudson, Director 3D Tools
www.shapeways.com




More information about the Source mailing list