WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-26-2014, 06:10 PM
masaki masaki is offline
Member
 
Join Date: Jan 2008
Posts: 63
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)
Masaki
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
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


All times are GMT -7. The time now is 06:29 AM.


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