Page 1 of 1

Help Mapping OSL Camera Output

Posted: Sun Jan 02, 2022 7:55 pm
by abwilson2020
Hello,
I have a cube and I need the output mapped so that when I render it out the camera stretches the faces of the cube so they would look right when reprojected back onto the cube. I have two screenshots attached of how the cube looks as a test with 3 colors and then what I want the output to look like. When I use the camera for real I will have an animation happening within the cube's volume. I hope I am explaining this ok. Is this something that could be done with an osl camera?

If you have any questions please ask.

Thank you in advance!
test.png
^^ Normal camera view of cube
sample output.jpg
sample output.jpg (13.64 KiB) Viewed 678 times
^^ Desired rendered output of cube

I cannot just place a camera above and aimed at the sides of the cube and then render that view because the perspective would be wrong when viewed from the front as in the original camera view.

Re: Help Mapping OSL Camera Output

Posted: Mon Jan 03, 2022 1:32 am
by abwilson2020
Nevermind, I figured out what the issue was and it is working now.