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!
Octane transfer camera projections
Moderators: ChrisHekman, aoktar
It's supporting camera mapping from texture tags. Check that!
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
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
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
- Attachments
-
- ProjectionMappingTest.zip
- (283.97 KiB) Downloaded 98 times
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
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
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
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
You have to use ImageTexture, you can check help manual for answers! For deeper support please wait answer from team or send e-mail.
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw