|
|
Wasn't it Hershel Robinson who wrote:
>Why does the following code generate a:
>Warning: Unnecessary bounding object removed.
>for each tile in the road? (POV-Ray 3.5 beta 6)
>
>Thanks,
>Hershel
Because the bounded_by's are unnecessary. The scene renders faster if
you replace
bounded_by { box { <J,-30,I>, <J+TileSize,0,I+TileSize> } }
clipped_by { bounded_by }
by
clipped_by { box { <J,-30,I>, <J+TileSize,0,I+TileSize> } }
and replace
bounded_by { box { <J+TileSize,-30,I+TileSize>,
<J+TileSize*2,0,I+TileSize*2> } }
clipped_by { bounded_by }
by
clipped_by { box { <J+TileSize,-30,I+TileSize>,
<J+TileSize*2,0,I+TileSize*2> } }
I.e. get rid of the bounds and just clip.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|