ISL-Normals question

Come here for help & support.
Post Reply
4 posts • Page 1 of 1
neepneep
Indigo 100
Posts: 413
Joined: Wed Jun 28, 2006 10:21 am

ISL-Normals question

Post by neepneep » Mon Nov 14, 2011 5:22 am

Is it possible to use ISL to colour faces depending on their normal?

If so, how ? :mrgreen:

User avatar
OnoSendai
Developer
Posts: 6083
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: ISL-Normals question

Post by OnoSendai » Mon Nov 14, 2011 6:20 am

normalWS() returns the shading normal in world space :)

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: ISL-Normals question

Post by CTZn » Mon Nov 14, 2011 8:14 am

in other words you can blend materials depending on the shading normal relative to a world direction, not relative to the geometric normal itself.

Still that may be usefull for leaves, a field left to explore. Being able to determinate wether the shaded point is on the positive or negative side of the normal is an active request !
obsolete asset

neepneep
Indigo 100
Posts: 413
Joined: Wed Jun 28, 2006 10:21 am

Re: ISL-Normals question

Post by neepneep » Mon Nov 14, 2011 12:04 pm

That worked - well sort of - I just found I needed the render to be flat shaded as well showing just the different coloured normals. Instead I ended up breaking up the mesh manually according to the normals, assigned each one a new material and then used the 'material id' render mode in Blendigo. Worked perfect and mega fast! Can't show it though unfortunately :( :lol:

Post Reply
4 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest