chao.zhang Posted October 11, 2012 Posted October 11, 2012 Hello, everyone. I have got the same question as yuwen.xiang. I draw a sphere and when I set the camera far clipping bigger, when it exceed some extent(in my test the value is 3355444), the rendered sphere disapeared and became invisiable in editor window but can still be seen in view object window. so what goes wrong? please help. fig1: the sphere displays in editor window fig2: when set the camera far clipping bigger, sphere disapear fig3: the sphere can be seen in view object window
ulf.schroeter Posted October 11, 2012 Posted October 11, 2012 Your far clippinmg value is by far to high causing depth precision artifacts (more than 3300 [km] if your basic model unit is 1 [m] ). Limit your far clipping distance to the smallest possible value (I think 10000 [m] is the default).
chao.zhang Posted October 11, 2012 Author Posted October 11, 2012 thanks for your suggestions, ulf.schroeter . But my application also need to render a earth model with the actual size. The earth radius is about 6,400,000meters. so the camera far clipping value need to support any value such as infinity. is this supported in unigine?
frustum Posted October 11, 2012 Posted October 11, 2012 Increase the near clipping plane to keep the ratio between far and near clipping planes small.
chao.zhang Posted October 12, 2012 Author Posted October 12, 2012 Thanks, frustum , the problem is solved.
Recommended Posts