WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-08-2010, 08:05 AM
4711 4711 is offline
Member
 
Join Date: Jan 2010
Posts: 15
Is an object in the user's field of view?

Hi all,

is there a simple method to figure out whether a certain 3dnode object is currently visible for the user or not? I don't want to know if the object is visible in general (thus not <node3d>.getVisible), but if it's currently within the users field of view.

Any ideas are appreciated!
Reply With Quote
  #2  
Old 06-08-2010, 11:43 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,450
You can use window.isCulled to check whether an object is in the view frustum. However, this will not tell you if the object is occluded.
Reply With Quote
  #3  
Old 06-09-2010, 02:16 AM
4711 4711 is offline
Member
 
Join Date: Jan 2010
Posts: 15
Jeff, this is exactly what I was looking for. Thanks a lot!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A question on field of view llqqff Vizard 0 03-11-2010 09:01 AM
Freeform view on an animated object problem jaylocco Vizard 2 06-08-2009 08:09 PM
Get a user's current position from an object? cgibb Vizard 2 06-03-2009 05:47 PM
keeping a 3d object in front of the view tavaksai Vizard 1 07-07-2004 09:33 AM
Field of View Plasma Vizard 1 04-22-2004 10:14 AM


All times are GMT -7. The time now is 05:26 AM.


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