You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Really there are two problems here. The first is the near and far plane are set arbitrarily to 0.1 and 10 times the framed height, respectively, which is not enough in all cases. More importantly, zooming the camera moves it physically closer to the center of model, and thus sometimes inside of the model, which can't be fixed by the near plane. I would propose solving this by zooming in by narrowing the FOV and keeping the camera at the ideal radius.
The first is the near and far plane are set arbitrarily to 0.1 and 10 times the framed height, respectively, which is not enough in all cases.
Just some background: this actually isn't arbitrary. We probably should have left a comment (at the time the assets we were testing could not be mentioned in public). We arrived at these ratios after a lot of empirical observation related to depth precision. We had problematic assets we were testing from NASA and were getting the best results from this range. It might actually be worth us testing the behavior against some of those assets since we are no longer scaling the object as of #526 (I wouldn't be surprised to learn that this has an effect on what we were seeing).
Activity
cdata commentedon May 9, 2019
Just some background: this actually isn't arbitrary. We probably should have left a comment (at the time the assets we were testing could not be mentioned in public). We arrived at these ratios after a lot of empirical observation related to depth precision. We had problematic assets we were testing from NASA and were getting the best results from this range. It might actually be worth us testing the behavior against some of those assets since we are no longer scaling the object as of #526 (I wouldn't be surprised to learn that this has an effect on what we were seeing).
cdata commentedon May 9, 2019
Going to flag this as a bug and related to #232
elalish commentedon May 13, 2019
Can you point me to the troublesome models? As I start to mess with this, I'd like to make sure they still work.
cdata commentedon May 13, 2019
I will send one to you offline. It's 30MB and can't be attached to this thread unfortunately.
pushmatrix commentedon Jun 6, 2019
Hmm we seem to run into this with a few of our models as well. Especially the ones where there are hanging parts not near the center of the object
elalish commentedon Jun 7, 2019
@cdata I think this is important for 1.0.