WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 12-30-2016, 05:03 AM
rajnishv rajnishv is offline
Join Date: Jan 2016
Location: Kalina,Sanatcruz(East),Mumbai,Maharashtra,India
Posts: 94
Smile Regarding ViewPoint should face a 3d model

Hi Jeff,
I am preparing a demo in which i have to achieve the following:

The viewpoint should always face the 3D Model when i turn left or rotate left using a vizconnect transport and mapping the turn left and turn right of the transport section in the vizconnect to the input signals of the input that is added in the vizconnect section.


The viewpoint display when rotated using transport the 3d models should always be seen inside the display when rotation of the transport is done.

I used 'lookAt' function in every module <viewpoint>,<node3d>,<viz> of vizard,but theres no breakthrough.

Pls assist me further ,to achieve this.

Thanx & Regards

Mr.Rajnish Vishwakarma
Xenium Digital Pvt Ltd ,Mumbai
Reply With Quote
Old 01-03-2017, 11:09 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,467
If you want to fix the model to the view you can set it's reference frame to viz.RF_VIEW. If you want the model to come into view only after the transport movement is started you could create vizconnect events for both left and right turns. Map the same input signals used with the transport for the events. Then in your script create callback functions for the events. In those functions, set the model's position so it comes into view or change its reference frame.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Viconnect viewpoint rajnishv Precision Position Tracker (PPT) 3 03-20-2017 11:03 PM
Regarding viewpoint with vizconfig,addFloatRangeItem&Storing viewpoint in PREFERENCES rajnishv Vizard 0 06-27-2016 03:57 AM
Change model alpha and memory leak hosier Vizard 2 06-25-2009 10:55 AM
Randomly and Continuously Change Avatar's Face Texture Karla Vizard 4 08-22-2008 12:14 PM

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

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