POV-Ray : Newsgroups : povray.programming : hash marks : Re: hash marks Server Time
28 Jul 2024 10:16:38 EDT (-0400)
  Re: hash marks  
From: Warp
Date: 12 Mar 2002 13:30:45
Message: <3c8e4955@news.povray.org>
Vadim Sytnikov <syt### [at] rucom> wrote:
> Why are they there at all? It took a ve-e-ery long time for me to get
> accustomed to several hash marks on a single line in POV SDL files... The
> thing is that, in most languages, it is impossible (well, at least not
> feasible) -- either # starts a comment, or a preprocessor directive.

  But all the #-commands in POV-Ray are preprocessor directives. They are
processed before rendering and they don't have actual effect on the rendering
itself (only on the source code which the renderer "sees").

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


Post a reply to this message

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