PDA

View Full Version : Sky, Missing Parts


javadi
07-06-2014, 07:01 AM
Hello all

I create sky using the following lines


env = viz.addEnvironmentMap('sky.jpg')
sky = viz.addCustomNode('skydome.dlc')
sky.texture(env)


The problem is in some angles the sky is not covering the horizon. Here I have attached three screen shots showing the situation. When you go forward it covers more. It is like this for only some angles. When you turn back it covers the whole horizon. Would you please let me know how to solve it? Thanks.

Greetings
Amir

Jeff
07-07-2014, 03:31 PM
It may be an issue with clipping. Try increasing the far clipping distance:

viz.MainWindow.clip(0.5, 2000)

javadi
07-07-2014, 03:57 PM
Great. Thanks. It works. :-)