Object Space Radial Gradient

Parent Previous Next

Object Space Radial Gradient by Jens Kafitz









The Object Space Radial Gradient will create a 3d radial gradient in around a defined point in your scene.

How to position the 'sphere' in 3D Space





Video


The process of defining the pivot in 3D Space is the same as it is used for the

'Cylindrical Projection' Node:





Step by Step:


  1. Position your model in your viewport so that you are looking at the future centre of the your radial gradient sphere.


  1. Generate your World Space Radial Gradient Node and open group 'Gradient Pivot'.

Ensure that the Node sits above any LUT applying Adjustment Node such as sRGBtoLinar.

You can move the World Space Radial Gradient Node back under it once you completed this basic orientation step-by-step.


  1. Turn on the 'Display Object Position as Color Value' checkbox found under the 'Extra Attributes' Group

This will show the object position X/Y/Z converted to an RGB Value.

Since these positional values are likely over 1.0, your object will go most likely completely white.


  1. Open the Pixel Analyzer Palette via VIEW / PALETTES


  1. In your lower right hand corner of your Mari Main Window ensure that 'HDR' is active.

If the icon displays 'LDR' click on it to switch to 'HDR'. This ensures that values above 1.0

can be sampled in the viewport.




  1. Switch to your 'Color Picker' Tool and on your object click at the point you want to represent the center pivot

of your projection



  1. Transfer the RGB Values from your Pixel Analyzer Palette into X,Y and Z Offset of the Gradient Node and turn off

'Display Object Position as Color Value' checkbox. Ensure that the 'Offser Relative to Object Centre' Checkbox in the 'Gradient Pivot' Group is turned off.

You are now free to move the Gradient Node anywhere you want in the Layerstack (including below a LUT Node such as sRGBtoLinear)



  1. Your Gradient Sphere is now centered around the picked pivot.



Options


Node Connections


The 'Manifold' connection can be used to feed in a coordinate system for the evaluation of the gradient.

Possible node connections are for example the 'Manifold 3D', 'Manifold UV', 'UV', 'Position' etc.


Node Properties


Color


Color for the centre of the gradient to its outside (A to B)


Flips the distribution of the color from B to A



Modifiers


The size of the radial gradient around its pivot


A Gain Multiplier on the values generated by the gradient


The Gradient Profile



Gradient Pivot


With this checkbox turned on the Sphere will be generated at the centre of the bounding box by default and

the XYZ Offset sliders will transform the pivot relative the the Object centre.


The X, Y and Z Position of your Sphere Pivot. These values are usually obtained by sampling the position with the

Pixel Analyzer Tool


A secondary offset on each main slider with a finer granularity on the slider for precision positioning


Transform Scale


Will apply a scale along X,Y or Z of your radial gradient.


Extra Attributes


A multiplier to control the slider sensitivity on the Secondary Offset Sliders that are part of the Gradient Pivot Group.


Shows your objects position values (X,Y,Z) as RGB Values so they can be sampled with the Pixel Analyzer Tool.

Refer to How to position the 'Sphere' in 3D Space for more details.


Created with the Personal Edition of HelpNDoc: Full-featured multi-format Help generator