![]() |
|
|||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
You can link the box to the main view, then pre multiply the link with a translation to keep the box in your view. To keep it from being occluded, you can disable depth test and give it a high draw order.
Code:
box = vizshape.addBox() link = viz.link( viz.MainView, box ) link.preTrans([0,0,3]) box.disable( viz.DEPTH_TEST ) box.drawOrder(100) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create image directly in front of head | Notch | Vizard | 2 | 01-14-2014 08:17 AM |
| Eye position relative to center of head? | performlabrit | Vizard | 1 | 01-07-2014 09:30 AM |
| getting position relative to an object | fivel_lab | Vizard | 4 | 11-02-2011 08:24 PM |
| Get a user's current position from an object? | cgibb | Vizard | 2 | 06-03-2009 06:47 PM |
| Can you link the position of a tracker to the orientation of an object? | michaelrepucci | Vizard | 1 | 09-19-2008 11:23 AM |