How can I stop lights position effecting Position Pass?

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
User avatar
Remo
Licensed Customer
Posts: 24
Joined: Fri Mar 27, 2015 4:51 pm
Location: Berlin, Germany
Contact:

Hey guys,

the Position Pass kind of confuses me. I just realized that even my lights positions effect my position pass.
So If I have a light really far away, the PosPass resolution (gradient) on my object decreases accordingly.....!
I even tried to put the lights on a separat renderlayer, but its still the same issue!

Is there a way to make the Position Pass kind of work independently for objects...or at least kind of exclude the lights from effecting it?

Best,
Remo
Attachments
pos000.JPG
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

I think first you have to know that Live Viewer is using tonemapped results. In this mode it has to normalize the color in a displayable range. So it's dividing the colors by bounding box which covers the all objects in scene. Bounding box means that a invisible range which contains the visible geometries in the scene. I hope this is clear! So you cannot obtain what you want in tonemapped buffers due this natural behaviour.
1) But correct usage is getting the output by Linear buffers. And in render settings that's linear by default. And you have to use a file format which can support the float colors. Because position data will be from negative to positive and bigger values than 1.0.
2) Alternatively you can hide light source geometry but it's not adviced to use tonemapped passes because as i said, colors will be normalised by bounding box and will not be constant for position if it's changing. Go with method 1.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Post Reply

Return to “Maxon Cinema 4D”