Hi everyone,

I’m beginner in maya API.
I would like to control the rendering block in maya
And create Physically based rendering for global illumination.
Algorithmically I knew what to do but I don’t knew how to control it.
All the tutorials I found don’t explain about
The rendering and it seem there is default option in maya of the rendering.
I want to learn the basic thing of this rendering.

Could someone explain me with some short tutorial or code how by given scene: 
objects, light sources and camera(pos,lookAt,camUp,fov,etc), find the 
intersection
And return me the value according to the rendering equation:
 cos(alpha) /r^2
Where alpha is the the angle between the light source ray to the intersected 
point and the normal of the intersected point of the object, and r is the 
distance between the light source (let’s assume this time point source) and the 
intersected point.
 save it in array and display it as a picture.
(There is also the bsdf but for now it’s not necessary)

I’m beginner so if it’s not too much, a step by step would help me very much 
even for trivial steps in programming in maya API.

I’ll create the objects and sources manually in maya and then I want to run my 
program.

Note:
Don’t give me built in rendering functions, I would like to do it myself even 
if global illumination exist. There is additional extension I’ll do and this is 
just a request for the basic.


-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/b66d1ba7-efc9-4ca8-994f-561dcf3d4880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to