Manta Interactive Ray Tracer Development Mailing List

Text archives Help


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


Chronological Thread 
  • From: Steven Parker <sparker@cs.utah.edu>
  • To: James Bigler <bigler@cs.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 19:37:50 -0600

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