"Leef_me" <nomail@nomail> wrote in message
> Here's my reworked scroll code. I wanted to focus on determining and
> understanding why I get the text on both sides of the scroll and why the
> pattern appears on the flat portion of the scroll.
> You will need the include file from "Scroll Version: chrisb 1.0"
> look here http://lib.povray.org/searchcollection/index.php
The problem is in the macro inside the "Scroll_array2mesh2.inc" file which
defines the triangles that make up the mesh object. Alternating triangles
are defined clockwise then anticlockwise causing the normals for each
triangle to point in the opposite direction to the previous triangle. So on
each side of the surface, half the area is 'interior' and half is
To fix this, replace the 3 identical lines 123, 136 and 149 with copies of
the following line
This just changes the sequence of every second set of triangles so that both
sets are defined in the same direction, giving it a consistent 'interior'
Post a reply to this message