POV-Ray : Newsgroups : povray.binaries.images : Tilemap patch for Megapov 1.2 : Re: Tilemap patch for Megapov 1.2 Server Time
5 Nov 2024 12:36:13 EST (-0500)
  Re: Tilemap patch for Megapov 1.2  
From: Chris Jeppesen
Date: 12 Sep 2006 11:13:23
Message: <4506ce93@news.povray.org>
Rune wrote:
> Chris Jeppesen wrote:
>> A sample image for a patch I made to Megapov 1.2, which I hope to have
>> incorporated into the next version. Read about it in
>> povray.unofficial.patches .
> 
> Well, that's nice, but couldn't the same thing have been made with a macro 
> using nested gradient patterns? The syntax wouldn't be as neat, but it could 
> still be made rather easy (if a bit clumsy):
> 
...
> 
> And the macro could then be invoked with something like this:
> 
> pigment {MakeTileMap(6,6,tile_map)}
> 
> Rune

I don't quite understand. What would MakeTileMap do? Does it create
zillions of layered pigments where each tile gets a layer? I tried that
before I wrote the patch, there is only limited layering in a texture,
and at some points I needed to use more tiles than was permitted.

I have never heard of a nested gradient pattern.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.