POV-Ray : Newsgroups : povray.general : Macros : Re: Macros Server Time
20 Nov 2024 08:26:53 EST (-0500)
  Re: Macros  
From: dave
Date: 3 Oct 2001 08:11:14
Message: <3bbb0062@news.povray.org>
Warp:
  See that's what I thought too, but I was talking to someone yesterday and they said
to look for a Macro.. Which I thought was odd, and that's why I thought I would ask..
because I thought it was just a texture, names T_Stonexxxx where you would do some
modifications on the Texture.  Like a Rougness, diffuse and the like.. Am I correct in
assuming this?

Dave

Warp <war### [at] tagpovrayorg> wrote:
>   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.