Page 1 of 3
x3D
Posted: Mon May 31, 2004 10:51 am
by fweil
Maybe some of you remeber that we, cederavic and me, designed a small hand made 3D engine times ago ...
We went back to this for some days and rewrote some more lines.
This program, now called 3xd works using low level code only. No sprite, no OGRE ! This is fast and accurate.
We would like to get some feedback from any interested people about performances and look and feel, using the demo available @
www.serveurperso.com/~cederavic/x3d.rar
Thanks to give such feedback with your configuration details.
Camera = arrows + pageup/pagedown
Rendering modes = f1 / f2 / f3 / f4 / f5
Light = 4 / 6 / 8 / 2 / 9 / 3 NumPad (F5 mode only)
We intent to enhance this pure PureBasic to display 3D models from different format types (demo uses .asc exports from 3DS models).
According to performances we get now, it is clear that large models will not be a trouble.
Rgrds
Posted: Mon May 31, 2004 12:01 pm
by aaron
Ran at 60fps here (my refresh rate) in all modes. Nice and smooth. I ran it on a Athlon 2400+ laptop (really running at 1800) with 512M of memory and a ATI IGP 64M video card (shared memory).
The only funny thing that I noticed was the engine drops any triangles which touch the edge of the screen rather than clipping them. You may be doing this intentionally to save cycles, but it isn't very pretty.
Other than that, nice work!
Posted: Mon May 31, 2004 12:08 pm
by fweil
thnx aaron.
The triangles are dropped actually when touching the screen border but it will change quick. This was not to save any calculation but just to bypass some lies of code. THis will not affect global results.
Anyway your configuration is strong enough to render 60FPS. It seems that with less than 2GHz processor this will always be possible if the graphical board has more than 32MB of memory and a fast and recent hardware.
Rgrds
Posted: Mon May 31, 2004 12:35 pm
by PolyVector
Nice!
Posted: Mon May 31, 2004 1:09 pm
by fweil
PolyVector,
And what about performances you got ?
Rgrds
Posted: Mon May 31, 2004 1:21 pm
by Dare2
Heya. Very nice. I get 60fps consistently.
My system gives a lot of flicker as the resolution builds, and more and more of the bottom of the screen disappears into blackness. But it does that with everything graphics intensive.
My monitor is an NVIDIA RIVA TNT2 model 64. The board has a small problem.
Posted: Mon May 31, 2004 1:32 pm
by dmoc
Hi fweil, do you have a zipped file, I never have any luck with rars. Is your engine a sw renderer or does it rely on ogl/dx?
Posted: Mon May 31, 2004 1:44 pm
by Dare2
Hi dmoc,
Not sure if you've tried this, but 7zip at
http://www.7-zip.org/ is pretty nifty and handles rar. Free and opensource.
Posted: Mon May 31, 2004 1:56 pm
by thefool
@fweil -> ran with 60 fps constantly on my laptop.
Posted: Mon May 31, 2004 2:19 pm
by LarsG
It ran pretty steady on my system.. 72-75 FPS..
One thing I noticed though, is that your z-ordering isn't correct.. The ball which represents the light, is always drawn in front of the duck, even if the light is on the far side of it.. It looked wierd when I moved it around..
Besides that.. Nice work!

Posted: Mon May 31, 2004 2:49 pm
by MadMax
Nice!!!
170 fps vertex
70-80 fps other modes
Athlon 1ghz Gforce4 MX 440
About the asc files, I was wondering, how do you get the normals and textures values?
Posted: Mon May 31, 2004 3:02 pm
by cederavic
@dmoc : no ogl and no dx, 100% software

i've send all files here :
www.serveurperso.com/~cederavic/x3d/
@LarsG : only faces are z-ordered, not objects in scene but I work on the z-buffering then no need z-ordering for futur releases
@MadMax : we dont get normals and textures values (there isnt textures for now), we calcul them in real time
@all : thx a lot for your comments

Posted: Mon May 31, 2004 3:51 pm
by dmoc
@Dare2, thanks, that worked.
no ogl and no dx, 100% software
...oooo! Old skool eh

Posted: Mon May 31, 2004 7:33 pm
by Num3
60 FPS on all modes!
Got a XP2000+ and a GForce 4 MX 440
Excellent work!
Posted: Mon May 31, 2004 8:37 pm
by benny
I like it - ran at constant 75fps on my machine (geforce4mx, 1.3GhZ)