PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

replying to 3d test

heres a test file i put up together.

www.pixelnerve.com/gpp/xtest20030604.zip

using intelgpp for rasterizing, only flatshading used in the demo, no zbuffer used, no depth sorting.. simple

use the arrow keys to move object and zoom
A key to leave program, B to switch between the 2 available objects. let me know what you think, i might put something better online later..
peace !
Hi,

I tried the file, but I got an "illegal operation" error as soon as the screen gets black.

Exception 0xc0000005, address: 0x00012d80. I have an iPaq 3850, 64 MB.

That's what you get for not using GapiDraw ;) If you need more testing let me know.

--Eric
I also get an illegal operation on my Pocket Loox :(
it crashes coz im loading the files from a exact place.. sorry my error,
just create a \xtest dir inside \my documents
and copy the zip data into it. it will work
www.pixelnerve.com/gpp/xtest_bin20030604.zip

new binary file (loads data files relative to its position)
I now tried both to move the file and the new executable, and here is what happens:

The window "TestWindow" opens, stays black for a while then closes. No error message.

Sorry ;)
fps 26
visible face 100/300 (33%)
FPS 25 on my Dell Axim 400mhz with the cube of course. Spikey ball gives me around 6 fps. I think thats pretty cool. The spikey ball is way more polys than you would need for just about anything on the PPC.

I have a question, what kind of rasterizers are in there? Is there one which could easily texturemap a single polly? Im writing a game which uses something sort of like nintendos "Mode 7". If I could speed it up with the intel rasterizer id put that in as an option for Xscales.
hi, thanks for the replies. the blank window that you see is while its loading the objects.. it takes sometime to load them.. remember this is a pocket pc and those files are big and theres calculations going on so u can see those objects :)

about the texturemapping. sure you can do it. i have a example of our to render a background using intel's library right on the same directory where you got the xtest 2003-06-04 file.. its from last month i think.. theres binary and source code

i already have gouraud shading and texturing on the renderer.. i have to say its hits the performance a bit.. about 30%
ill put it up soon. thanks everyone who gave it a try
Conan · 06 Jun 2003, 08:46 UTC — What's the aim of the experiment
Hi Vic, where do you intend to take this? Are you planning a 3D 'plug-in' for GapiDraw with full 3D engine features?

I'm yet to try GapiDraw in earnest & one of my orig,. reasons for not using it for current game was lack of 3D.

(I'm already using PocketGL which can render complex textured polys at up to 60FPS on PocketPC (articulated human figure on iPaq 3650) though it uses quite low res textures. I added this to PocketFrog to get a full game engine)

ps: now had a look at the demo. It's a high quality rendered object but the data load time is very slow. I can load several dozen 1000 poly textured meshes in a fraction of the time this takes using the p3d/tex formats PGL supports. Keep up the good work.
ei conan, well ive just been experimenting with the pocketpc so far, but as i go i follow this plan ive thought about for sometime. so the plan is to make this one 3d renderer library i/you/us can use for your own projects. i know its still very unoptimized and the loading slowdown needs some fixing, specially if you plan to load in big worlds with a fair amount of polygons. things are moving, ill post about any updates/features.
Mr X · 08 Jun 2003, 21:41 UTC — What's the aim of the experiment
Conan wrote:
(I'm already using PocketGL which can render complex textured polys at up to 60FPS on PocketPC (articulated human figure on iPaq 3650) though it uses quite low res textures. I added this to PocketFrog to get a full game engine)



what did you do to get it working with Frog? I wnat to use PocketGl with gapidrw but can't figure out how to integrate them.
Conan · 09 Jun 2003, 07:50 UTC — Integrating PocketGL
The way I did the integration was to track down the PGL back buffer/Z buffer update code and once I had that it was a simple job to copy the raw bytes each frame into PF's back buffer so PF then does all the screen blitting. I also 'upgraded' the buffer clearing routine to either put in a background color or a bitmap based on a flag.

Because I have the 3D data in PF's buffer I can then over paint it with various 2D items ( eg: a Heads up Display )

Note that performance suffers by using my method as there's that extra copy every frame but I'm only drawing 1000 polys or so per frame. Note: I integrated V 1.0 of PGL not latest Version

(Happy to send code to registered PGL users)
I might have a look at doing that. I would rather use gapidraw than frog though, but your code might help. I'm a registered user of pocketgl (1.2).

You can email me if you want to take this off here.

Ta