POV-Ray : Newsgroups : povray.newusers : 'Photon object' : Re: 'Photon object' Server Time
13 Jul 2025 05:24:17 EDT (-0400)
  Re: 'Photon object'  
From: Bald Eagle
Date: 25 Sep 2018 12:20:01
Message: <web.5baa5f52956f7e77c437ac910@news.povray.org>
Hi Albun,

I'm not quite sure what you want to do, but take a look at these and see if
they're related.


http://wiki.povray.org/content/Reference:Photons

http://portal.groupkos.com/index.php?title=POVRay_scene_Optics.pov

http://cronodon.com/PovRay/Lasers.html

http://www.f-lohmueller.de/pov_tut/interior/interior_40e.htm



"Albun" <nomail@nomail> wrote:

> The scene :
> / light_source
> /lens
> / plan with the result of the light projection, in color gradient = 'photon
> object'.


So, I'm guessing that what you want to do is create a spectrum of colored light
coming out of a lens, and somehow use the intensities of the various wavelengths
to create a 3D "graph" of how much light falls on the target.

Thus, the heightfield.

IIRC, this sort of thing has been discussed before, and you may want to simply
write a function that will simulate the diffraction of white light into the
visible spectrum, and go from there.

Maybe if you clarify your goal, some folks here can suggest a good method to get
there.



> Which method is really possible?
>
> ***********************************************************
> 1) With the trace () function the position of the color points, on the plane,
> are defined in vector <x, y, z>
> All positions can be connected / assembled by writing an export file.
> *http://www.povray.org/documentation/view/3.6.1/125/
> *pov2Mesh and meshLab
>
> 2) Another method, from hf_map, in gray scale, allows to obtain a hf_object
> exportable in data.
> *HF_Square(Function, UseUVheight, UseUVtexture, Res, Smooth, FileName, MnExt,
> MxExt).
> But with csg cut on hf_object, is hf_square cut data too?
>
> 3) About setting photon and save_file, do the data targeted on a plan object
> allow to be used as an object?


Post a reply to this message

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