dimanche 5 février 2017

Pattern for correctly displaying planets

I have 3D scene, with bay I can walk in first person, and planet seen from the window, taking all view. How should I draw planet, so it will display correctly?

My bay dimensions are 10x10x7. And I run into three options, all with drawbacks:

  1. Just hang radius=8 planet near the window. Well, it is perceived like hung out cheese, when I look at the window and press forward or backpedal, I see it scaling. Worst

  2. Make two scenes and two cameras, one for bay, second for planet. Looks best, but only if I do not turn. If I turn, it is clearly visible that planet is just a skybox background

  3. Natural way. Place planet in a thousands units away, with thousands units radius. Just can't make my so called "engine" to get this working. Clipping planes and depth buffer problems are just top of the iceberg. Should I?

Aucun commentaire:

Enregistrer un commentaire