Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
H3D.org Feeds
H3D.org Forum Index
   Programming Issues
     Basic issue - H3DLoad
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
sajjad
Posted on: 2011/12/13 8:26
Quite a regular
Joined: 2008/5/15
From:
Posts: 35
Basic issue - H3DLoad
Hello forum,

X3D scene graph is traversed repeatedly. At every traversal, changes in the scene that need to be updated are rendered and displayed.

Suppose some of the field parameters within a node are changed from a GUI editor.

In that case H3DLoad will be serializing a scene with new attributes.

Do we have to call H3DLoad every-time with new parameters from the editor or there is a better way to do it?


Regards
Sajjad
Markus
Posted on: 2012/1/4 23:14
Webmaster
Joined: 2006/3/27
From: SenseGraphics
Posts: 1919
Re: Basic issue - H3DLoad
Your GUI editor affects a certain node, or certain nodes right? In that case simply keep references to those nodes and change the attribute of those nodes. Note that this only works for attribute that are INPUT_OUTPUT and INPUT_ONLY. The INITIALIZE_ONLY fields will only be set at the creation of a node.

If you take a look at the TreeView of H3DViewer you will get an example of a GUI in which node values can be changed at run time.
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 



(C) 2012 SenseGraphics AB    ---    Powered by XOOPS