WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-03-2017, 07:48 AM
VizMars VizMars is offline
Member
 
Join Date: Jan 2016
Posts: 40
check if fixation is on target

I want to check whether a (gaze) fixation (i.e. a position) is on an object or not in a 3d and a 2d scenario. I think I need the corresponding object coordinates to do this.

What is the best way to get not only the 3d position of an object and it's corresponding 2d screen coordinates but also the coordinates of the space that this object occupies in 3d and 2d?
Reply With Quote
  #2  
Old 11-14-2017, 11:20 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Use the viz.pick command and pass in a screen position to determine the object that intersects it. This example script maybe helpful.
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
Post-hoc fixation detection from a noisy eye-tracker signal. performlabrit Vizard 3 11-15-2017 03:58 AM
how to check if specified number of targets are in proximity sensor? Vaquero Vizard 8 12-27-2016 06:23 PM
How to set the viewpoint as the proximity target in a Vizconnect configuration? jizh1000 Vizard 1 06-01-2015 12:18 PM
vizproximity hint - debug 2D areas related to a source only after adding a target! fordprefect Vizard 1 12-15-2014 01:37 PM
Semi-circle array containing target and distractor objects ptjt255 Vizard 3 08-04-2009 04:09 AM


All times are GMT -7. The time now is 01:57 AM.


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