Does the automatic clipping plane calculation work?
Hello,
Does this command work? Code:
window.clip(viz.AUTO_COMPUTE) Greetings, Joran. |
Yes, it works. The problem is that when automatic clip plane computation is enabled, the window will return static values for near/far, since the actual clip planes values are not known until culling is performed.
|
Hello,
I would already be happy to know the values of the previous render step. But the other thing is that I don't see it working. In my application I still see the z-fighting when automatic clip calculation is turned on, while it disappears if I calculate the clipping planes manually. But maybe I have some object in my scene that is way of the rest of the model that influences the automatic clipping plane calculation. I will investigate further. Greetings, Joran. |
Hello,
I have made a sample script that shows the problem (And I think I may have found a bug). Code:
import viz What do you think? Have I found something? I am still using Vizard 3.12.0004 and not 3.14.0004. And it looks like that the automatic computing of the clipping planes is on by default. Greetings, Joran. |
Thanks for the sample script. This looks like a bug in the OSG library. I have back ported a fix from the current version of OSG to our version and it seems to resolve the issue. I will email you the modified file so you don't have to wait for the next release.
|
All times are GMT -7. The time now is 09:45 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC