On Aug 29, 4:27 pm, Olivier3...@[EMAIL PROTECTED]
wrote:
> On Aug 29, 4:48 am, roby.brune...@[EMAIL PROTECTED]
wrote:
>
> > Anyone having a rib example showing how I can simulate the image I
> > would obtain on film by tracing through a real lens system (may be
> > starting
frmhttp://www.fundza.com/rman_shaders/ray/basic_ray_tracing/basic2.html?
>
> > What kind of shader should I be looking for (or write)?
>
> Do you mean tracing the entire frame through a simulated lens? Or only
> adding a lens inside a scene like that page does?
>
> For the later there's pretty much everything you need on the page so I
> imagine it's the former. In that case, just how "real" do you want
> your lens to be? Renderers already approximate the most significant
> features of lenses (ie. focal length, aperture size and in some cases
> aperture "shape"). Do you want to add distortions? Flare? Chromatic
> aberrations? Lack of sharpness? Star shaped highlights? Something
> else? Each of these can be simulated pretty easily but ray tracing is
> not the best way to do it. Post processing the 2D image is far easier
> and faster.
>
> Olivier
It is the former. I would like to re-create some lenses setup (such as
a telecentric one) to create synthetic images for computer vision
experiments.
It could also be used to generate 'artificial eyes' even if in this
case I guess thigs would be more difficult: the film could be a sphere
patch like the retina. Speed would not be a critical point
(well, within reasonable limits) .,..


|