Jump to content


Photo

Gradient measuring


  • Please log in to reply
4 replies to this topic

#1 Darthlister

Darthlister

    Apprentice

  • *A:M User*
  • PipPip
  • 113 posts
  • Richard Raymer
  • Cards/Cats land
  • N/A

Posted 11 July 2016 - 04:55 PM

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



#2 Rodney

Rodney

    A:M Bot 14309

  • Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6975 posts
  • Rodney Baker
  • *Admin*
  • Illinois (not Japan)
  • subscriber
  • Windows

Posted 11 July 2016 - 06:33 PM

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.


"Animation is 90 percent hard work.  The other half is entirely mental!"
See my effort to think about the art of animation at: My Blog
Want to learn A:M? Start TaoA:M

#3 robcat2075

robcat2075

    persistent smarty-pants

  • Hash Fellow
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 24048 posts
  • Robert Holmén
  • *Moderator*
  • Dallas, Texas
  • current
  • Windows
  • Programmer:NO

Posted 11 July 2016 - 07:18 PM

Here is some visualization of what Rodney said...

 

Attached File  clip3969MaterialPivotPoint.mov   41.16MB   16 downloads

 

 


Robert Holmén
------

Got an A:M question? Come to Live Answer Time.   Saturdays, Noon CDT (1700 GMT)

Watch the 2017 "Summer Memories" Image Contest Awards

 

My tutorials All my most beloved tutorials in one convenient location. Except for the ones I've forgotten about.
 
this is only a ... my gallery of A:M tests

87,848 pushed!: the #1 heavy push on Youtube

Big thanks to... Roger (again!), Shelton (it's huge!), NancyGormezano, Roger, cribbidaj, thefreshestever, Tom, Dalemation, Simon Edmondson, thejobe, Rob_T (2 more x), agep (again!), itsjustme, jason1025(+1), dblhelix (+1),markw, Roger (3x!), mouseman (x 2!), Xtaz, agep, Gerry, thefreshestever, dblhelix (twice!), jason1025, Luuk Steitner, PDM, Rob_T and Dhar!


#4 Rodney

Rodney

    A:M Bot 14309

  • Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6975 posts
  • Rodney Baker
  • *Admin*
  • Illinois (not Japan)
  • subscriber
  • Windows

Posted 11 July 2016 - 08:15 PM

Great video Robert!  :)


"Animation is 90 percent hard work.  The other half is entirely mental!"
See my effort to think about the art of animation at: My Blog
Want to learn A:M? Start TaoA:M

#5 Darthlister

Darthlister

    Apprentice

  • *A:M User*
  • PipPip
  • 113 posts
  • Richard Raymer
  • Cards/Cats land
  • N/A

Posted 13 July 2016 - 07:16 PM

Robert,

    Thanks for that; I appreciate it.  Now I get it, although at first glance it seems counter-intuitive.  Great vid!

 

Thanks,

             Rich






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users