POV-Ray : Newsgroups : povray.general : Macros : Re: Macros Server Time
7 Aug 2024 11:17:05 EDT (-0400)
  Re: Macros  
From: Warp
Date: 3 Oct 2001 04:31:00
Message: <3bbaccc4@news.povray.org>
dav### [at] intrepidvoygrcom wrote:
: I'm having some problems find Macros.. namely I need some macros that will do a good
stone look..

  Sorry for not answering to your question, but I think that there's a bit
misleading terminology here. When you say "macro" it's quite clear that you
are not talking about the POV-Ray #macro feature, but just about general
include files or POV-Ray script/textures in general.
  Of course what you are asking for can be implemented with a #macro, but
that's not necessary at all - it could just as well be a #declared texture and
that's it.

  To avoid confusion it may be better to use the correct terminology for what
you are looking for. I think that what you are looking for is "a texture that
will do a good stone look".

-- 
#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.