[REBOL] Re: ANN: 3D game engine
From: roland:hadinger:arcor at: 11-May-2004 15:55
On Tuesday 11 May 2004 14:14, Cyphre wrote:
> Very nice!
> But I must admit that Rebol/View engine rendering is still slow(and it is
> not due to your coding style). I never consider such performance as 'fast'
> for ~1Ghz machines. There are lots of C/C++ SW renderers on the web doing
> really fast 2d/3d gfx(and I mean not only plain vectors) so why Rebol is so
> slow??. Hope View get some improvements in this area soon so we can make
> some nice 3D games for upcoming Rebol/Plug-in ;-)
You are right - speed of rendering could be better (and as that would benefit
almost any kind of rebol application, fast is never fast enough).
I think part of the problem is that every face is first composited in memory,
then converted and passed to the OS by not thoroughly optimized code (which
hasn't been compiled for newer processor generations like P3/P4 and does not
use MMX/SSE). And I guess some of the algorithms are not suited well in terms
of raw performance (I may be wrong, but it looks like filled polygons are
still outlines which are flood-filled instead of being rendered by a scanline
rasterizer?). Change a few things here and there and performance flies.
But I hope a 20 frames per second demo is fast enough to show around :)