POV-Ray : Newsgroups : povray.general : POV-Ray and physical simulation : Re: POV-Ray and physical simulation Server Time
4 Aug 2024 04:13:14 EDT (-0400)
  Re: POV-Ray and physical simulation  
From: Christoph Hormann
Date: 22 Sep 2003 17:12:02
Message: <0v4441-tnf.ln1@triton.schunter.etc.tu-bs.de>
ingo wrote:
> 
> Regarding speed, when I made my param.inc file I also did it in python. 
> The original param.inc only used macros and was quite a bit slower that 
> its Python equivalent. After rewriting param.inc to using functions the 
> parse time of both seemed the same at first sight, but SDL was actually 
> faster. In the same time it took to run the python program, SDL did the 
> same calculations and also parsed a million triangles. The resulting 
> file generated by python still had to be read and parsed by POV-Ray 
> then. So SDL isn't that bad in all cases.

I always had the impression python is quite slow.  The first HTML 
preprocessor i used for my website (ahts) was implemented in python and 
it was incredibly slow.  I currently use your python tool for formatting 
pov code in HTML and i also can see the slowdown on pages with many code 
blocks.

Not directly related but i think param.inc would be a nice feature to be 
implemented internally - it would be quite similar to the bicubic patch 
object which is also represented as a mesh.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 2 Sep. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

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