PDA

View Full Version : Accesing different parts of model


pankaj bansal
12-29-2012, 12:20 PM
hii
I want to add different parts of a 3D model in to world without adding the whole model. I mean If I have a model with 50 different geodes. I can see different parts of model in inspector. Now I want to add few parts of that model in my world but I dont want to add the whole model. how can I do that..
Plz help me..

Regards
Pankaj Bansal

goro
12-30-2012, 10:10 PM
You have to load the complete 3D Scene in Vizard & you have to remove your unwanted nodes in following two ways:

1) By Culling them:
<node3d>.cullFace(viz.GL_FRONT_AND_BACK, node = ' ')
This will cull all the objects from node3d associated with node. GPU Memory will be still occupied with those objects associated with node.

2) By disabling them in rendering processes:
<node3d>.disable(viz.RENDERING, node = ' ')
This will disable the rendering of all the objects from node3d associated with node. GPU Memory will be released for those objects associated with this node.