[vtkusers] Rendering scales on the order of the solar-system

Ken Martin ken.martin at kitware.com
Tue Oct 31 12:14:33 EDT 2017


I believe VTK can handle this but there are pitfalls if you want to have
huge distances combined with small scale local details. Basically create
two renderers on top of each other render the large scale first in one then
the small scale second on the other with SetTransparent(1). If your large
scale data goes in front of your small scale then it gets trickier as you
would need to use the zbuffer from the large scale as a texture with a
modified shader in the small scale. The details of which would not be a
short email.

On Mon, Oct 30, 2017 at 1:33 PM, Mads Munch Hansen <madsmh at gmail.com> wrote:

> I have asked before about using VTK to render a solar-system
> simulation. I came across this answer
>
> https://stackoverflow.com/questions/28014922/is-it-possible-to-make-rea
> listic-n-body-solar-system-simulation-in-matter-of-siz
>
> The accepted answer talks about rendering multiple frustums and
> combining z-buffering and -sorting. Is this possible to do in VTK? and
> if so, how would one go about it?
>
> Regards, 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
>



-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171031/5249b4e9/attachment.html>


More information about the vtkusers mailing list