Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 14-06-2003 , 06:21 AM
Darkware's Avatar
Subscriber
Join Date: Oct 2002
Location: USA
Posts: 1,172

Unusual Hypershade Nodes

Well, I'm finally getting into creating my own complex shaders, but I'm running into trouble real quick. Some nodes can't be created in hypershade by just going to the Create list and selecting them. If you've ever downloaded shaders and graphed them out, you've seen things like "time" nodes, "translateX" nodes, and nodes with X='s on them. All of these are actually attributes found in the attribute editor for objects.

Amazingly, I figured out how they make some of them. If you want something like a locator node to appear in hypershade, you simply select it, then choose (in hypershade) Graph>Add Selected to Graph and poof your locator node appears. I had no idea shape nodes and the like could be used for shaders until now, so I am really interested in it all.

The question is not "how do you get certain nodes into hypershade," but "where can you find nodes like "time," translateX/Y/Z, etc.?" I have tried displaying certain nodes in the hypergraph, but can't seem to find a way to do that in order to select them. I have tried selecting attributes in the channel box like translateX, then choosing "add selection to graph" but that does not work either. I have a few shaders with these nodes if you're completely lost as to what I'm talking about. Any ideas?

# 2 14-06-2003 , 11:35 PM
BabyDuck's Avatar
Subscriber
Join Date: Nov 2002
Location: USA
Posts: 1,170
yes - you could create a connection from your shading node to a attribute you want to appear in hypershade. and then select the shading node, and say graph->input and output connections.

if you must have the darn time in your shading network, just open up the connection editor, hypershade and outliner at the same time. select you shader and in connection editor reload right or left (the -> to) part. now go to outliner, disable "show dag objects only" - click on time1 and back to connectio editor, and load the from side. now you can connect outime to the something in the shader. now select shader again - and graph input and output connections. you not only have time1 in hypergrapgh, you also got between shader and time1 a "timeToUnitConversion1" - real interesting. i would never have known how to create such a node - but it is in hypershade to play around now user added image

hope that helps

# 3 14-06-2003 , 11:36 PM
BabyDuck's Avatar
Subscriber
Join Date: Nov 2002
Location: USA
Posts: 1,170
oops, everywhere i said hypergraph i meant hypershade user added image

# 4 14-06-2003 , 11:41 PM
BabyDuck's Avatar
Subscriber
Join Date: Nov 2002
Location: USA
Posts: 1,170
hope my answer was of use, as you did not want to know how to get things into hypershade - but getting the time in is the same as add selection to graph user added image

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads