View Single Post
  #1  
Old 09-21-2007, 11:39 AM
tmcw tmcw is offline
Member
 
Join Date: Feb 2007
Location: W&M
Posts: 24
Unhappy How can I use viz.displaymode()?

This is sort of in reference to my question about monitor resolutions...

So apparently we're using a V10 HMD unit (which barely exists, it appears), which will need a 2650x1024 input resolution. The line

Code:
viz.displaymode(2560, 1024, 16, 60)
seems like it would do the trick, but regardless of where I put it in a script, it doesn't seem to do a thing. Should this be run before the script at all, or something like that? For instance, right now I have

Code:
import viz


viz.go(viz.PROMPT)


if viz.get(viz.TRACKER):
	ori = viz.add('intersense.dls')
	ori.reset()
	PORT_PPT = 3
	pos = viz.add('vizppt.dls')
	pos.reset()
	#viz.tracker()
	#tracking = 1
	
PORT_INTERSENSE = 4
	
viz.translate(viz.HEAD_POS,0,.7,0)

#if tracking:
#	vizact.onkeydown('r',ori.reset)
	
	
viz.displaymode(2560, 1024, 16, 60)
and no luck.

Thanks for any help. This monitor conundrum is pretty tricky.
Reply With Quote