POV-Ray : Newsgroups : povray.binaries.images : Playing with the mesh camera : Re: Playing with the mesh camera Server Time
24 Apr 2024 22:00:06 EDT (-0400)
  Re: Playing with the mesh camera  
From: Kenneth
Date: 20 May 2023 09:25:00
Message: <web.6468c958df2a87159b4924336e066e29@news.povray.org>
Josh English <Jos### [at] joshuarenglishcom> wrote:
>
> Oddly enough, you can give the [camera] mesh a pigment:
>
> camera {
>    mesh_camera { 2 0
>      mesh { spherical_mesh pigment { blue 1 transmit 0.1 }
>        transform { Position_on_Camera(Camera_Location, Camera_Look_At,
> Camera_Sky) }
>      }
>      mesh { perspective_mesh pigment { red 1 transmit 0.1 }
>
>      }
>    }
>
> and the thing renders without color. I would expect this to raise a
> parsing error but it just ignores it. It's a shame, because this could
> really help with these sorts of effects.

Yep. In my own tests, I tried the same coloring attempt in meshcam_macros.inc,
at the end of the  #macro meshcam_pinhole(...) mesh-generator code.
But no result :-(  (I even tried adding an interior_texture, AND an
inside_vector). It was all ignored. I guess the mesh-as-CAMERA in the source
code is a different animal than a mesh OBJECT.


Post a reply to this message

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