POV-Ray : Newsgroups : povray.unofficial.patches : #declares and memory management : Re: #declares and memory management Server Time
18 Aug 2024 14:20:31 EDT (-0400)
  Re: #declares and memory management  
From: Ron Parker
Date: 22 May 2001 10:27:06
Message: <slrn9gktpr.vc9.ron.parker@fwi.com>
On Tue, 22 May 2001 08:13:01 -0600, Tony[B] wrote:
>I just feel this urgency to learn the syntax so I can at least start
>understanding the POV source.

The syntax is the easy part.  You could probably understand the syntax now,
given that you understand POV-script and can cope with some of the other 
ideas that have been bounced around in places like this group (access to 
members, for loops, etc.)  But knowing the syntax is only a very small part
of understanding the POV source code.  Knowing the basic raytracing 
algorithm is a big part, and knowing how stuff is laid out internally 
(especially tokenize.c, parse.c, and parse.h) is a very big part.

>can help. I really do want to help make POV a better program. It's already
>great, but has much room for improvement.

Heretic! :)

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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