POV-Ray : Newsgroups : povray.general : Povray 3DNow! optimized Server Time
15 Nov 2024 21:14:10 EST (-0500)
  Povray 3DNow! optimized (Message 1 to 10 of 19)  
Goto Latest 10 Messages Next 9 Messages >>>
From: gilberto
Subject: Povray 3DNow! optimized
Date: 20 Nov 1998 22:08:41
Message: <01be14fc$3407e7c0$60f4ffc8@e5z9e8>
Are Povray team planning a K6-2 3DNow! optimization ?


Post a reply to this message

From: Lance Birch
Subject: Re: Povray 3DNow! optimized
Date: 20 Nov 1998 22:34:38
Message: <365634ce.0@news.povray.org>
Not that I know of.  It would mean a pretty big re-write and it'd just be
another thing for them to have to support.

--
Lance.


---
For the latest MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
gilberto wrote in message <01be14fc$3407e7c0$60f4ffc8@e5z9e8>...
>Are Povray team planning a K6-2 3DNow! optimization ?


Post a reply to this message

From: portelli
Subject: Re: Povray 3DNow! optimized
Date: 21 Nov 1998 20:24:22
Message: <3657926E.59F542A5@pilot.msu.edu>
How much would those help.  I know they are some extra instructions
dealing with floating point.  But I thought it was for mostly real time
3d calculations.

gilberto wrote:

> Are Povray team planning a K6-2 3DNow! optimization ?


Post a reply to this message

From: gilberto
Subject: Re: Povray 3DNow! optimized
Date: 21 Nov 1998 21:14:24
Message: <01be15bd$cb9fc3c0$55f4ffc8@e5z9e8>
3DNow! can perform 4 floating point instruction in a clock cicle.
It can hit 1.2 Gflops. 4 times faster than a Pentium II.

Gilberto

portelli <por### [at] pilotmsuedu> escreveu no artigo
<3657926E.59F542A5@pilot.msu.edu>...
> How much would those help.  I know they are some extra instructions
> dealing with floating point.  But I thought it was for mostly real time
> 3d calculations.
> 
> gilberto wrote:
> 
> > Are Povray team planning a K6-2 3DNow! optimization ?
> 
>


Post a reply to this message

From: Chris Maryan
Subject: 3DNow and its applications in 3D (was: Re: Povray 3DNow! optimized)
Date: 21 Nov 1998 23:30:44
Message: <365793E4.DEA09D73@geocities.com>
gilberto wrote:
> 
> 3DNow! can perform 4 floating point instruction in a clock cicle.
> It can hit 1.2 Gflops. 4 times faster than a Pentium II.
> 
> Gilberto

	This is not quite correct, the 3DNow instructions can not perform 4
floating point operations in a single clock cycle, in fact they can not
even complete a single instruction in one clock cycle (Well maybe some
instructions, but not the useful ones, read on). But neither can intel's
chips. An instruction takes several clock cycles to execute, depending
on the processor and the instruction. For example, a multiplication of
two floating point numbers in most modern processors requires
approximately 6 clock cycles, floating point division takes about 40.
	What the 3DNow instructions alow you to do is execute the same
instruction on several pieces of data at the same time, hence saving
time by doing essentially several things at once.
	Why do you want to do this? Well, 3D graphics, for the most part,
depends on one thing, the 3x3 (or is it 3x4 or 4x3, I can never
remember) transform matrix (Actually it's usually extended to 4x4, I'm
not sure why but it seems to have something to do with keeping with the
powers of two thing). By multiplying position vectors in 3D, by a
precalulated matrix, you can rotate, translate, scale and skew the
object that the position vector is a part of. This matrix multiplication
involves a series of multiply and add functions. 3DNow can accelerate
this by grouping some of these multiply and add functions together and
processing them in groups (i.e. grouping two or four floating point
numbers together and processing them as on 3DNow multiply instead of two
traditional multiplies). Admitedly there are other places where 3DNow is
useful, but the matrix multiply is the important one.
	But! The numbers that are being processed in this matrix multiplication
need to be quite well organized, even more so if you plan to process
some of the numbers at the same time (i.e. 3DNow). This is why Quake 2
(or whatever) will not run 4 or even 2 times faster on a K6-2 300 than a
PII 300 (alright, that's not the only reason but it contributes).
	So why won't 3DNow be useful in POV? POVRay does use the matrix
multiply and a lot of other floating point math; however, the way in
which it is written is not arranged well for combining numbers into
something usable by 3DNow. Also, most of the processing needed in povray
is used in the raytracing process, my limited knowledge of the
ray-casting/intersection-testing process tells me that this uses very
few things that could be usable by 3DNow.

At this point I must bring my ranting and raving to a close, those
seeking greater enlightenment should either email me or send me money.
Both are acceptable, cash is prefered.

 
Chris Maryan
mailto:cma### [at] geocitiescom
***
Will work for cash.
***
Email me if you are interested in donating
to the Chris Maryan needs money fund.
We will also accept donations to the Chris
needs a Pentium II or SGI workstation 
fund and the Chris needs a car fund.


Post a reply to this message

From: Nieminen Mika
Subject: Re: Povray 3DNow! optimized
Date: 24 Nov 1998 04:35:35
Message: <365a7de7.0@news.povray.org>
gilberto <jun### [at] usanet> wrote:
: Are Povray team planning a K6-2 3DNow! optimization ?

  Povray is mainly a platform-free program. There's no idea in making
a platform-specific version. It will add lots of work and lots of
support problems. The low-level optimizations are made by the compiler.
  So get a compiler which can optimize for your CPU, and make your own
custom compile. That's it.
  If there are no compilers which can optimize for your CPU, I don't think
that's a povteam's problem, but your problem.

-- 
main(i){char*_="BdsyFBThhHFBThhHFRz]NFTITQF|DJIFHQhhF";while(i=
*_++)for(;i>1;printf("%s",i-70?i&1?"[]":" ":(i=0,"\n")),i/=2);} /*- Warp. -*/


Post a reply to this message

From: Lewis Sellers
Subject: Re: Povray 3DNow! optimized
Date: 24 Nov 1998 09:05:20
Message: <365ABD42.CB8044B7@usit.net>
gilberto wrote:
> 
> Are Povray team planning a K6-2 3DNow! optimization ?

The K7's should be fun. Dual K7 800mhz. yummy. :)

Anyone noticed that Intel cpu's are slower than alpha's, powerpc g3's
and amd's? <laughter>
Must have spent all their money on those flashy commercials and didn't
have anything for r&d.

-- 
Lewis A. Sellers: writer and contract Multimedia Website Developer
mailto:lse### [at] usitnet (The Fourth Millennium Foundation)
http://www.public.usit.net/lsellers/ & http://www.intrafoundation.com
http://brain-of-pooh.tech-soft.com/users/critters/bios/sellers_lewis.html

"The comedy is over" -i pagliacci


Post a reply to this message

From: Spider
Subject: Re: Povray 3DNow! optimized
Date: 26 Nov 1998 17:23:03
Message: <365DD439.DFEDBAF2@bahnhof.se>
Hmm... That has anything to do with RISC instructions ???
While alpha have reduced the number of instructions, intel has increased... ttt..


//Spider

Lewis Sellers wrote:
> 
> gilberto wrote:
> >
> > Are Povray team planning a K6-2 3DNow! optimization ?
> 
> The K7's should be fun. Dual K7 800mhz. yummy. :)
> 
> Anyone noticed that Intel cpu's are slower than alpha's, powerpc g3's
> and amd's? <laughter>
> Must have spent all their money on those flashy commercials and didn't
> have anything for r&d.
> 
> --
> Lewis A. Sellers: writer and contract Multimedia Website Developer
> mailto:lse### [at] usitnet (The Fourth Millennium Foundation)
> http://www.public.usit.net/lsellers/ & http://www.intrafoundation.com
> http://brain-of-pooh.tech-soft.com/users/critters/bios/sellers_lewis.html
> 
> "The comedy is over" -i pagliacci


Post a reply to this message

From: Lewis Sellers
Subject: Re: Povray 3DNow! optimized
Date: 27 Nov 1998 14:20:18
Message: <365EFB8E.F137BDB3@usit.net>
Spider wrote:
> 
> Hmm... That has anything to do with RISC instructions ???
> While alpha have reduced the number of instructions, intel has increased... ttt..
> 
> //Spider

Most likely so. Intel seems to be going the route of adding more
"proprietary" instructions to their chips in an attempt to control the
market. The effect is their processors are getting more complex, but it
is complexity for complexities sake -- not for increasing their
processing power.

I think this is starting to backfire on them somewhat.

-- 
Lewis A. Sellers: writer and contract Multimedia Website Developer
mailto:lse### [at] usitnet (The Fourth Millennium Foundation)
http://www.public.usit.net/lsellers/ & http://www.intrafoundation.com
http://brain-of-pooh.tech-soft.com/users/critters/bios/sellers_lewis.html

You can bug the living bejesus out of me live on ICQ @ 491461
(If I don't get back to you within a month, I'm out of prozac in some
dark corner somewhere screaming things quite unintelligable but -- most
curiously -- thick with a sumerian accent.)

"The comedy is over" -i pagliacci


Post a reply to this message

From: KillFile
Subject: Re: Povray 3DNow! optimized
Date: 29 Nov 1998 00:31:08
Message: <3660DBD9.CF60912C@keldin.com>
Their clock might run slower, but they've spent their money on where it
really matters to us.  The FPU.  Compare render times for the various chips
and you'll find that competitors chips that run at a faster clock render more
slowly because of faulty/poorly made FPU's.

(though AMD looks like they may finally fix this in the next gen)

KillFile


Post a reply to this message

Goto Latest 10 Messages Next 9 Messages >>>

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