Jump to content

Rendering Pyro


Recommended Posts

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.

 

Capture.PNG

Capture1.PNG

Capture2.PNG

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...