September 21, 2011
at 7:04 pm /
#4655
Hi All,
Can someone explain to me how the "position" coordinates work in POVRay ???
Typically I see them defined by three numbers <0,0,0>…
While I have tried to play with the numbers I still haven’t been able to ascertain what each parameter defines…
Thanks,
Scott
September 21, 2011
at 8:01 pm /
#26083
Hi Scott,
I don’t know much about Povray.
But I sometimes alter the light position, to get nicer shadows in my renders.
I think they are just x,y and z positions of the light source, just like in 3DCrafter.
Regards
Gerrit
September 22, 2011
at 6:28 pm /
#26084
Hi Gerrit,
As always – thanks for taking the time to reply… I’ve been playing around with this a bit and I still haven’t got a good grip how these coordinates actually work… I’ve simplified my POVRay script to only have one light source… Do you think this source is always focused on the central point of the model and we are just moving the origination point of the light ??? What controls intensity ??? I believe we can position lights in 3DC and the lights are then exported to POVRay with the rest of the model… I’ll keep playing with it…
<!– s:) –><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="
" title="Smile" /><!– s:) –>
[code:w9w8t7eu]light_source {
<135,135,135> // light’s position
color rgb 1.3 // light’s color
photons { // photon block for a light source
refraction on
reflection on
}
}[/code:w9w8t7eu]
[img:w9w8t7eu]http://img.photobucket.com/albums/v304/scottb613/LHR%20Consolidation/Cons50S.png[/img:w9w8t7eu]
[img:w9w8t7eu]http://img.photobucket.com/albums/v304/scottb613/LHR%20Consolidation/Cons50P.png[/img:w9w8t7eu]
Regards,
Scott