Re: How to preserve objects size when moving camera

Pato Sandana <[email protected]>
Newsgroups gmane.comp.lib.vtk.user
Message-ID <4A2A9A281AE5D54CA205FB13069FD874019181F31B@us01wembx1.internal.synopsys.com>
Hi Andrey,

What I would do in your case, is to have two renderers and two cameras. One renderer with a fixed camera with all your circles and polygons you want to preserve in your screen and another to deal with the 3D world objects. You can attach more than one renderer to the Render Window.

Cheers,
Pato

Message: 1
Date: Fri, 14 Dec 2018 20:07:33 +0300
From: Andrey Ivanov <[email protected]>
To: David E DeMarle <[email protected]>
Cc: [email protected]
Subject: Re: [vtkusers] How to preserve objects size when moving
	camera
Message-ID:
	<CALsLM6fQS52h2UYXzqO0L4RDFdezY3EELTCJfOXZ_cze_7VtUQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I forgot to mention that I am already working with orthogonal projection.
The problem is not with preserving shapes and avoiding perspective deformations. I would like to fix screen size of objects, so when I increase height and width of camera frustum they will occupy the same number of pixels.

Best regards,
Andrey Ivanov

_______________________________________________
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:
https://public.kitware.com/mailman/listinfo/vtkusers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.