Page 1 of 1
Octane transfer camera projections
Posted: Wed Dec 15, 2021 11:31 pm
by Labrats
Hi all,
For a projection mapping job I need the following: I have 2 cameras, a cube and a plane in my scene. Cam 1 looks at the cube, cam 2 looks at the plane.
I need to be able to project what cam 1 sees, onto the plane.
In Native cinema 4d this is easily done with the mograph camera shader. That way you can use this on the luminance channel of a material, put that material on the plane, and drag in camera 1 in the slot. But it seems Octane does not support it (yet?). Can I do something similar with OSL camera's or another solution?
Kind regards!
Re: Octane transfer camera projections
Posted: Thu Dec 16, 2021 12:03 am
by aoktar
It's supporting camera mapping from texture tags. Check that!
Re: Octane transfer camera projections
Posted: Thu Dec 16, 2021 12:07 pm
by Labrats
Hi Aoktar,
Thank you for your answer! However, camera mapping from texture tags is not exactly what I'm looking for.
Attached is a project file of what I mean exactly. This is a very simplified file from a projection mapping rig that is made for preparing a live mapping show. As you will see, on the front of the mesh 'example building projected' you will have a projection of what you see trough Cam 1. This is because of the camera shader in the material "Ex Building 2 Mat" wich is on that mesh.
This kind of setup is very handy to make a decent preparation for a live show. So basicly what I'm looking for is a way to get the camera view of cam 1 as a shader into an octane material.
Don't know if this is possible nor if it's worth to spend time on integrating something like this, since a camera shader is not really usefull after all.. only maybe for this kind of situations. But maybe Octane has a similar technisue that I didn't know of?
Thank you in advance!
Kind regards,
John
Re: Octane transfer camera projections
Posted: Thu Dec 16, 2021 12:20 pm
by aoktar
If I understand well your topic, you need to use Octane's projection node perspective projection. And assing any camera or object to link box. Then it will transfer the matrix
Re: Octane transfer camera projections
Posted: Thu Dec 16, 2021 12:42 pm
by Labrats
Thank you again for your time Aoktar.
So if I drop (for example) an octane diffuse material on my second Building (the "example building projected"), where do I setup this projection node? Normally I would only use projection nodes on a image texture node, is that correct?
So I don't really get it how approach this to kind off duplicate the technique in my example file with the perspective projection node? I probably seeing things wrongly, could you help me out here?
Kind regards,
John
Re: Octane transfer camera projections
Posted: Thu Dec 16, 2021 1:41 pm
by aoktar
You have to use ImageTexture, you can check help manual for answers! For deeper support please wait answer from team or send e-mail.