Page 1 of 1

Camera Projection - Image Upside Down

Posted: Wed Aug 18, 2021 11:24 pm
by blastframe
Hello,
I am trying to get Camera Projection working in Octane. I have created a Cube and a camera for projection. I painted over the rendered image from the camera projection:
Paintover
Paintover
I've been following this tutorial.

To get the texture projecting properly in the tutorial, the steps are:
  1. Create an Image Texture Node
  2. Create a UV Transform Node
  3. Create a Texture Projection Node
  4. In the UV Transform Node, change the Scale X to 0.5 and then calculate Y with this formula: (0.5 * width) / height
  5. In the Texture Projection Node, change Texture Projection to 'Perspective'
  6. In the Texture Projection Node's Position, change to World Space
  7. In the Texture Projection Node's Perspective object link, add projection camera
I have followed these steps as can be seen in this screenshot:
Material
Material
For some reason, however, my textures are coming out misplaced and upside-down:
Render
Render
Here is my scene file.

I've been able to correct this particular example file by rotating the UVs in Z by 180 degrees, but that doesn't always work on my other files with the same setup.

Can anyone please tell me what is going wrong? Thank you!

Re: Camera Projection - Image Upside Down

Posted: Thu Aug 19, 2021 7:21 am
by bepeg4d
Hi,
please try these steps:

- set the UV Transform X scale to -1, and the y scale to -1*weight/height
- use the Projection Z scale to zoom in and zoom out
9538D490-516D-4F54-94EA-9457C5F21F97.jpeg
The Camera Projection position should be orthogonal to the cube, now it is not.

ciao Beppe

Re: Camera Projection - Image Upside Down

Posted: Thu Aug 19, 2021 9:51 pm
by blastframe
bepeg4d wrote:Hi,
please try these steps:

- set the UV Transform X scale to -1, and the y scale to -1*weight/height
- use the Projection Z scale to zoom in and zoom out
9538D490-516D-4F54-94EA-9457C5F21F97.jpeg
The Camera Projection position should be orthogonal to the cube, now it is not.

ciao Beppe
Hi Beppe,
Thank you for the reply. I'm sorry, but this isn't what I was hoping for:
  • This method seems really inaccurate. How can I get the right values every time? I don't want to be guessing with a scale factor that goes to the millionth's place decimal.
  • As with Cinema 4D's camera mapping, I should be able to project an image that isn't orthogonal to to the cube.