Horde3D

Next-Generation Graphics Engine
It is currently 25.11.2024, 08:16

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: check for visibility?
PostPosted: 10.11.2008, 14:10 
Offline

Joined: 05.03.2007, 19:38
Posts: 167
Location: Romania
hi, how can i check if a node is in the view fustrum? and further more to turn it's visibility on and off (render state, not alpha)?

thanks :)

_________________
Paul


Top
 Profile  
Reply with quote  
PostPosted: 10.11.2008, 16:01 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
If I remember correctly, there is currently no external method to check if a node is visible to the viewing frustum. You may search for the frustum culling code in the engine and create your own interface function.
But the visibility can be already toggled using setNodeActivation.


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

Joined: 05.03.2007, 19:38
Posts: 167
Location: Romania
thanks. i hoped it would be something i've missed in the api. now, regarding the fustrum, i'll dig into the sources bodge something.

by any chance do you know in witch file i might find the code?

LE: found it :D

_________________
Paul


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 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:  
cron
Powered by phpBB® Forum Software © phpBB Group