WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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


All times are GMT -7. The time now is 03:13 AM.


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