WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Change Resolution (https://forum.worldviz.com/showthread.php?t=1090)

TunTun 05-17-2007 09:49 PM

Change Resolution
 
Hello,

Is there any parameter or function that can change the resolution of the output graphics? Say sometimes I need 1024x768, sometimes I need 512x389.

Thanks.

farshizzo 05-18-2007 10:11 AM

Are referring to the monitor resolution or the size of the graphics window? Either way, have a look at the following commands in the documentation:
Code:

viz.displaymode()
viz.windowsize()


TunTun 05-18-2007 11:42 AM

Thanks. I'll try viz.displaymode().

BTW, what's the width/height of viz.windowsize(width, height)? If they are the number of pixels, then what's the difference between these two commands?

farshizzo 05-18-2007 11:47 AM

viz.displaymode() changes the resolution of your monitor

viz.windowsize() changes the size of the Vizard graphics window

TunTun 06-12-2007 01:56 PM

Hi,

Our HMD is nVisor SX which can display a 1280x1024 image. I tried to use viz.displaymode(640,512) at the beginning of my program to get half resolution. But I get the following message and nothing changed.
** ERROR: Failed to set requested display mode

Did I miss something?

Thanks,

farshizzo 06-12-2007 02:07 PM

Your monitor does not support that resolution. Why do you want to set the resolution to half?

TunTun 06-12-2007 03:10 PM

Hi,

I also tried to set the resolution of my monitor, but then I can see nothing but color stripe in my HMD. :(

Thanks,


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

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