render normal maps from geometry

Forums: render normal maps from geometry
Post, discuss and share handy resources like textures, models and HDRI maps in this forum.
Forum rules
Please do not post any material that is copyrighted or restricted from public use in any way. OTOY NZ LTD and it's forum members are not liable for any copyright infringements on material in this forum. Please contact us if this is the case and we will remove the material in question.

render normal maps from geometry

Postby v-cube » Wed Nov 11, 2015 8:59 am

v-cube Wed Nov 11, 2015 8:59 am
Hello,

I was wondering, if there is an quick method to derive normal maps from geometry using octanes render channels. I tried vertex normal, geometry normal and shading normal but the result does not look like i would expect it ( more like a greenish picture in contrast to the more blueish regular normal maps I use)

can anyone give me a hand?

thanks!

Andreas
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
User avatar
v-cube
Licensed Customer
Licensed Customer
 
Posts: 485
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany

Re: render normal maps from geometry

Postby bepeg4d » Wed Nov 11, 2015 4:07 pm

bepeg4d Wed Nov 11, 2015 4:07 pm
Hi,
I have used this technique with z-pass for displacement, but you can do the same for normal map. You need a plane in the Z axis and a camera facing it, that's it :)
Here is an example in c4d and Standalone:
Screen Shot 2015-11-11 at 12.46.40.png
c4dOctane

Screen Shot 2015-11-11 at 16.56.51.png
Standalone

NormalGen.orbx.zip
orbx
(2.04 MiB) Downloaded 309 times

and here is the resulting texture applied in the normal pin of a metal material:
Screen Shot 2015-11-11 at 17.05.50.png
normal applied

NormalGen_01.jpg
the generated normal texture

ciao beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9953
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: render normal maps from geometry

Postby v-cube » Thu Nov 12, 2015 9:32 am

v-cube Thu Nov 12, 2015 9:32 am
Hello beppe,

thank you for your detailed answer!

I suspected that this should be possible and now I was able to identify why it was not working:

by the way, I use the Rhino plugin version, I always assumed that the geometry was supposed to be viewed/rendered from top (z-direction), however this does not seem to be the case, at least in rhino.
When rendering from top, surfaces which have an angle of 90 degrees towards the camera normal are rendered green not blue/cyan. After rotating the geometry by 90 degrees and rendering from the front view instead of the top view I got the expected result.

normal map.JPG


I will post this in the Rhino group...

best

Andreas
Architectural Rendering Services
1 x 4090 GTX, 1 x 3090 GTX
http://www.v-cube.de
User avatar
v-cube
Licensed Customer
Licensed Customer
 
Posts: 485
Joined: Fri Jul 22, 2011 11:02 am
Location: Aachen, Germany

Re: render normal maps from geometry

Postby bepeg4d » Thu Nov 12, 2015 9:51 am

bepeg4d Thu Nov 12, 2015 9:51 am
Yes correct, it depends because any app has its own axis system, for example, in c4d the Z axis is in the opposite direction compared to standalone, I forgot to mention, sorry.
ciao beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9953
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: render normal maps from geometry

Postby Bendbox » Thu Nov 12, 2015 1:29 pm

Bendbox Thu Nov 12, 2015 1:29 pm
This is great to know, thanks!
Win10x64 / AMD Ryzen 9 5900X / 64g RAM / 2 x RTX 3090
User avatar
Bendbox
Licensed Customer
Licensed Customer
 
Posts: 478
Joined: Wed Aug 21, 2013 1:38 pm

Return to Resources and Sharing


Who is online

Users browsing this forum: No registered users and 17 guests

Thu Apr 18, 2024 12:31 pm [ UTC ]