PocketMatrix forums

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

Looking for 3D game engines and FPU?

Hi, I've just signed up.

I am interested in developing 3D First Person Shooters (FPS) and adventure games for the Pocket PC, Palm or Java platforms.

Does anybody know of, or done any work with, any fast pocket specific FPS, 3D, or 3D volumetric engine platforms that I can use to make the games. I have come across a few pocket 3d engines but am not happy with their rendering performance, and they don't seem to offer FPS type game editor solutions.

I am also trying to locate information on good game programming guides and Faqs for these machines, aswell as which machines have the optional ARM FPU or SIMD instructions?

My old website has a lot of pro development information links, that people might be interested in:

www.handheld2000.org

Look on the main page, and under OS and software development Links.

Thanks

Wayne Morellini.
Peter Balogh · 06 Oct 2003, 20:00 UTC
Hi Wayne,

If you're a pro developer we might be interested in licensing FireFly, our game engine to you. Check out Anthelion on www.pdamill.com, it's our first 3D game using this engine. All our other games share the same engine but do 2D stuff only. If you like it, email me pbalogh@pdamill.com.

Cheers,
Peter
I was under the impression that your engine was basically a 2d layered engine that uses a 3d renderer to create real-time rendered sprites? If so it would not be classified as a volumetric 3d engine capable of FPS type maps.

Dan East
aswell as which machines have the optional ARM FPU or SIMD instructions?


All XScale ARM implementations have some SIMD instructions, I believe.

Forget about an FPU. The last ARM CPU I saw with an FPU ran at 64MHz (an ARM 7500FE).
Peter Balogh · 07 Oct 2003, 07:04 UTC
Dan, what on earth gave you that idea?
Our game engine is a full 3D engine + a full 2D engine + a lot more (like scripting, UI layout engine, cutscene engine, particle systems, etc). The 3D engine renders to the video backbuffer directly and is NOT sprite oriented :-)
The connection between 2D and 3D is that they are both layer types and you can mix them easily in one game. But these layers are completely independent and draw directly to the backbuffer, without creating a sprite and then copying it.
I was surprised that you'd make such wild guesses regarding it :-)

Cheers,
Peter
Thanks for the offer. I'm more a amature developer at the moment, until I make enough money to set up a proper business.

Im not planning a space based game yet. Is it good for closed 3D FPS environments? Is it a 2D layered (in which way) with 3D sprites like Dan said. Is it just routines, or does it have a layout/game editor? These are the most important questions for the moment, apart from closed environment rendering speed.

Type of games I'm looking at, apart from Retro Vector are: MDK simliar 3d but with FPS deathmatch type projectile/hand to hand combat with interesting twists. Then there maybe "Adventures of the Blue Duck (in the wild west)" (I am very influenced by old British games). In which the duck goes around inside a richly rendered 3D hotel or Wildwest town seeking escape. So basically Im looking for engines suitable for these different environments.

If there is no set of Faq'a on the subjects I posted, could I suggest it would be a good idea for the forums, also covering ARM optomised integer 3D routines (has anybody any experience with these)?

Thanks

Wayne
wayne wrote:
If there is no set of Faq'a on the subjects I posted, could I suggest it would be a good idea for the forums, also covering ARM optomised integer 3D routines (has anybody any experience with these)?


This series of articles is definitely worth a read:

http://www.flipcode.com/articles/articl ... fx01.shtml

Especially the bit on rasterization with sub-pixel accuracy. It really does make a difference.

If you understand 3D already, going all-integer is fairly straightforward. (Except for all-integer perspective correct texturemapping with no divide instruction....)

If you've got no experience with 3D, I'd recommend starting somewhere simpler than a full 3D FPS engine.... A Wolfenstein-style raycaster might be a good place to start

If you fully understand 3D, search for 'Quake Specs' (Quake 1), and see if you can make use of the Quake 1 .BSP format, and the Quake1 tools to build your levels?
Thread

goro":244kl271]


Dan East
you might want to have a look at SoftGL, our OpenGL(|ES) implementation for PDAs. it's not finished yet (in terms spec conformance), but you can join the beta test...

find more information at:
http://www.ims.tuwien.ac.at/research/ha ... softgl.php

bye,
DANIEL
Peter Balogh · 07 Oct 2003, 14:57 UTC
Dan: Ah, okay, I see how that can be misunderstood. :-) Well, it's really one game engine, but sprite handling is only the functionality of one of the several 'layers' it has.

BTW, when will we see Varium? We're very interested in the game, it promises to be a very nice one from the year-old screens and half-year old video.
Soon. The entire engine, including the entity system and the renderer, has been rewritten since the video. Performance wasn't acceptable on all types of devices, and I was not willing to sacrifice rendering quality or capability to compensate. I switched from a spherical leafy BSP to a planar nodal BSP, and added robust HSR, which is far more important for large immersive first person maps consisting of 20k+ polys.

We now have pixel accurate dynamic lighting that fully interacts with other dynamic lights / shadows, vertex shading and ambient lighting. We use WorldCraft as our map editor, instead of forcing people to try and construct maps using tools not meant for that type of job (ie 3DS Max, which is also too expensive for casual modders / developers).

My goal, and what has been accomplished, is to light the entire scene (typical 500-100 visible poly FPS type map) using pure dynamic lighting, while using perspective correction, and maintain at least 20 FPS on the average PPC.

Also note the dynamic lighting I speak of is true dynamic pixel-level lighting / shadows, and not the "dynamic lighting" used by PocketGL, which is just dynamic vertex shading.

The Varium content we posted videos of will probably not be the first game we release with this engine. We have a couple other games under development, and we may first release something less immersive and more action oriented, to help test the engine compatibility and performance.

Dan East
Well I have spent many hours following those links on the web and I think I have come up with some very exciting 3D engines (if they are available and converted to the Pocket PC). From all places it was from the Game Boy Advance. I revisted an old GBA development site, and found a link to a place that had links to two Quake 2 engines. The Yeti3D programmer has even done an Open GL version. There has been much Arm specific optomisation in the engine and I think his C compiler is probably also very optomised for the machine. Speed increases of upto a hundered 100% (I think from vague memory) have been recorded in Operating Systems recompiling with a better compiler. Has this been tried with Pocket Quake?

Frome thread in developer forum:

I have just found some 3D engines that run Quake I & II games on the Nintendo Gameboy advance, plus a voxel engine from the Dukenukem Build editor and Yeti 3D engine for the game boy that looks more Unreal/Quake 3 like in it's visuals (the programmer also wants to do a Quake 2 engine. He has reduced the divide instructions in the rendering pipeline to one. The engine is said to be like a mobile version of the CUBE engine. All this from a machine with a limited 32bit instruction memory, and less than one tenth of the Mhz of a basic Pocket PC cpu. I'll be discussing it over at the developers forum. The engines could be converted to the Pocket PC. This is just above the level of performance that I expected from the Arm GBA. All the links are here:

http://www.theteahouse.com.au/gba/index.html
http://www.theteahouse.com.au/gba/screenshots.html
http://www.theteahouse.com.au/gba/real.html
http://www.theteahouse.com.au/gba/ports.html
http://www.theteahouse.com.au/gba/tech.html
http://www.theteahouse.com.au/gba/profile.html

GBA Quake engines:
http://www.bobbeetec.com/drg.htm
http://www.bobbeetec.com/drg_media_s.htm
http://www.bobbeetec.com/drg_tech.htm
http://www.bobbeetec.com/drg_press.htm

http://www.pocketeers.com/
http://www.theteahouse.com.au/gba/quake.html

Other 3D Engines
http://heliscar.com/greg/ (Arm Engine).
http://www.advsys.net/ken/voxlap.htm
http://wouter.fov120.com/cube/

If this level of performance on the GBA is transferable and scalable to the Pocket PC, it might be possible to have Quake 3, Unreal Tournament, or Half Life, quality games on a 200Mhz Pocket PC. The guy with the Yeti Engine appears to be quiet capable and is programming a world editor (has good visual style too).

Thanks

Wayne.
I tried reply to some of the posts before but thats lost, so I'll try again.

Drgoldie, thanks for the information on SoftGL, I vaguely remember hearing about it from my website days.


Peter, despite my entusiasm in my last post, in the original version of this reply I was going to say that your engine sounds very interesting. After I get all the options worked out I might contact you about further information on it. For the moment I am curiouse, does it have a level, world or game logic editor? When you say it is layered, do you mean that objects are rendered to layers based on distance instead of a full 3D environment?

Ideally I am after a 3D engine (volumetric or not) that has a full level/gameworld and game control logic editors that only requires real programming when you want to add custom game control logic extensions. So I can concentrate on game content, otherwise I will make do with what I can get. From everything I read here I understand that such an engine is not available yet for the pocket machines, is that right?


Thanks for the advice on SIMD instructions refractor. I should have asked about FPU and Vector processor on Arm designs, but I was up all night.


Bluescrn, thanks for the link it has been a great help, as you can see. I have spent hours downloading tutorials (will hopefully read them sometime soon ;). I will enjoy the article on Voxels. I have a very old copy of the basic standard text on 3D graphics but it has little on Volume Graphics (which I have mostly not even read). I know now little about the 3D maths involved as I have mental/memory limitations in that area. But this has lead me to develop a catalogue of my own seperate integer based volume rendering ideas (best way, reinvent the wheel and make it round). I hope eventually to get to the design and incorporate it into my OS, once the OS is finished (too much work).


Sorry that the order of posts got messed up, I didn't set my time zone.

Well the night is over (if I could only still code like that now days).

Thanks


Wayne Morellini

www.handheld2000.org - Archived
-- The next generation that was to come, is now here: Pocket PC and Sony PSP.
Dan East wrote:
We now have pixel accurate dynamic lighting that fully interacts with other dynamic lights / shadows, vertex shading and ambient lighting.
*snip*
Also note the dynamic lighting I speak of is true dynamic pixel-level lighting / shadows, and not the "dynamic lighting" used by PocketGL, which is just dynamic vertex shading.


can you tell what's done per pixel?
and what is the fillrate you achieve?

thanks,
DANIEL
Hi Wayne, unless you write your own engine you will not get the features you want today for PocketPC. I use PocketGL which is the best off the shelf at present. OpenGL ES is still at the spec stage ( see Kronos group )

If you do write your own engine you will spend lots of time on that prior to writing a game.

My advice is to base your game around what you can actually achieve. This is not the PC world where you pick up your engine, level editor etc over a weekend & start writing a game on Monday morning. If you have the time & maths skills you should roll your own otherwise waiting for OpenGL ES may be the best path.
unless you write your own engine you will not get the features you want today for PocketPC

that's definitely true.

OpenGL ES is still at the spec stage (see Kronos group)

that's not true. the specs are out quite some time. there will also be commercial engines (fathammer, Gerbera).

if you want max features and performance you'll have to optimize to your specific game type at the moment. things will change with next generation (or the one after that...) devices which will incorporate wireless-mmx and hardware rasterization. Then a game based on OpenGL|ES will make real sense...

DANIEL
I thought that's what I said? All there is for OpenGL ES is a spec. Some commercial companies plan to make existing engines OpenGL ES compliant & others may produce compliant engines.

At this point in time there are a few engines based on OpenGL at various stages of development, PocketGL which is $49 & as far as it goes is fully functional ( Fast but low res textures ) and a few small games companies with their own engines which they might license if you ask nicely.
sorry, i missunderstood.
i thought you meant 1.0 specs are still defined...

DANIEL
OpenGL ES does nothing for software renderers. If anything it would hurt them. The spec is just too robust for a software renderer, making it too hard to handle so many generic cases. Also, OpenGL ES supports only one fixed point precision: 16.16. That is too large (bandwidth / cache-wise) for many uses. Engines like PocketGL only use shorts for coordinates and texture coordinates.

Other tricks have to be used with OGLES to use smaller data types because of the small cache size of ARM / XScale devices. For example, using GLbyte or GLshort for texture coordinates and then scaling the texture matrix to effect fixed point on those integer types. The thought of implementing a texture matrix in a software engine is laughable, so then you're stuck with having to use large 32 bit data types for all data.

Plus OGLES fully supports floating point data types, and for static data (precalculated meshes) it is reasonable to pass that data for hardware rendering.

Thus regardless of having some standard interface, I don't see how it is remotely realistic to write a game for one type of renderer (hardware or software), and expect it to be applicable to the other.

Take a look at who is on the OGLES consortium, and who the person who drafted the OGLES spec works for. There is a reason OGLES was created, and why it was created when it was.

Dan East
drgoldie wrote:
can you tell what's done per pixel?
and what is the fillrate you achieve?


Sorry, but I'm not going into any further details until games have been released using the engine.

Dan East
wayne wrote:
The Yeti3D programmer has even done an Open GL version. There has been much Arm specific optomisation in the engine and I think his C compiler is probably also very optomised for the machine. Speed increases of upto a hundered 100%


I am working on a port of the yeti engine. I'll keep you posted :)
Yes this is what I am after (speed, quality and world editor). I was thinking of approaching him myself and asking him nicely if he would be interested in porting it, or maybe even volunteering myself. If his world editor is good it would be a great help towards game creation. The GBA creations excite me, because they have to be more resourcefull, which is good when applied to us.

Is this thing really as good as it seems to be? Are there any restrictions, like on free camera flight around and above the maps, or multi level maps? I look forward to hearing about it.

Thanks Drgoldie and Dan, Gerbera and Pocket GL, that is another couple of engines I was unaware of. I wouldn't mind making a list of all the engines out there for my sites links as well? Maybe this site would like such resource lists too, Dan?

Conan, thanks this is what I need to find out that there is a distinct lack, or exsistence of, of a suitable PC like tool. With everybodies knowledge I have a very good idea of the options. Readign through the 3Dengine links of the flipcode site (in a hurry) I discovered a disctint lack of handheld or voxel engines. I am cherry picking, to save heaps of time that cou;ld be used for game creation.

I agree about the other piont, renders that only work best in hardware are a poretty poor chioce for us, I wish they would think dual stratergy.

Wayne.
I was wondering, the Yeti engine, isn't that a 3DOF engine? so no tilting or looking up and down?
I thought I read that somewhere, could be that I'm wrong.
JoostB wrote:
I was wondering, the Yeti engine, isn't that a 3DOF engine? so no tilting or looking up and down?
I thought I read that somewhere, could be that I'm wrong.


Nope, 6dof. Don't take my word for it though, you can get the arm port from http://www.picsprint.com/download/zeti_arm.zip and the source from http://www.picsprint.com/download/yeti.zip.

See http://www.picsprint.com/download/yeti.png for a screenshot (haven't figured out how to imbed images yet :(

Does 30fps at 320*240 on my 2215. Won't work on older ipaqs with funny screen layout though. If you want to try that, you need to recompile and swap the dimensions.

There are a few quirks I haven't tried to iron out, the main point was to see how fast it was.

The engine would support multi level maps, the map design itself doesn't seem to.

Edit: Yeti homepage is http://www.theteahouse.com.au/gba/index.html
emh? what is the Yeti engine ? From the screen shot I can see a dungeon type level. Is it a functional game engine & can the source be built for PC & PPC?

I will download for a quick look. Ah, It's a GapiDraw application. The PC version is for Visual Studio.NET

ok, found the homepage & had a read. If this works on PPC it will be useful to many people
As an aside, I have also inherited the Gapi3d engine. I haven't done much with it yet though.

Sean
Dan East wrote:
OpenGL ES does nothing for software renderers. If anything it would hurt them. The spec is just too robust for a software renderer, making it too hard to handle so many generic cases.


yes, the number of generic cases is really a problem.
the solution i found is to autogenerate lots (up 735 at the moment) rasterfunctions that implement various feature combinations (z-testing, z-writing, texturing, blending, etc...). the developer can choose how many (meaning which) will be generated before compiling the library.

Dan East wrote:Also, OpenGL ES supports only one fixed point precision: 16.16. That is too large (bandwidth / cache-wise) for many uses. Engines like PocketGL only use shorts for coordinates and texture coordinates.


i don't think that the datatype size in which you specifiy vertices makes a large problem. as soon as the data is inside the engine you can transform them to anything you like (i like to keep most of them as 16.16 (for precision) and did not experience dropdowns due to TnL). of course it would make sense to specify them in the final datatype in the first place...

Dan East wrote:The thought of implementing a texture matrix in a software engine is laughable, so then you're stuck with having to use large 32 bit data types for all data.


again i don't think that this is a big problem. any SW implementation (at least mine) will let you turn off the general usage of texture matrices. and again those few multiplications do not hurt that much - especially compared to the workload of rasterization (can't use BSP to remove overdraw)...

Dan East wrote:Thus regardless of having some standard interface, I don't see how it is remotely realistic to write a game for one type of renderer (hardware or software), and expect it to be applicable to the other.


well i think it could make sense to develop with a software version as long as hardware rasterization is not out yet and switch then (in fact that's similiar to what developers do in long (2 year) projects on PCs). future devices will have wireless-mmx and hardware texturing support.

to sum it up: i fully agree that using a software based OpenGL|ES version for games is currently useless on PDAs. The reason why we develop SoftGL is to have a standard platform (OpenGL) for our work on handheld augmented reality. we were quite surprised how much interest there is from the research community in SoftGL...

DANIEL
Mr X

From the timing of your posts and your website I gather your in NZ. Good effort, I hope to see more of your stuff. Thanks for the IPAQ tip (I'm new to Pocket PC stuff, but I still miss my glowing long battery life Visor (apart from the slow processor and blue screen ;) ).

Wayne

Played the new Nokia Ncage yesterday, tomb raider, it was like playing an Atari Lynx on it side through a cupboard door, you just wanted to turn it on it's side to get a wider veiw (and the graphics were a bit woeful).
Conan wrote:
emh? what is the Yeti engine ? From the screen shot I can see a dungeon type level. Is it a functional game engine & can the source be built for PC & PPC?

I will download for a quick look. Ah, It's a GapiDraw application. The PC version is for Visual Studio.NET


Gapidraw is just used to provide a buffer and do page swapping. It would be trivial to port to PFrog or PHal if I had experience with either.
Ok, in that case I will maybe have a look at making it work with Frog/HALwhen time allows which won't be for a wee while as I'm trying to finish a game (it's great to be able to include that 'finish' word as I have been bashing away for so long & now the end is in sight)
Conan wrote:
Ok, in that case I will maybe have a look at making it work with Frog/HALwhen time allows which won't be for a wee while as I'm trying to finish a game (it's great to be able to include that 'finish' word as I have been bashing away for so long & now the end is in sight)


Just modify the yetice.cpp/.h files and you are there.

Hurry up and finish your game, I want to have a look.

Sean
Conan · 12 Oct 2003, 17:01 UTC — message to Sean
I added a few screen shots to my game update in the PF forum if you want to see what my game looks like.
drgoldie wrote:
you might want to have a look at SoftGL, our OpenGL(|ES) implementation for PDAs. it's not finished yet (in terms spec conformance), but you can join the beta test...

find more information at:
http://www.ims.tuwien.ac.at/research/ha ... softgl.php

bye,
DANIEL


Is SoftGL going to be some kind of free library when its finished? I've been in a six month state of limbo on my 3D engine. It works somewhat, but I gave up when 500 faces rendered at 12FPS flat shaded on my PocketPC. I'm either going to redo a bunch of it the right way, buy PocketGL, or wait for something cheap/free to make my game... Thanks!

Chris
DooMer_MP3 wrote:
Is SoftGL going to be some kind of free library when its finished? I've been in a six month state of limbo on my 3D engine. It works somewhat, but I gave up when 500 faces rendered at 12FPS flat shaded on my PocketPC. I'm either going to redo a bunch of it the right way, buy PocketGL, or wait for something cheap/free to make my game... Thanks!


SoftGL is going to be freely available as open source soon. In the next weeks i'll put it onto source forge. We plan to release it with two licenses: GPL and a (cheap, we do not aim big money) commercial license for everybody who has need for that.

Please keep in mind that SoftGL is not a high performance gaming engine. it does not support advances techniques such as BSP or similiar. As Dan already pointed out OpenGL is not very well targeted for a software implementation. This does not mean that it is not suitable for games at. At the moment rasterization is (to my knowledge) the big bottleneck on PDAs. This will change as soon as devices with hardware rasterization are out. Of course we plan to support those too by then.

DANIEL
oftGL currently features the following functionality:

Full projection and modelview matrix support
Full texture matrix support
Triangles, quads, fans, tri-strips, quad-strips
Vertex Arrays (limited to few data types)
Culling & clipping
Vertex lighting
Perspective texturing
Video background (glDrawPixels)
Switching between floating point emulation and fixed point at runtime


I've reproduced the SoftGL feature list above. See their site at the link a few posts back for more.

Can you say what file formats for mesh/texture loading will be available?

As my game separates 3D functionality from 2D there's a possibility that I could slot in SoftGL with only a few days work so I'm interested in the licensing.
Conan wrote:
It would be useful to know the feature list for SoftGL to allow folks to guage whether it's a viable alternative to PocketGL. eg: What file formats for mesh/texture loading, which OpenGL functions, Is it fixed point, how does it Blit etc,


Since SoftGL is an OpenGL(|ES) implementation there is nothing like mesh or texture loading in the API.
That's what a developer has to provide.

A list that compares features with OpenGL and OpenGL|ES is on the page SoftGL i posted before. There is also a list of all implemented API methods and a link to the documentation page that describes how each of those functions compares to the specs (this list is a little bit outdated, i'll have to update that soon).

If you have any specific questions feel free to ask...

DANIEL
ok, sorry I was updating my post while you were posting. As I don;t use OpenGL I'm missing something. What format does SoftGL expect meshes/textures to be in. It cannot render them without them being loaded so how have you loaded meshes to date ( or have you just coded the objects currently used?. There are a few samples around of model loading that I could look at & I will also have a look at some of the NeHe OpenGL tutorials to see how they load stuff.
well, there are different ways to specify meshes in OpenGL. one is to call glTexCoord/glNormal/glColor/glVertex for each vertex you want to send to the graphics card. the other possibility to send complete arrays at once (glDrawElements). in any case YOU have to do all the nifty details on your own. OpenGL is NOT a high level API.

We also ported Coin, which is an Open Inventor reimplementation and a very nice high level API that sits on top of OpenGL to the PocketPC, but Coin is surely far away from what you'd use for games (even on the PC). We use Coin because it has very good high level concepts and is perfect for quick application development...

DANIEL
Ok, so SoftGL does not compare with PocketGL directly as PocketGL includes a system (restrictive though it is) for loading databases of meshes & textures & manipulating them. (Uses 3DSMAX ASE files as input to the inbetween program which packs the data & very low res textures)
Conan wrote:
so SoftGL does not compare with PocketGL directly

that's definitely true on many levels. PocketGL is surely more targeted for games, but then OpenGL compliance of PocketGL is more or less zero.

btw: to my knowledge PocketGL is no longer updated...

DANIEL
drgoldie":ufargldj]


Understood. Yeah, I mean, OpenGL is OpenGL. People seem to have the misunderstanding that it is a game library, when it was never initially intended as that. It is not much more than a polygon renderer, getting it to do more than that is up to the programmer (by implementing your own system of meshes, BSP Trees etc)... Thanks for then info.

Chris
yes, Pierre Leroy, author of PGL does not update the product (though he has taken it further himself) and other people have added features. Having said that it's still the only cheaply available engine off the shelf & it's damn fast. If SoftGL's rendering is fast enough then taking a couple of months out to add on mesh/texture loading etc after my game is finished is a possibility. I had a look through gamedev.net & there are sufficient articles to make a good start.
as far as i know Pierre Leroy is now working for a company that does not allow him to publish his long ago finished 1.3 version...

at the moment SoftGL can not compete with PocketGL in terms of speed. i'm not sure if it will ever be as fast, since PocketGL's speed comes because of lots of constraints it makes (strange fixed-point format, no free projection matrix, very constraint pixel format, etc...).

on the other side i do think that we'll get very close to PocketGL and further when we start supporting wireless-MMX and hardware rasterization (when it's available).

DANIEL
The good news is that you don't need to be as fast a PGL to be fast enough for games. I do all sorts of inefficient things between PF & PGL swapping data back & forth & still get great speed so if I can get an engine where 2D & 3D share the same back buffer I will save all the extra copies I do at present.
Conan wrote:
The good news is that you don't need to be as fast a PGL to be fast enough for games. I do all sorts of inefficient things between PF & PGL swapping data back & forth & still get great speed so if I can get an engine where 2D & 3D share the same back buffer I will save all the extra copies I do at present.


well, the indexed backbuffer format was one reason for me, why PocketGL was not really an option. we display video background taken from a camera and it really looked awfull with the indexed coloring.

vertex throughput is already quite good in SoftGL.
the geometry of our floor in the following picture is rendered really fast...

Image

what's currently a little bit weak is the texture setup. i do this per triangle and always fully correct (calculating all gradients for 1/z mapping).

the texture rasterization itself is again quite fast (~25 fps for fullscreen texturing of few triangles and no overlapping). i don't know how much you can get out of a PDA here at the moment (any pros want to share some insights on numbers...?)

btw: all numbers are on a 3970.

DANIEL
I have just finished a port of the latest yeti 3d code. I get 30fps for a full screen doom type map. This is without any sound, much ai etc but is full 6dof.

Unfortunately I can't share the source as it is under an nda.

I also have Gapi3d which I am looking at taking over from the original author. Gapi3d is based on Gapidraw and uses similar calls to Direct 3d. I want to open source this if I can find any willing colaberators.
Sean I'm not familiar with the GAPI stuff, but if the commands are simular to directx is there any possibility of hardware support/API translation layer for when POcket PC's get 3D acceleration?

How many frames per second should a Quake2/Quake3 quality level achieve?


Wayne.
-------------
handheld2000.org
Just been following links and have discovered another 3D engine over at Pocket PC Development Network:

http://www.pocketpcdn.com/libraries/diesel.html

But most of the engines mentioned in this thread don't seem to be listed there.

Well it looks like were listed all the engines currently pubiclly available, and not a volumetric one among them.

Thanks for everybodies help, and hope to get onto something this year, or next.

Wayne.
The Diesel engine was several tens of thousands of dollars when it first came out ( so I decided to buy PocketGL at $49 ). You can download it to try (or at least I did a while ago)
I heard that the Diesel engine was only capable of displaying 1000 polys on an entire level...
Conan wrote:
The Diesel engine was several tens of thousands of dollars when it first came


Understood (pity they haven't figured in the returns from Pocket games). Small price for developement tools and a amount per copy would have been a good option.

Anyway it's good to know it exists as an option.

I've found another one (a guy on the forums actually):

http://www.xengames.com/gwnews.html

It appears that hte backgrounds aren't stills.

Wayne.
You're right, of course... the background is realtime-rendered :)

What is it that you're trying to do, out of curiosity..? Your initial post mentions volumetric 3d engines on PPC/Palm/Java platforms. Imho, if you're prepared to nail your game down to more specific requirements, you're more likely to get better results. Both in terms of supported platforms (e.g 3d performance on Java would be pretty weak, tho Superscape might interest you..) and the game type itself (e.g for a FPS-> indoor/outdoor levels, sprites/3d enemies, lit/unlit/dynamic lights, etc).

For the engine itself, as has already been said, your choices aren't great! From what I've heard though, what X-forge may lack in raw rendering speed, it makes up for in terms of development tools, support, etc which can really speed up the dev cycle, giving more time to spend on the game itself. In terms of performance though, the irony is that the coolest 3d engines are being done by independent game developers atm... who don't really have the additional resources required to handle engine licensing (documentation, support, fixes, demos/tuts, etc). And, for an engine as complex as the 4Sight engine (used in Gang Warfare), that adds up to a lot of extra work!

Diesel: I'm not really one to publicly bash companies... but anyone seriously considering paying the fee asked for dieselengine should email me. For half the money, i'll write you a way faster renderer. In HTML.
(Then again, they probably offer documentation and support for their engine, so its a tough call I suppose... :P)
wayne wrote:
Sean I'm not familiar with the GAPI stuff, but if the commands are simular to directx is there any possibility of hardware support/API translation layer for when POcket PC's get 3D acceleration?

How many frames per second should a Quake2/Quake3 quality level achieve?


Depends on the api, but it should be possible.

Quake 1 gets 14fps full screen (from memory, could be wrong)...
T¹ wrote:
Diesel: I'm not really one to publicly bash companies... but anyone seriously considering paying the fee asked for dieselengine should email me. For half the money, i'll write you a way faster renderer. In HTML.


That really made me laugh ;).

The reason I mentioned the listing on the developer network is that it only has two engines and the guys should submit their engines, because anybody reading that thing is going to get way the wrong impression of choices to develope their game with. Take me for instance, nice flowery virgin to the Pocket PC scene comes allong trying to locate big hansome 3D engine, with the right assortment of tools (not carstrated obviously, boy you can tell I've been up all night). I say "roll up the chioces boys, but I'd prefer big hansome volumtetric one across the shoulders, if there is one, or fast with the tools of the trade". After a few posts it looks worse than I feared, hardly anything at all. I could have been a person that says ".... not worth it" "blah blah blah" "bye". It took x amount of pages (half the engines I found myself after X tens of hours browsing (which really puts me in a bind as to things I should have been doing instead) to find the true state of play. But I'm OK with that. The problem is the informationj is so wide spread, unconnected and not properly referenced and correlated for developers and lone programers/hobbyst to be referred to the list (used to be a faq file) of chioces, they could even find themselves within minutes. On my website I spent at least 100 maybe 100's of hours just collecting links and exploring information, so that people would have enough information to just directly find what they want and start work on something amazing or new. Because for the community to grow, and the gaming scene to develope, people need references to obtain the best information and tools, to develope the best games for the market to grow. To get a move on into new directions. Pocket PC's should be walking over the Gameboy Advanced by now, but still the little wonder is so close behind. I was thinking of correlating the references and updating the links on my website. The information was so thin I was even thinking of volunteering to Pocket Matrix to put up a reference link page for newbies and developers alike, but then I clicked on a link and found out about the excellent resources of the Pocket PC Development Network. Along with the flipcode site (and another one I found off of it) it covers most of what is needed.

Now your questions, it all has to do with effort versus revenue return (I'm really a bit of a manager). I know if I can use good tools I can concentrate on great content and save myself a lot of stress for the small returns from Pocket PC games. With a common engine and code base I can potentially publish to all customers and end up with a resonable return return (and potentially larger for the large mobile/GBA market).

I am really sorting through it and picking the best engine for the jobs, I knew there wouldn't be many out there. It doesn't really matter what floavour of engine as long as it's true free floating 3D, fast and the visual style looks good. Playability, enjoyment and content is all upto me. These are the things that people like. Tools are just a big big loving bonus, but I would rather quality graphics with a basic tool/s then a halfbaked ones with great tools.

Java performance should be adequate if I were to compile it, or run it under Jazzel, and combine it with a real machine code/accelerated 3D engine. The opcode thing is way bad for perfomance.

Quiet frankly (forgive me I've been up 25 hours) I could make a much better 3D volumetric engine quicker than I could learn the ins and outs of 3D polygon engines. In much less than 100K. Unfortunately for legal reasons (Patents, if possible, I know, "boo hiss", I didn't finish top in my Uni degree so I could remain sick and poor the rest of my life) and others, I'd prefer to keep my ideas to myself for the moment (unless somebody would like to fund me, hint, hint out there of course). You see it costs alot of money that I don't have, for a patent and regular patent costs as well, let alone big money just to defend a patent (and that is likely if you don't have the money to start with). Even if the potential returns are high, where is the money going to come from in the first place. The second thing is that because of my health I am a one job at a time fellow, and my Virtual OS (and other goodies) have to come first, That is why I can't afford to get side tracked into learning modern 3D and making 3D engines (tools tools give me tools instead). The OS is worth more to society than a another efficent 3D engine. Thirdly the Volumetric design I have in my head uses some of the technique from the OS, and is the 3D engine of the OS, so I don't want to loose controll of it because it is visual advantage. Before I got into researching/making a conventional 3D engine I realised that it was way complex/time consuming, and good games could be made on the ID/Unreal engines without piontlessly wasting time reinventing the multi-tone 3D wheel. Being physically sick at the time and finding it way hard to concentrate or think as well, I lay down my tools and gave up, deciding to use a third party engine when the time comes. Because of the complexity of it I started getting insightfull ideas of how to do 3D really simply, eventually lending up with the present Volumetric ideas, bypassing many of the conventional tactics. This is the same as I did with my OS, except I had a thourogh grounding in older OS design. Even if I developed the engine freeware there is the possibility that some of the technique would get illegitimately patented by other parties and turned on us (I know they are not allowed to do that but it does happen and it costs big dollers to get a invalid patent overturned). Fourthly I don't fancy coding it in Armv4/5/6 code, then having to mostly rewrite it again in the virtual code of my OS. But the irony is that this don't pay the bills that is why I am looking at getting into doing great games. Life is confussing isn't it?

Ahhg there's another couple of hours down the drain.
Mr X wrote:
Quake 1 gets 14fps full screen (from memory, could be wrong)...


What machine/processor is that?

Thanks

Wayne.
wayne":2sh4izpn]


Mine :) HP 2215. Have a look in the Pocket quake forums for benchmarks.
Mr X":3fd90a4j]
wayne wrote:


But PocketQuake still uses (emulated) floating point, doesn't it?

Which should mean an integer-only Quake-style engine should be able to run significantly faster. Especially If you can get away with affine texture mapping on most polys.

It should be possible to do a Quake1-quality FPS at 30fps+ on decent PPCs, if it's designed and coded for the ARM processor, using all integer/fixed-point maths and as few divides as possible, not ported from an x86/floating point engine
Mr X wrote:
Quake 1 gets 14fps full screen (from memory, could be wrong)...


Sorry Sean, I meant how many frames a second would a Quake 1/2 style level get through Yeti3D?

Here is a link to the 4 core Arm 11 chip with vector floating piont tech that Arm and Nec have announced:

http://www.arm.com/news/NEC2010


Thanks

Wayne.
wayne wrote:
Sorry Sean, I meant how many frames a second would a Quake 1/2 style level get through Yeti3D?


I have ported the latest version of yeti which has quake style maps. I don't think that the map format supports true multilevel but that is a consequce of the map format,not the engine.

It still gets approx 30fps on my machine. However you need to allow for sound, ai and more (3d) monsters.

See

http://www.picsprint.com/download/zeti_bin.zip

Yeti is available for licensing, btw. It is expensive, but if there is any interest, I might see if I can get a change in the licensing terms.

Sean
chuawenching · 21 Oct 2003, 14:03 UTC
Hi there.

Can i run zeti in the pocketpc 2003 emulator?

Thanks.
PocketPC emulator is a piece of cr4p.

It's better to compile your app for win32 (native) and then recompile it for WinCE when you want to test on the target device.
The demo includes a x86 build for regular windows.

Looks pretty nice. Quite primitive, but it seems to work well. I see static lightmaps (no dynamic), decent collision detection (only noted 90 degree walls though, which would require a much simpler algorithm if that is that is an actual restriction), no perspective correction.

Dan East
chuawenching · 21 Oct 2003, 15:42 UTC
Thanks a lot. But i still confuse with:

It's better to compile your app for win32 (native) and then recompile it for WinCE
--> You mean i can develop an app on windows xp and run properly on pocket pc without modifying a single code?

Is that what you mean?

Thanks.
Providing you write your app a certain way, yes the source code will be compatible with both PC and PPC, but you will still have to compile for each target, of course. (The exe won't work on both.)
chuawenching wrote:
You mean i can develop an app on windows xp and run properly on pocket pc without modifying a single code?


I had to modify 3 or 4 lines :) .

The engine has dynamic light mapping. The previous build showed this quite well.

Mapping is cell based, so I image that it is 90 degree only. I will check.

Sean
Mr X wrote:
It still gets approx 30fps on my machine. However you need to allow for sound, ai and more (3d) monsters.


Good.

Mr X wrote:
Yeti is available for licensing, btw. It is expensive, but if there is any interest, I might see if I can get a change in the licensing terms.

Sean


Ohh, not freeware, ok. What about a small price for development tools ($25-50US) and an amount per copy ($1-50cUS on volume)? Or free development tools and an up front fee ($500-1000US on volume) when ready for market (a publisher would even pay that for top game), or something inbetween? This would ease the cost of independent developement. But if it is less then this already, even better ;) .

Thanks Sean

Wayne.
Actually yeti has just gone gpl.

http://theteahouse.com.au/gba/

I'll put up my code to compile on the ppc in the next few days.

Sean
Sounds good. I will have a good look at the rendering changes needed to get it working for PocketFrog.
Hi

Speaking as the Windows Virgin here,

I've just bought a Virtual Boy, and I've decided to look into portting an emulator over to it, as good practice to get back into programming C and Windows. I thought I might as well look at portting the Windows version over to the PocketPC too.

Tell me more about this programming compatability between variouse Window versions and the Pocket PC's, what do I need to look out for, and can anybody suggest any good Windows programming primers out there for me to look at?

Wayne.
I've just checked out the Yeti home page, way cool. I can't wait for the game he is working on too come out, from the sample screen shoots, including the one shown in the level editor screen shoot, it is impressive, the guy has style. This reminds me a bit of how Unreal raised the bar a bit in terms of style.

I haven't got to read the GPL yet, but does this allows somebody to develope under under GPL and if they come up with a good product apply for license?

I like the way the Level Editor is going. Will it be available for third parties to do custom extensions like, integer based: physics approximation, AI and object/environmental animations/automations engines?

Thanks

Wayne
GPL means that you can make whatever changes you want, but if you publish any derived work then you also need to make the source publicly available for free. If you wanted to keep your changes to yourself, you would need to approach Dereck to get another license.

Source to the level editor is included, it requires c++ builder to compile.

For my pocket pc port, I used GapiDraw to handle all the screen stuff. Gapidraw is already cross platform so it was just a matter of creating projects in evc3, evc4 and vs 2003. I just use a couple of #defines to rotate the screen.

See gapidraw.net and try their tutorials. Pocket frog is also, I think, cross platform.
PocketFrog works on PC, HPC and PocketPC devices.
GapiDraw works on PC, PocketPC & has a Symbian port under development.
So basically, from what you are saying, I can start for free under GPL, and if it looks profitable and decide I should publish, instead of giving it away (apart from any user donations), the Yeti cheif would automatically grant me a license for $3000US? Sounds fair. Could you suggest the fee structure examples I posted before to the cheif?

Good, once I sort out my present commitments I should be able to look into it in a few months.

Mr X wrote:
For my pocket pc port, I used GapiDraw to handle all the screen stuff. Gapidraw is already cross platform so it was just a..


Bingo, there's the rub. The code I would be porting doesn't use GAPI, only Windows API's. Still are the two windows that disimular When it coes down to simple game/emulator programming?

Thanks for the tutorial suggestions, Sean.

Wayne.
I suggest anyone interested in seeing the Yeti engine go & download the OpenGL port which is a .exe with a doom level type demo link above in Sean's post.

It does a very good job of rendering a dungeon type environment & may be a good starting point for a game of that type.

Question to Sean, if I want to get this working on PF would I be best to start with the 'vanilla' download or your GapiDraw version ? I had a look at your code & found it hard to follow given all the GD bits n bobs missing etc.
Conan wrote:
Question to Sean, if I want to get this working on PF would I be best to start with the 'vanilla' download or your GapiDraw version ? I had a look at your code & found it hard to follow given all the GD bits n bobs missing etc.


Use my code. It is mostly straightforward, but there are a few traps for young players in the yeti code (rotating sprites, 555->565 conversion etc).

I should have a version uploaded today. I'll include porting instructions.
AlienKinetics · 14 Nov 2003, 06:39 UTC — Yeti3D Development
Hi Guys,

wow, people talking about my work. Its kinda a strange feeling.

Ok, RE: GPL. Yes, I beleive you can develope under GPL and then purchase a license apon release. The choice is yours.

My understanding is, data files loaded at runtime do not have to be released with the source. ie: Quake II GPL doesn't come with Quake II data files. You must still purchase the full Quake II CD to play. (Idea!)

RE: Yeti3D limitations. Yes, the current version has geometry limitations, but there are many tricks I'll be adding soon. ie: 45 degree corners, curved floors and ceilings. The world is made up of quads, so you can always render cracks, skirting boards or switchs. ie: You could have a control panel texture that is extruded to 3D when its rendered using a high map. Imagine each quad as a 64x64 terrain! You can revert to single square in the distance. Corridor beams would jut out from the walls.

Other tricks involve using models to render world objects like beds, lamps, candels, trees, doors, boxes, wooded beams and lifts. You can also map cell lighting onto models for real time shadows.

You can use the old "build" engine water trick. ie: Have water at level 0 and use two maps. Swap the maps when the entity moves from negitive Z space to positive Z space.

The great thing about using these tricks is, they can be switched off or swapped to sprites on low end processors! Plus, everything can be blown to bits. Something you cant do in a BSP style world.

Plus, the world map format is a little over 64kb! Even if Quake I/II ran on mobile phones, who would pay the phone bill to download new levels? At just 64kb, you can write real time RPG games, or sell extra maps via phone call payments. All these business options will boom late 2004. Maybe mid 2005 for countries like Australia.

The CUBE engine is amazingly flexable. It just takes a little bit of experimenting.

Im pretty sure the Tomb Raider engine used the same algorithms, so lets see.... You have the GPL code, you have the power, go forth and create. If you have some cool ideas, contact me.

Anyway, thanks for the great comments and interest. It makes living off peanut butter on toast worth while :-)

Kind Regards
Derek Evans (Yeti3D Author)
http://www.theteahouse.com.au/gba/
wayne · 14 Nov 2003, 10:20 UTC — Yeti3D Development
Wellcome Derek, it is great to have you here! Unfortunately people stopped posting here (and the other thread on the Quake III) a while ago, but they will probably pick it up through the email notification service. I appreciate your efforts to push the boundaries of the GBA and hope that people will do simular things for the PPC and Palm in the future as they try to push the boundaires.

AlienKinetics wrote:
Ok, RE: GPL. Yes, I beleive you can develope under GPL and then purchase a license apon release. The choice is yours.


Thanks, sounds good. I look forward to all those tricks. I understand you programmed it in C is there any chance of an assembler version in the distant future?

AlienKinetics wrote:
Plus, the world map format is a little over 64kb! Even if Quake I/II ran on mobile phones, who would pay the phone bill to download new levels? At just 64kb, you can write real time RPG games, or sell extra maps via phone call payments. All these business options will boom late 2004. Maybe mid 2005 for countries like Australia.


Yes this is very lucrative third parties could make money out of a game like this by selling levels and mods. Unfortunately most present phones only accept applications upto 64K, future versions (like N-cage) should push the limits.

AlienKinetics wrote:
Anyway, thanks for the great comments and interest. It makes living off peanut butter on toast worth while :-)


Unfortunately I'm often to sick to live off penut butter. I wish you the best and hope you make some descent money out of the engine so you can afford some descent food (otherwise you could lend up like me ;)

I used to have a AI lecturer in Rockhampton called Evans, are you related?

Tnanks
Wayne.
Come to think of it I attended a music school run by a guy called David Evans from Adelaide way.

Wayne.
AlienKinetics · 14 Nov 2003, 23:34 UTC — Yeti3D Development
Hi Wayne, Yea, I could be related, but there are a lot of evans foke running about.

RE: ASM version. I cant code ARM, so, mmm, I dont see it happening. But, the C code is extremely fast anyway. Its actually faster than most ARM code I've seen on the web. The texture mapper is the result of about 5 years of refinement. The code is very small and simple. I do have a ARM texture mapper for the GBA version.

Think of this engine as a hispeed subdivision culling system. Basiclly you can render entities any way you want. ie: particle explosions.

I added terrains last night, which looks nice. The cell algorithm allows complex models to be merged into the pipeline at almost no cost. Culling is also very very accurate.

keep well.
Derek
I have ported the latest version to the ppc. It runs fullscreen at 22-33fps depending on the size of the room and the number of models.

I'll post a link as soon as I get an optimised version for ppc2002.

Sean
Mr X · 16 Nov 2003, 20:27 UTC — Yeti 2 port
I have ported my yeti port from gapidraw to pockethal. the net result is a gain in frame rate from 17-30 to 25-40 fps (ipaq 2200). Quite a substantial gain.

This is the latest version of the yeti code, and include colored lighting and md2 model support.

YOu can download the arm binary from http://www.picsprint.com/download/yeti.zip .

Note that as this code is non gpl, I can't provide the source

Yeti is at http://www.theteahouse.com.au/gba/index.html

Please let me know about any compatiblity issues, and what framerates are achieved.


Sean
Wow! Are you sure your estimate wasn't a bit low? I never dip below 20FPS, and have gotten up to 50 on a 3955, much slower than a 2215! Besides the distortion when looking up and down (is that in the GBA version?) I'm really impressed.
The 39xx are in fact faster than 22xx, because of the MediaQ in the 22xx.
Are you sure? Look at the PQ benchmark archive, 2215 is the 2nd fastest device in there next to the A620.

By the way Mr X, would you mind a posting about this on PocketGamer? I'm sure many people would find it interesting.
sponge wrote:
Are you sure? Look at the PQ benchmark archive, 2215 is the 2nd fastest device in there next to the A620.


Ok, let me explain why the 22xx is not a dream device for game developers.

framerate = 1/((time to compute the frame + time to copy the frame on the real screen)/1000)

Thanks to the mediaq "accelerator" chip the time to copy the frame on the real screen of the 22xx is about 16-17ms.

This is not very important for a 15FPS game, because it's just about 25% of the total frame, but if your game is intended to run at 50FPS its 80% of the total frame not leaving much for the actual game...

So if you want to know if a device if fast to run CPU expensive tasks at low frame rate then the PQ benchmark is good.

Hopefully the 22xx have a fast CPU, some devices have both a slow CPU and a mediaq or an ATI chip (Dell Axim, Toshiba e330, etc)
AlienKinetics · 17 Nov 2003, 05:10 UTC — Texture Warping
Hi Sponge,

The warping is due to the walls being rendered using single rectangles. The higher the wall, the more warping. But, thats only with YETI_LOW_QUALITY_WALLS

When you remove that switch, the walls are chopped up into 64x64 rectangles. So, if the room is 256 units high, then the wall will contain 4 smaller polys.

This was added for the PS1 port since the PS1 doesn't support texture wrapping. Faster devices can uses this mode too increase quality. I think it took about 3-4 FPS's off the GP32 port, which is running at 30-40 FPS.

The latest version is starting to look cool, and the texture mapper can be patched with a perspective correct mapper.

Regards
Derek Evans
http://www.theteahouse.com.au/gba/
OK I have uploaded a mildly updated version with low quality walls turned off. There is slightly less warping in the walls, but that is the only difference.

I don't have much to add to StephC's comments. The mediaq has a dismal flip time so performance suffers on the 22xx. I did get a huge performance boast by changing to PocketHal instead of Gapidraw, so that must do better swapping.

I'll do a submit to pocketgamer shortly.

Sean
If the screen is stored in common memory that might effect it, in normal double/triple buffering from graphic memories the update speed shouldn't effect it too much as it should be able to be performed in the background while the next frame is rendered. The difference might also be in how PQ does it's rednering, or maybe your running PPC2003 and Sean is running PPC2003.

Ohh, by the way, Amazing!

But how come the GP32 scores are so close, even their Quake scores are a little to close to the SA 206. The Windows .net Gametrac device might be a good target too (220Mhz).
Hi

Between 35 to 62 fps on a Toshiba e800
very nice