Documentation Talk:Reference Section 5.3
Revision as of 13:03, 29 January 2011 by Le Forgeron (talk | contribs) (Clarification with picture for cubic pattern)
- Adds square & triangular in the list of pattern that do not have a default grey map (should they also be alphabetically sorted ? (hexagon is out of sequence, or is it mandel ?))
--Le Forgeron 21:39, 2 December 2010 (UTC)
- this ones done too: --jholsenback 13:08, 3 December 2010 (UTC)
These patterns are:
agate
bozo
brick
checker
mandel
hexagon
marble
radial
square
triangular
wood
- Cubic need clarification about which texture go where. (I'm not happy with the formatting of the new paragraph, so if you get a better one, go for it)
--Le Forgeron 13:03, 29 January 2011 (UTC)
Cubic
The cubic
pattern takes six texture elements and maps each one to each of the six pyramids centered at each half-axis, effectively mapping each texture element to each side of a origin-centered cube. The syntax is:
texture { cubic TEXTURE_ELEMENT_1 ... TEXTURE_ELEMENT_6 }
The first element cover the X+ half-axis, the second Y+, the third Z+, and the same X,Y,Z order is applied for the last three elements, on the negative half-axis (X-, Y- and Z-).