View Full Version : windows and viewpoints

08-20-2003, 10:20 AM
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!


08-20-2003, 10:30 AM

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?

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 (?).


08-20-2003, 11:01 AM

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?

08-20-2003, 12:46 PM
That's great - I can wait for the next release.

08-25-2003, 02:20 PM
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 "<string>", 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?


08-25-2003, 03:36 PM

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.