[vtkusers] Planet sized objects and distances on the scale of the Solar System

Dan Lipsa dan.lipsa at kitware.com
Mon Aug 14 11:26:15 EDT 2017


I would look at the the difference between sun diameter and the planets (if
you show the sun on the screen a planet would be smaller than a pixel).
Also, the distance between planets might be so big that if you want to show
that on the screen, planets would be too small to be seen. I have not look
at the actual distances, but this might be some of what you are seeing.

I would start with smaller ratios between sun vs planets and distances
between planets versus planet diameters. After everyting works as expected,
you can move toward the real distances.

On Fri, Aug 11, 2017 at 9:57 AM, Mads M. Hansen <madsmh at gmail.com> wrote:

> Hi list,
>
> I am currently writing what I hope is to be a realistic simulation of the
> Solar System in C++ and to visualize it in 3D with VTK. However when I try
> to render the objects (which er spheres) I get either a black screen or
> when I scale the distances/radii a bit the object shown, until I click with
> the mouse and then it disappears.  You can see the code attached.
>
> Do you have any suggestions on how to solve this issue?
>
> Thanks,
> Mads.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170814/9474bb6f/attachment.html>


More information about the vtkusers mailing list