Cylindrical Projection by Jens Kafitz |
Cylindrical Projection will project your image using cylindrical texture coordinates to avoid seams and ugly blending
on objects such as wheels, trees, barrels etc.
A feature presentation for an older version of this node can be found here
An updated video, how to position the Projection in 3D Space can be found here
Positioning using Locators |
For easiest positioning turn on the 'Debug Pattern' Checkbox under the Texture Map Group of the Cylindrical Projection Node
or choose an existing one from the dropdown
The position of this locator marks the pivot of the projection which is always located at the
'cap' centre of the cylindrical projection
Cylinder Pivot is defining the center point of the 'cap' of your projection:
A locator gizmo will become visible in the viewport (you might have to look at your world centre to see it, if your object is positioned away from the grid)
The Locator Transformation Gizmo visible in your viewport
The Locator Transformation Gizmo position at the bottom centre of the object
Once you are happy with the general orientation you can use the Extra Attributes (Pivot Rotation) to make very precise adjustments.
Tip: Lock your object When the Locator Gizmo is over your object it is very easy to 'miss the click' on the rotation ring and activate the object instead which will result often in inadvertently moving the object around Consider locking your object via the object palette to avoid moving it by mistake. |
The aligned projection
Video A full video of the manual positioning process described here is available on Vimeo
|
Ensure that the Cylindrical Projection Node sits above any LUT applying Node such as sRGBtoLinar.
You can move the Cylindrical Projection Node back under it once you completed this basic orientation step-by-step.
Cylinder Pivot is defining the center point of the 'cap' of your projection:
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.
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.
of your projection
'Display Object Position as Color Value' checkbox. You are now free to move the Projection Node anywhere you want in the
Layerstack (including below a LUT Node such as sRGBtoLinear)
This will show you a UV Check pattern made out of squares to help you adjust repeat and rotation.
depending on your models necessities. By default the Cylindrical Projection is generated in a 90 degree angle
to the grid (standing cylinder).
Tip: Set Slider 'Length' to a small value to help you identify which axis is supposed to be what orientation during rotation. |
Overrides the Texture Map and shows a Debug Pattern with squares.
This is useful to orient your projection and adjust tiling values (repeat u/v)
The image to be projected. Transparency is supported.
A rotation on the 'Texture Map' in local space of the map itself
A translation/offset on the 'Texture Map' in local space of the map itself. This is useful to slide the texture along the cylindrical projection.
When adjusting the 'Length' parameter of the projection the texture repeat changes by default.
With Lock UV Scale turned on adjusting texture repeat will compensate for changes in 'Length'
The Length/Height of your cylindrical projection
Changing Slider Range If you feel that your length (or any other positional value) is changing too fast even with small slider changes, go to the 'Transform Helpers' Group in the Cylindrical Projection Node and set the multiplier lower ! |
The radius of your cylindrical projection determines where the projection will be clipped.
Different Radius on a projection:
Squashes the profile of the cylinder that is projecting. This is useful to redistribute features on objects that are not
100 % cylindrical to avoid texture stretching or deliberately introduce it.
Texture Repeat around the circumference of the cylinder
Texture Repeat along the length of the cylinder
Uniform Texture Repeat multiplier for RepeatU and RepeatV
Specifies the location in space of the base pivot of the projection.
Please refer to How to Position the Projection in 3D Space for more detailed information.
In addition to the translation options here you can fine tune the position using the attributes under the
'Extra Attributes (Pivot Translation)' Group
Sometimes after positioning your cylinder pivot, the cylinder might be 'standing on the pivot' facing the wrong direction.
Instead of rotating the cylinder again, simply tick or untick Mirror to tip the cylinder on its head.
Specifies the orientation in space of the of the projection.
Please refer to How to Position the Projection in 3D Space for more detailed information
In addition to the rotation options here you can fine tune the position using the attributes under the
'Extra Attributes (Pivot Rotation)' Group
Plane Slice will cut the texture projection from either start or end of the cylinder.
The base of the cylinder (pivot) determines which side Plane Slice Start is on.
A secondary offset on the main slider with a finer granularity on the slider for fine adjustments
Pie Slice will slice the Projection around the circumference of the cylinder
A secondary offset on the main slider with a finer granularity on the slider for fine adjustments
Extra Attributes vs. Locators Please note the options below are working on top of any locators created, meaning that by modifying the extra attributes the locator position will no longer be 100% representative of your cylinder pivot position |
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 your Projection in 3D Space for more details.
The X, Y and Z Position of your Cylinder Pivot relative to its original position (world 0 or locator position). These values can be 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
Rotates the cylinder around the pivot of the projection.
A secondary rotation offset on each main slider with a finer granularity on the slider
Depending on your scene size some of the default slider ranges might be too large.
The following multipliers will help you compensate for very large or very small object sizes.
A multiplier on Length+Radius, the fine Offset Controls of Cylinder Pivot & Rotate Cylinder (not the main sliders !)
as well as the the fine Offset Controls on the Clipping Options (not the main sliders).
If any of the sliders below are used, the result will be multiplied.
A multiplier on Length & Radius Controls.
A multiplier on the fine offset controls of Cylinder Pivot & Rotate Cylinder (not the main Offset sliders ! )
A multiplier on the fine offset controls of Projection Clipping Options (not the main Clip sliders ! )
Created with the Personal Edition of HelpNDoc: Easily create HTML Help documents