RE: HADES3D project
- Posted by grigorem at yahoo.com Jan 20, 2002
- 410 views
To C. K. Lester, Of course GENESIS3D and JET3D sites are not up to date because Wildtangent gave up developing those engines. But, anyway those are one of the best free open source engines available online. Maybe that's why I started to work at HADES3D, part of HADES3D is written in C, and in future I intende to continue work on genesis3d. Someone has to finish this. So if you want to enjoy this project read the message below ( and answer to me ) : Hello , This email will be send to all who are going to join this project. I need to tell you that there are other persons also interested in this project. So, a list with those persons who can work together until now : Chris Bensler bensler at mail.com Patrick Barnes mistertrik at hotmail.com and me. I belive in this, and I will do all my best to make HADES 3D working. Chris Bensler ask me : "Have you started already?" Yes, I have a working "demo". I have read almost all C code source of GENESIS 3D I have all the interesting stuff about. If you want let's make the first step ! Patrick Barnes ask : "What is the difference between genesis and jet?" Teoreticaly JET3D is a new version of GENESIS3D, it has some enhacements, but is very bugy and unfinished. Both of the projects are practicaly abandonated by the authors. We can not only write a wrapper for Euphoria, we can continue developing even GENESIS 3D or JET 3D. But this is another story... Why two different names ? It is something about copyright. Some years ago the Development of GENESIS3D was taken by Wildtangent. And Wildtangent renamed the project JET3D. If you write code for using GENESIS you can port it very easy to JET3D. By this point of the message you have to download the genesis3d and read the documentation. I will use some concepts from GENESIS3D ! II. ARHITECTURE OF HADES 3D GENESIS3D <->HADES.dll <->hades.ew <-> Your program in EUPHORIA This is the idea : Most of the functions from genesis.dll are accesed through hades.dll ( it is more simple than using direct in euphoria the genesis.dll ) If you will look at the C source code of the genesis.dll you will see a lot of complicated data type. The authors of genesis never think that this will be used in another programming language so you will have to do with a lot of "strange" situation in euphoria. Try to create a geXForm3D, for example, write and read data into and from this structure, allocate memory, again and again ... It can be made of course but at what price ? So, for me, was more simple to make a dll that interact with genesis.dll and Euphoria. ( the moment I decide to follow that way, was when i spend two day trying to create a "FileSystem". My program in euphoria always crash when I call geVFile_OpenNewSystem, I don't know why ! ) So, that's it. I try to make a simple interfaces to genesis. For example to see the logo screen you have to write more code that you imagine, using directly genesis.dll Using Hades 3D you have to write a single line ! BLA, BLA, BLA . Let's start ! Now my demo do those things : // Start the Genesis3D Engine geEngine_Create // Turn on or off the FPS geEngine_EnableFrameRateCounter // Set the gamma geEngine_SetGamma // Get the DriverSystem object. HADESDrvSys = geEngine_GetDriverSystem //WRITE A LIST WITH ALL DRIVER AND MODE //AVAILABLE IN YOUR GRAPHIC CARD //IN A FILE, IN A COMPREHENSIBLE WAY //( DIRECTX, SOFTWARE RENDERING etc ) // Create main file systems // Create and set the camera //PICK UP AND SET THE VIDEO DRIVER AND MODE //YOU SELECTED .... OK. FINALY YOU WILL SEE THE GENESIS3D LOGO AND THE ENGINE IS WAITING TO CONTINUE ... I build my HADES.DLL to return the simpliest type of data it can. If you still want to start working on Hades 3d you will need : GENESIS from www.genesis3d.com To read the documentation and take a look to source code. Search for interesting thinks on the links page ... or wait until I made myself a web page with links to all what you need. EUPHORIA of course ! and Microsoft VISUAL C 6.0 When you are ready, probably the HADES3D site will be online. ( I have a questions : can you give me a address for a good free site hosting services ? I problably use geocities but if i can find something better ... ) We need to have a starting point so download and look at GENESIS3D ! Ask me anything ! I will answer you as soon I can. And just a little thing : Please tell me what you can do best ( in programming of course :) ) I want to broke this project in different parts so we can manage it. I am happy to write this email... to you. GRIGORE Enescu Madalin