Rendering Normal Pass For PyroFX

   5975   7   1
User Avatar
Member
19 posts
Joined: Sept. 2015
Offline
Heya Folks,

I'm currently doing some RnD and I'm a bit stumped on how to make a proper normal map for an explosion. I looked up methods like RGB lights but it seems kinda complex. I included the work file that might be useful for anyone who's at a roadblock like myself S Thanks.

Division size is 0.03 so I'd increase a bit for testing purposes.

Cheers,
JEBUS

Attachments:
ExplosionTest.hipnc (2.7 MB)

User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
You can compute N vector inside of VOP material manually , I made a simple example about this for you.

Check attached project :wink:

Attachments:
JK_explosiontest.hipnc (1.1 MB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Also I suggest you to check this page too :


http://forums.odforce.net/topic/14661-normal-passes-on-volume-renders/ [forums.odforce.net]
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
19 posts
Joined: Sept. 2015
Offline
Heya Joker386,

Thanks for the workfile! I see how it's working now. I just have a quick question, is there a way to diffuse/smooth the normal pass? I tried playing with the mantra pixel samples to get a better resolution but it looks like it may be more related to a setting in the normal material? The image attached shows this issue. Thanks.

Cheers,
Jebus

Attachments:
smoke.jpg (339.2 KB)

User Avatar
Member
19 posts
Joined: Sept. 2015
Offline
Heya,

Also I forgot to ask if there is a way to render both the normal and diffuse to two different locations in one shot? Thanks again. Right now I'm rendering with two houdini files open and it's killing memory LOL

Cheers,
Jebus
User Avatar
Member
8546 posts
Joined: July 2007
Online
what do you plan to use ‘normal’ pass for?
there is no proper way how you can get normals for volume
as a very rough approximation density gradient can be fine, but if you want to use it for relighting, just use per-light exports and save yourself some headaches later
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
19 posts
Joined: Sept. 2015
Offline
Heya Tamte,

Thanks for the reply. Well, the idea is to build a pipeling for Unreal. We render an explosion and export the Diffuse and Normals. The Normals has always been a tricky one to nail but in programs like 3dsmax or Maya we built an RGB light rig that's aligned to the Camera view (like a billboard). So yeah it's a total cheat, but it seemed to work. I read about something like this in Houdini a while ago but it seems incredibly complicated to setup S.

The file from Joker works really well too, and gives me some great ideas.

Cheers,
Jebus
User Avatar
Member
1 posts
Joined: July 2021
Offline
Hello,
How i can remder volumes normal pass and RGB pass in Single EXT render.
  • Quick Links