WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 10-19-2007, 03:38 PM
v-Salik v-Salik is offline
Join Date: Sep 2007
Posts: 20
Getting object position in screen coordinates

I have a user moving an avatar from the 3rd person view (moving arms/hands).
I want to check if the avatars hand is 'on top' of an on object from the view of the user, is there a way to get the projection transformation matrix and apply that to the object positions to get the screen coordinates of both objects then compare them?

Reply With Quote
Old 10-19-2007, 03:41 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
Search the documentation for "worldToScreen", there should be a few examples showing how to convert a 3d location to a 2d location.
Reply With Quote

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

All times are GMT -7. The time now is 07:52 AM.

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