WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   windows and viewpoints (https://forum.worldviz.com/showthread.php?t=54)

hotspur1 08-20-2003 10:20 AM

windows and viewpoints
 
Is there a limit to the number of windows/viewpoints (of the same scene) that I can display at once? I might have a need for as many as a dozen views!

Thanks!

farshizzo 08-20-2003 10:30 AM

Hi,

There is a hard-coded limit to how many windows and views you can have, but we can easily change it to accomodate your needs. How many windows are you planning on using?

hotspur1 08-20-2003 10:56 AM

I think that 12 would be a suitable number to use. Although I wouldn't be using an extremely complex environment, I imagine that performance, in terms of frame rate, would go down the more windows I have running (?).

Thanks.

farshizzo 08-20-2003 11:01 AM

Hi,

If you have 12 windows then Vizard will have to render the scene 12 times per frame. If your scene isn't complex then this shouldn't cause a big slowdown. I just modified Vizard to allow up to 20 windows and views. Do you need this immediately or can you wait for the next release?

hotspur1 08-20-2003 12:46 PM

That's great - I can wait for the next release.

hotspur1 08-25-2003 02:20 PM

trouble with v2.09 and windows
 
I'm having trouble running the viz_windows.py demo script with v2.09 - I get an error in parsing the file that

Traceback (most recent call last):
File "", line 2, in ?
File "viz_windows.py", line 26, in ?
UpperLeftWindow.setposition(0, 380)
AttributeError: 'NoneType' object has no attribute 'setposition'

Somehow it doesn't seem to initialize the wondow object properly. Any hints?

Also, say I am running in 1280x1024 mode and I open 4 windows each sized 640x480. Am I still rendering 5 scenes, even thoug hone of them (the main one) is occluded?

Thanks

farshizzo 08-25-2003 03:36 PM

Hi,

The windows and viewpoints features was just added to vizard 2.10, so older versions of vizard 2.0x won't be able to run that example.

The main window will always be rendered, even if it is occluded. If you don't plan on using the main window simply set the scene for the main window to an empty scene so there is nothing to be rendered.


All times are GMT -7. The time now is 11:39 PM.

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