WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Accesing different parts of model (https://forum.worldviz.com/showthread.php?t=4450)

pankaj bansal 12-29-2012 12:20 PM

Accesing different parts of model
 
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:
.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:
.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.


All times are GMT -7. The time now is 11:23 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC