How to render very small and very large objects together?

I’m trying to do a simulation with Parker Solar Probe looking at the sun with a perspective view.

The problem is the sun is about 463,800,000x larger than Parker, and since there’s such a drastic difference in scale I’m having issues with the near/far plane and sizing of my models.

Can you give some suggestions on how I can handle this or fake it?

The magic concept is a logarithmic depth buffer:

See this: three.js docs

Example: three.js examples

1 Like

Thank you! I think that’ll do it. Clearly I’m new to these concepts :slightly_smiling_face: