sprockets The Snowman is coming! Realistic head model by Dan Skelton Vintage character and mo-cap animation by Joe Williamsen Character animation exercise by Steve Shelton an Animated Puppet Parody by Mark R. Largent Sprite Explosion Effect with PRJ included from johnL3D New Radiosity render of 2004 animation with PRJ. Will Sutton's TAR knocks some heads!
sprockets
Recent Posts | Unread Content
Jump to content
Hash, Inc. - Animation:Master

Gradient measuring


Recommended Posts

Hey all,

Been away for a few months and seem to have completely forgotten how to create a gradient. I read the Tech Ref, but I'm not clear: When the techref mentions "measuring from the pivot", does that mean the center? Also, is it the center of the example sphere or the patch where the mat will be placed? For example, if I have a line of patches approx 50cm tall that I want to split between two textures, would the gradient read:

 

Start

X 0cm

Y -25cm

z 0cm

 

End

x 0cm

y 25cm

z 0cm

 

This is kinda puzzling me. I've successfully created these in the past, but I winged it, and I'm trying to gain greater control over them.

 

Thanks for any advice,

 

Rich

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Admin

I'm refreshing my memory but here's a little bit of a stab at this...

 

The pivot (for materials) relies on the translation settings of the material.

 

Example:

Set up a simple project with your matterial assigned to an object

While looking at that model in the Chor or wherever...

Go to the main material node and crack open the Translate settings.

Note how the colors changed based on that translate setting.

 

I may be missing something but I think the word pivot in the tech ref might refer to an older implementation where the material relied on a Named Group's pivot setting (which is one of the few places we can set a pivot that is actually referred to as a pivot in the interface). The notable exception to this is to create/adjust a pivot via use of one of the object manipulators (Translate, Scale... although I wouldn't think that'd change the pivot, and Rotate). This latter might effect the material placement in some way but I'll have to check. Edit: I don't think it can directly effect the material... there is (at least initially) no way for the material to 'see' that pivot.

 

So my take is that the translate settings of the material are the pivot for the material.

It can be center (and should be by default) but it can also be anywhere else in 3D space)

 

 

P.S. Thanks for asking the question. I learned a few things here.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...