#1
|
|||
|
|||
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. OR 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 |
#2
|
|||
|
|||
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.
|
|
|
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 |