Difference between revisions of "Documentation Talk:Reference Section 5.3"

From POV-Wiki
Jump to navigation Jump to search
(Clarification with picture for cubic pattern)
m (follow up)
 
Line 36: Line 36:
 
</pre>
 
</pre>
 
<p>[[Image:RefImgCubic.png|The cubic pattern and the order of texture elements]] 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-).</p>
 
<p>[[Image:RefImgCubic.png|The cubic pattern and the order of texture elements]] 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-).</p>
 +
 +
:* it's been done: [[Documentation:Reference Section 5.3#Cubic|check it out]], the new image format is versatile. --[[User:Jholsenback|jholsenback]] 01:18, 30 January 2011 (UTC)

Latest revision as of 01:18, 30 January 2011

  • 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 cubic pattern and the order of texture elements 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-).