frustum versus clip and fov
I'm not understanding the difference (if any) between using the MainWindow.frustum call and the MainWindow.clip and MainWindow.fov calls. I would have expected them to give the same result in the following code, but they don't. Does anyone know why?
Code:
clipPlanes = (0.1,10) |
Oh, nevermind. My bad. These two commands do give the same result. But if you use viz.MainWindow.getSize(viz.WINDOW_PIXELS) before calling viz.go() you (obviously now) don't get the correct numbers. I'm actually glad I had two screens, and two different resolutions, or I might never have noticed that silly mistake.
|
Yes, there are very few commands that are valid prior to viz.go. Thanks for posting your answer.
|
All times are GMT -7. The time now is 04:12 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC