POV-Ray : Newsgroups : povray.unofficial.patches : How To Do It : Re: How To Do It Server Time
5 Jul 2024 14:42:44 EDT (-0400)
  Re: How To Do It  
From: Warp
Date: 16 Nov 2002 03:57:46
Message: <3dd6088a@news.povray.org>
Anton Sherwood <bro### [at] poboxcom> wrote:
> Has anything been written on how to patch Pov

  That's simple:

  1. Study the source code.
  2. Make the additions you want.

  One tip is that if you are doing something which already exists in POV-Ray
in another form (for example you are trying to add a new pattern), then look
how the other one is done and make your addition in the same way.

  PS. No, it might not be the easiest way like this, but AFAIK it's the
only way currently. :)

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