Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] How to change camera from make_scene(...)??


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • Cc: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: Re: [MANTA] How to change camera from make_scene(...)??
  • Date: Tue, 31 May 2005 18:57:12 -0700

So I would set a bookmark for the camera at the position I want it to be?

Is there any safety related reason I shouldn't be able to access the camera in the make_scene? Perhaps there is a way to do this?

I just want to specify the initial camera position so the model is in the view (this will make benchmarks easier...)

Abe

Steven Parker wrote:

My plan was to make bookmarks for cameras. A scene could set several bookmarks, and perhaps it would default to the first one. It will take a little thought to determine how to make the bookmarks compatible with all of the fancy camera types.

Steve


On May 31, 2005, at 7:35 PM, James Bigler wrote:

There needs to be a default camera or at least a default eye point and lookat point. The problem with rtrt is that the cameras used for rendering were stored in the scene where they shouldn't have been.

I'll take a look tomorrow.

James

Andrew Kensler wrote:

I'm not sure about make_scene(). But for the moment you can pass in the initial position and parameters from the command line:
./manta -camera "pinhole(-eye 20 20 20 -lookat 0 0 0 -up 0 0 1 -fov 90)"
-Andrew
On Tue, 31 May 2005, Abe Stephens wrote:

How do I change the camera from the make_scene(....) function for my scene.

I want to move it so that the entire bounding box of the model is visible by
default. It looks like the camera is created in main(...) and is a member of
RTRT...?


--Thanks
Abe








Archive powered by MHonArc 2.6.16.

Top of page