garf Posted July 10, 2017 Share Posted July 10, 2017 I'm clearly being an idiot here. Can someone explain to me why if I render a pyro sim from two different cameras it looks totally different - even the alpha is different? One is wide and far the other is close up. One directional light, mantra. Is this a scattering issue within the shader? I'm using the stock pyro material but I've removed the flame colour bits and thrown in a heat>fit>ramp into the emitcolor instead. Quote Link to comment Share on other sites More sharing options...
Matt_K Posted July 10, 2017 Share Posted July 10, 2017 Hey Garf, If you have any scaling on your camera it can affect the look of the render. If it's not that, it's hard to say without knowing your setup. Matt. Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted July 10, 2017 Share Posted July 10, 2017 I recently ran into an issue with a camera parented to an object with scale set to something other than one. I used Python to drive the position of another camera without any scale applied to it and it worked perfectly. It seems the scale of the camera shouldn't affect things like this but it does. hou.node('/obj/Frame6_v1_4Sim_test/CameraMorph_Baked/CameraMorph_BakedShape').worldTransform().extractTranslates()[0] hou.node('/obj/Frame6_v1_4Sim_test/CameraMorph_Baked/CameraMorph_BakedShape').worldTransform().extractRotates()[0] There's an example for extracting X transformation and rotation. Just use [1] and [2] for Y and Z instead of X. These can be pasted on the parameter for each axis and then change the parameter script type to Python. Quote Link to comment Share on other sites More sharing options...
garf Posted July 12, 2017 Author Share Posted July 12, 2017 Thanks chaps, I'll take a look at this. I haven't had a chance to go any further with looking in to this problem but one difference is that one camera is alembic imported and the other is created natively. It's a non-issue at the moment as my shot cams will be alembic imported but I was curious. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.