Help - Search - Members - Calendar
Full Version: Solid Stripe material
Hash, Inc. Forums > Technical Direction and Development (Learning Animation:Master) > A:M Rendering, Compositing and Special Effects > Materials Laboratory > Texturing
robcat2075
This is quite simple really but I hadn't figured it out until now.

this is a red-->yellow and green-->blue gradient within another gradient. I picked garish colors to make the testing easier but you can change the attribute nodes to anything else.

The start and end for each gradient is quite close to make a sudden transition from one color to the next.

The material assumes 15cm from bottom to top of the pattern but once you apply the material to your model you can translate, rotate and scale it to fit any other size or direction.

Click to view attachment


Click to view attachmentClick to view attachment





Update: Here's an ultra nested mat that does seven colors for the full ROY G BIV spectrum

Click to view attachment

Now I can finally make that gay teapot that has eluded me for all these many years.

Click to view attachment


Here's an example of scaling it onto a larger character by varying the scale Y property once the material is on the model. If you use a Shift-Q render-lock box you can watch the material change as you change the property.

Click to view attachment

steve392
Thank's Rob that looks prety usefull,like the teapot btw
jimd
yes thank you
pixelplucker
Thanks!
robcat2075
Seven-stripe version added at top post.
jason1025
Thanks!
jason1025
QUOTE(jason1025 @ Sep 17 2009, 11:27 PM) *
Thanks!




Hi Robert

Any chance you could modify your rainbow material to be more evenly distributed for a character 6' tall? I cant seem to make heads or tails of how to easily adjust materials and get an intentional result. Currently your material just puts stripes on the feet.
BrainLock
QUOTE(robcat2075 @ Sep 10 2009, 10:20 PM) *
Now I can finally make that gay teapot that has eluded me for all these many years.


I'm not sure that the God-fearing folks in Utah would appreciate the effort. wink.gif
robcat2075
QUOTE(jason1025 @ Nov 4 2009, 06:30 PM) *
QUOTE(jason1025 @ Sep 17 2009, 11:27 PM) *
Thanks!




Hi Robert

Any chance you could modify your rainbow material to be more evenly distributed for a character 6' tall? I cant seem to make heads or tails of how to easily adjust materials and get an intentional result. Currently your material just puts stripes on the feet.


After you drop the material on a model you can alter the scale properties to stretch it along one axis and alter the translate property to move it up or down.

It's best to alter those in shortcut to the material that is in the model rather than in the material itself although either will get a result.


Edit: I've added a screencap at the top
jason1025
Thanks that helped. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.