WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-04-2013, 11:16 AM
mbustamante mbustamante is offline
Member
 
Join Date: Jun 2013
Posts: 1
Callback if object has been seen

Hi,

I want to be able to fire some actions when the viewpoint "sees" an object. I mean, i make an object and when enters into the viewpoint, i display a text.

I've only seen ways to do it when the viewpoint collides with an object, or the user picks it.

is it possible to do it ? Could you lead me to some reference i could work on. I read "Viewpoints & Windows" with no help

thanks
Reply With Quote
  #2  
Old 06-05-2013, 07:02 AM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
The only way I can think of, is to create thin walls at the edges of the viewpoint (and just out of view, or invisible), update these walls with the mainview, and check for collisions with these walls.
Reply With Quote
  #3  
Old 06-07-2013, 07:06 AM
JvdBosch JvdBosch is offline
Member
 
Join Date: Sep 2006
Posts: 36
Try viz.MainWindow.isCulled(node) to check if it is in the visible range or not. It will however not check if if is occluded or not.
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
How to render a texture of the transparent object and then blur it whj Vizard 1 09-25-2012 03:15 PM
AMD graphics hardware seems not to preload object sleiN13 Vizard 2 03-20-2012 06:08 AM
Remove link and have object drop/collide? cgibb Vizard 6 03-02-2010 04:18 PM
retrieve Object names Geoffrey Vizard 11 12-11-2009 04:26 AM
rotate to object jargon Vizard 1 08-08-2005 12:20 PM


All times are GMT -7. The time now is 04:33 AM.


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