CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 04-14-2003, 04:26 AM   #1
FX & Lighting
phildog's Avatar
FX, writer, director, editor
sydney, Australia
Join Date: Apr 2003
Posts: 124
custom poly shading using normals

Hi All,

I wanted to make some custom poly shaders by using normals. similar to Olivier Renouard but for different usage.

what do i have to study to do this??

too broad of a question? how about this then...

to make some more use of the normals i have to create some extra functionality that isnt yet in the hypershade. (i think) but even if it is
it gets confusing when working with nodes like the closestPointOnSurface and vectors etc when i dont know what is going on behind the scenes.

so i suppose what i wanted was any tutes or help or web sites/ books etc on the inner workings on per normal or per vertex parsing to the
render engine.

one example is.. how does the render engine know which uv or vertex to render next? and is this important? if i could find this out via a class or plug-in etc then
it would be possible to render objects based on the average direction of the normals. (ie just like using curvature for nurbs) within a given range. say you select a bunch of normals at a time in the script.
then based on the difference of the selected normals magnitude or whatever (maybe using a range fall off) then apply of 3dimensional ramp
or make something similar to a facing ratio ie: within a normalised ranges to map
the colour. so if the normals are heaps far apart... say in the angle between them then use the top part of the ramp and if they are close together then
use the bottom part of the ramp. this would ofcourse be dependant on the sample range. say 50 faces at a time right up to 5000 at a time.

i hope u understand the question. i guess the main goal is that i can wrap my head around the internal workings then i could solve these problems
Old 01-14-2006, 10:00 PM   #2
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:02 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.