POV-Ray : Newsgroups : povray.general : Improving POV-Ray. Server Time
12 Aug 2024 21:19:55 EDT (-0400)
  Improving POV-Ray. (Message 31 to 32 of 32)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Ken
Subject: Re: Improving POV-Ray.
Date: 22 Feb 1999 17:28:33
Message: <36D1D99F.EA1CFB14@pacbell.net>
Rudy Velthuis wrote:

> Have a look at the dramatic speed improvements achieved in POV-Ray 3.1d for
> some higher order objects (cubics, quartics, superelllipsoids, etc). I don't
> think they suddenly turned to assembler, but they must have redesigned some
> algorithms.
> 
> >* No problem is too large that a faster clock rate can't fix.
> 
> >dik

A word from Ken:

  Let's examine that speed improvement for just a moment. The items
in the scene were a quadratic spline using sturm, this had a 6 layer
semitransparent texture applied, and a hand full of superellipsoids.
  As I watched the scene render it was evident that the most time
consumed during the render operation was spent on the lathe object.
I would discount the superellipsoids from the speed improvement as
their addition to the render time was not much more than the other
versions.
  There is also the case where I simply used objects from shapesq.inc,
with and without sturm, that don't show near the increase in performance
you would expect as seen with the quadratic spline late object. While
there was improvement in general it wasn't on so high an order.
  There were also several bug fixes in this version and who is to say
what impact they may have had been having. I think the test data I
provided is good general indication of what can be expected as far as
increased performance from v3.1b and v3.1d. It only implies the reasons
the speed has been improved without disclosing why it is better.
  What were the contributing factors involved in this performance increase ?
I don't know, but the data should not have unsubstantiated value added
to it. What I presumed I was testing, and what the results indicate, may
be improperly assigned to the wrong attribute and should be taken into
consideration when examining the data.
  Obviously they have been reworking some of the code to make it ready
to become a full c++ compliant program (as mentioned in Chris Young's bug
fix report) and that may be what is adding to the performance. Without
direct knowledge of the changes and their implementation would be idle
speculation and not worthy of serious discussion.

My point is don't try to read too much into that data I provided because
it may be full of traps.

One more thing: Don't worry - Be happy.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Spider
Subject: Re: Improving POV-Ray.
Date: 23 Feb 1999 16:10:18
Message: <36D2CF25.D3E1A231@bahnhof.se>
Rudy Velthuis wrote:
<snippety> 


> 

> I've been looking in Gravity, but almost all my news was gone (I told y
ou
> about my self-imposed 60 day limit). I couldn't find it on Dejanews eit
her.
> But I'm 100% sure I've seen it somewhere.
ok :-) Thanx anyway.
 

> >> But it was the improved algorithm which made the routine faster, not

> Pascal
> >> of course.
> 

<snappety>  


> Of course if you would implement a good algorithm in (good) assembler, 
you'd
> propably gain some more speed. This can be done for simple algos. But t
o
> optimize a huge program and rewrite it in assembler is not seeking for
> speed, it is asking for trouble (bugs). Optimizers are not perfect, but

> consistent. Humans are perhaps cleverer, but very inconsistent, make
> mistakes, forget things, etc. Optimizers do not have these human traits
.
Yup, that Is what I have said in my own little way... or tried to
anyway..

I've never done anything more advanced in asm than to transform a
highoptimized pascal routine(screen melt thingy) into asm... lost a
helluva lot of procedure-calls, and the loop was far faster as well...
 

> >But I can say that I
> >don't really enjoy BASIC as a language.
> 

> Neither do I, I'm a Delphi freak. And if, for some highly unimaginable
> reason, I would have to dispose Delphi, I'd turn to C/C++. But those da
ys,
> BBC-Basic was all I had. It even taught me procedural programming, beca
use
> it had procedures and functions and local variables.
ok. I started in BASIC on a SVI computer. Then got on to turbo-pascal
4....
 


> 

> How many Euro-Cents would that be?
Hmm, I think it's something like 0,003-0,002. But I haven't looked at
the exchange rates.

-- 

//Spider 

( spi### [at] bahnhofse ) [ http://www.bahnhof.se/~spider/ ]
#declare life = rand(seed(42))*sqrt(-1);


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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