Page 1 of 1
Camera Projection Breaks When Parent Object Rotates
Posted: Wed Oct 11, 2017 3:07 am
by daabomb101
I've been trying to retexture this airplane by using a camera projection setup, and everything worked great until I attempted to animate the parent object. The relationship between the camera and plane hasn't changed, so why does the projection setup break?
See stills. Thanks!
Re: Camera Projection Breaks When Parent Object Rotates
Posted: Wed Oct 11, 2017 7:30 am
by aoktar
Camera mapping is a simulation in plugin not a direct Octane core feature. Are you using camera mapping from texture tag?
Re: Camera Projection Breaks When Parent Object Rotates
Posted: Wed Oct 11, 2017 12:22 pm
by daabomb101
Here's my setup if you want to take a look:
https://www.dropbox.com/sh/otx86knhyd0d ... ufiea?dl=0
I'm trying to figure out if it's possible to use the baking camera to export a diffuse map (I'm not good with managing UVs, so it's a challenge). Does the baking camera integrate the projections I've done? If not, I'll probably have to rebuild in C4D's standard camera projection setup and then use that to bake out a diffuse map to bring back into Octane. Thanks Ahmet!
Re: Camera Projection Breaks When Parent Object Rotates
Posted: Wed Oct 11, 2017 1:37 pm
by aoktar
As i can see that's not about rotating objects. It's about having some parent to CAMERA. In this case, rotation calculation of camera matrix gone wrong. I've fixed right now.
As a workaround you can use camera without parent or use c4d's camera mapping from texture tag. But it has to be used without "selection".
Re: Camera Projection Breaks When Parent Object Rotates
Posted: Wed Oct 11, 2017 1:59 pm
by aoktar
Here's a sample scene with two methods. But it will work fine on fixed version.
Re: Camera Projection Breaks When Parent Object Rotates
Posted: Thu Oct 12, 2017 12:38 am
by daabomb101
Wow very cool Ahmet!
I see that if I make the projection camera a child of the rotating cube with the C4D texture tag, it works!
Still, it will be even more powerful when I can do that in Octane natively so that I can mix between material types and use Octane's built in shaders. When will that new version with the fix be released? Thanks man!
Re: Camera Projection Breaks When Parent Object Rotates
Posted: Fri Oct 13, 2017 3:27 pm
by daabomb101
Hey Ahmet, I solved my issue as you said by making sure the projection cam wasn't a child of an object, and did so by using a constraint tag set to PSR, so that it could follow the motion of the camera that's a child of the plane, so that worked great, thanks!
My last issue has to do with motion blur on projections. The projection blurs inappropriately, even with the object tag on the plane set to transform mode. Take a look here -- there should be numbers visible on the side of the plane, but the texture gets blurred horizontally:
https://www.dropbox.com/s/smtnxubtb13x7 ... 1.mov?dl=0
Re: Camera Projection Breaks When Parent Object Rotates
Posted: Fri Oct 13, 2017 4:04 pm
by aoktar
daabomb101 wrote:Hey Ahmet, I solved my issue as you said by making sure the projection cam wasn't a child of an object, and did so by using a constraint tag set to PSR, so that it could follow the motion of the camera that's a child of the plane, so that worked great, thanks!
My last issue has to do with motion blur on projections. The projection blurs inappropriately, even with the object tag on the plane set to transform mode. Take a look here -- there should be numbers visible on the side of the plane, but the texture gets blurred horizontally:
https://www.dropbox.com/s/smtnxubtb13x7 ... 1.mov?dl=0
We don't support by c4d plugin the internal mblur effect on texture animations. It maybe about it.