POV-Ray : Newsgroups : povray.programming : tutorials: adding new spline type, adding new keywords : Re: tutorials: adding new spline type, adding new keywords Server Time
16 Jun 2024 16:18:41 EDT (-0400)
  Re: tutorials: adding new spline type, adding new keywords  
From: Daniel Matthews
Date: 9 Aug 2002 20:47:52
Message: <1720078.4mrfNVtrGG@3-e.net>
ABX wrote:

> My latest patch can be considered as tutorial about adding new types of
> spline to POV sources and about adding new tokens recognition. It is
> available at:
> 
> http://abx.art.pl/pov/patches/sorspline.php
> 
> ABX

Thanks for that, it gave me a useful insight into POV's internals.
It also made me wonder if in some future version of POV the parser could be 
data driven from an XML file so that it was extensible without having to 
recompile. The XML file would supply the token information and a reference 
to a loadable object or plug-in.
I know this can't work for all things you may need to patch, but for adding 
new geometry, functions and patterns etc. it should work.
Such a method would let everyone try out new ideas immediately so that they 
were well tested and could be more rapidly incorporated into the POV source 
code (for speed?) at the next major release.
 
-- 
Your connection failed because: short leg on process table


Post a reply to this message

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