POV-Ray : Newsgroups : povray.general : POVRAY 3.5 - The Beans are in here! : Re: POVRAY 3.5 - The Beans are in here! Server Time
7 Aug 2024 15:15:28 EDT (-0400)
  Re: POVRAY 3.5 - The Beans are in here!  
From: Warp
Date: 29 Aug 2001 21:35:57
Message: <3b8d987d@news.povray.org>
For those who are interested:

  The 'pattern' feature, which was used in MegaPov for creating a bitmap
from a pigment has been changed in both name and functionality.
  Firstly, the name is just plain silly: It has nothing to do with a pattern.
This will be changed to something more logical.
  Secondly, instead of making a bitmap from a pigment, it will make it from
a function. As a function can be a pigment function, this means that it will
have the same functionality as in MegaPov (with just a slight syntax change).
However, it adds a lot of functionality to it because you can also use a
pattern function or a regular function (which will create b/w bitmaps, which
are just perfect to create a heightfield).
  Thirdly, (IIRC) you can #declare this kind of bitmap "function" and use it
as a regular function. Which means that you can evaluate it, call it inside
other functions and so on.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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