Horde3D

Next-Generation Graphics Engine
It is currently 22.11.2024, 17:56

All times are UTC + 1 hour




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: What does GroupNode Do?
PostPosted: 20.01.2008, 07:23 
Offline

Joined: 20.01.2008, 07:16
Posts: 15
I'm currently working on a project using Horde3D and was wondering what exactly the GroupNode did, and how it could be used in a game engine environment.

If someone could enlighten me that would be great.

Thanks.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 20.01.2008, 22:52 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
GroupNode is actually just a generic container for other nodes. The rootnode for example is a GroupNode. The only special thing is that it can have a min and max visibility distance which makes it possible to realize level of detail.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 21.01.2008, 02:03 
Offline

Joined: 08.11.2006, 03:10
Posts: 384
Location: Australia
Also, say that in your game a room is only sometimes visible - you can put all of a rooms geometry into a group node, and when you know that the room isn't visible, you can hide the group node, which tells horde to ignore all of that geometry.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 21.01.2008, 05:08 
Offline

Joined: 20.01.2008, 07:16
Posts: 15
alright, thanks for clearing that up :)


Top
 Profile  
Reply with quote  
PostPosted: 10.07.2008, 12:22 
Offline

Joined: 03.07.2008, 01:23
Posts: 50
How is this hiding achieved? I skimmed through API docs but couldn't find a way.


Top
 Profile  
Reply with quote  
PostPosted: 10.07.2008, 12:34 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Do you search for setNodeActivation?


Top
 Profile  
Reply with quote  
PostPosted: 10.07.2008, 12:44 
Offline

Joined: 03.07.2008, 01:23
Posts: 50
Oh... "activation" didn't come to mind. I just searched for 'visibility' and 'hiding' etc. Maybe the docs could have a list of keywords or just explicitly mention this kind of words? Well, at least now when the forum is searched, people will bump into this thread... previously there wasn't one. :idea:


Top
 Profile  
Reply with quote  
PostPosted: 10.07.2008, 13:31 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
cantele wrote:
Oh... "activation" didn't come to mind.
Agreement - when I hear 'node activation', I think of a physics engine. Visibility or Hiding would be better terms ;)

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
PostPosted: 10.07.2008, 13:40 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Well as far as I know the node and it's children are completly excluded from the update method, that may be the reason why it is called Activation and not Visibility.


Top
 Profile  
Reply with quote  
PostPosted: 10.07.2008, 15:25 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
Volker wrote:
Well as far as I know the node and it's children are completly excluded from the update method.
You are correct, but since the update method only affects visibility related attributes...

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
PostPosted: 15.07.2008, 17:36 
Offline

Joined: 03.07.2008, 01:23
Posts: 50
This is working fine. But how would I be able to obtain knowledge whether a node is "active" or not from the engine? I think this information is crucial and I don't like caching this kind of things. Should I provide a patch?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group