POV-Ray : Newsgroups : povray.newusers : Multiple camera : Re: Multiple camera Server Time
5 Nov 2024 03:20:26 EST (-0500)
  Re: Multiple camera  
From: Josh English
Date: 30 Oct 2000 11:17:40
Message: <39FD9F23.689BE07C@spiritone.com>
This could work. If you use MegaPov you can also render it as an animation with a
#switch statement, using the frame_number as the parameter, so each frame would give
you a separate tga file to work with.

As for adding the "name" option, the development team is looking at ways to add onto
the language, and I would like to see something a bit closer to object oriented
language come in so I could set something to be at "cam1.lookat" or in the camera
statement have "look_at MySphere.center".

Josh

Simon Lemieux wrote:

> > No, there is not. However, you can render multiple frames with the
> > different cameras and then average the resulting images. I know it
> > works as I've done it, maybe you can even find the POV file that I
> > used to make these tricks somewhere in the povray.*.scene-files
> > groups.
>
> That is exaclty what I thougth...  but then I realized that One povray file
> should only contain One camera... and thought, if it contained more cameras, the
> renderer could render each one separatly, and creating a file
> name_of_project-camera_name.number_of_frame.file_format ->
> test.Cam1.001.tga
> test.Cam2.001.tga
> test.Cam1.002.tga
> test.Cam2.002.tga
> and so on...
>
> the camera parameter could have at least one other parameter, name, and it could
> even have another parameter for integrated accumulation, accum.
> like this:
> camera {
>         name "Cam1"
>         location <-1,0,0>
>         look_at <0,0,10>
>         accum 0.5  //  1.0 should be 100% opaque, while 0% should be 100%
> transparent...
> }
> camera {
>         name "Cam2"
>         location <1,0,0>
>         look_at <0,0,10>
>         accum 0.5
> }
>
> This setting should produce the same focus as eyes actually do plus the distance
> focus, implementing these camera in a robot should give it the distance between
> it and the looked_at object...
>
> Does this sound interesting?
>
> --
> +-------------------------+----------------------------------+
> | Simon Lemieux           | Website : http://www.666Mhz.net  |
> | Email : Sin### [at] 666Mhznet | POV-Ray, OpenGL, C++ and more... |
> +-------------------------+----------------------------------+

--
Josh English -- Lexiphanic Lethomaniac
eng### [at] spiritonecom
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.