CMG3D Engine in the works, written in Purebasic...

Advanced game related topics
Codemonger
Enthusiast
Enthusiast
Posts: 384
Joined: Sat May 24, 2003 8:02 pm
Location: Canada
Contact:

CMG3D Engine in the works, written in Purebasic...

Post by Codemonger »

I am now creating a 3D engine called:

CMG3D

I am currently drawing up the software architecture and layout design for the engine, as it is a big task. It will be created specifically for purebasic and will not be open source. If you are interested in joining this project and wan't more information follow the link below to read up :D

And a special thanks to Fred for providing access to Directx 9 in such a simple way, I've waited a long time for this feature.

http://www.codemonger.com/Forum/forum_p ... FID=8&PR=3
<br>"I deliver Justice, not Mercy"

    - Codemonger, 2004 A.D.
Codemonger
Enthusiast
Enthusiast
Posts: 384
Joined: Sat May 24, 2003 8:02 pm
Location: Canada
Contact:

Post by Codemonger »

Oh yeah, for all you CAD lovers, I will integrate line support emulating OpenGl and High Precision Math for doubles. To remove all artifacts when doing complex 3d structures for high end applications. This isn't a high priority, but it is on my list. So the engine can be somewhat diverse.
<br>"I deliver Justice, not Mercy"

    - Codemonger, 2004 A.D.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

is it going to be available to all pb users for (non) commercial purposes when it's done?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Codemonger
Enthusiast
Enthusiast
Posts: 384
Joined: Sat May 24, 2003 8:02 pm
Location: Canada
Contact:

Post by Codemonger »

It'l have a watermark embedded on the display for non-commercial use, so everybody can have a crack at using it.

It will be proprietarty to purebasic and will integrate into your code like any other command. Their will be no need to create objects or do initializing yourself.

It will be written 100% in Purebasic, and injected into your source code upon compilation. You will have access to all DirectX9 functions as well as a structure that acts as an immediate layer of data between your app and Dx9. This way you can use the high level commands and then change the internal structure at any time.. example would be to call

CMG3D\Init3D(#CMG3D_ScreenMode,#CMG3D_BPP, Width.l, Height.l)

and create a windowed app, well maybe you only wan't a portion of the window to be rendered or you want to change the default window handle that it will be rendered to. This can all be done by changing values in the structure that lies between the High Level functions and DX9.
<br>"I deliver Justice, not Mercy"

    - Codemonger, 2004 A.D.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

That is awesome. Its great since DX9 allows you to have different view points at once, and allows you to render normal window controls/gadgets onto a directx window AND fires events, so you can easily make your own GUI with any Visual Editor :) Cool beans!

I know this is early, but have a basic price structure set yet? I'll definately be interested if there was a way to integrate networking into... wait a minute, you said Directx9, meaning DirectInput, DirectPlay, etc will all be implimented? This must be worth at least $$$ then.
Codemonger
Enthusiast
Enthusiast
Posts: 384
Joined: Sat May 24, 2003 8:02 pm
Location: Canada
Contact:

Post by Codemonger »

Yes the engine will include all other DX9 misc. components such as Direct Input, Direct Play, Direct Sound ... But the requirement will be to have to have purchase Pure Basic to help this community grow even larger. As far as money goes i haven't yet thought of it yet, but the competition will be against the $100 dollar engines or languages that are now available. such as Ibasic, BlitzBasic, DarkBasic, Cipher, PowerRender, TrueVision, Morfit(3dstate), Torque and others ...

This is not an instant project, this will take time, and my own investment of money etc.. But I have been on top of this subject for many years now and all I needed where the right tools for the right job. With the speed of Pure Basic and the simplicity of BASIC language, it will be very exciting to see what comes of it.
<br>"I deliver Justice, not Mercy"

    - Codemonger, 2004 A.D.
Codemonger
Enthusiast
Enthusiast
Posts: 384
Joined: Sat May 24, 2003 8:02 pm
Location: Canada
Contact:

Post by Codemonger »

Oh .. if anyone is interested in becoming a part of this in the long run, let me know. Maybe you have extensive experience with the other 3d engines, then this could be your chance to help build a better one. If you interested and would like to join my one man team (so far) contact me. Oh and if anyone was wandering, I am not 14 years old. I have many years of experience programming and professionally teaching programming. Just had to let people know that might not take this post seriously :lol:

chunick@codemonger.com
<br>"I deliver Justice, not Mercy"

    - Codemonger, 2004 A.D.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Sounds promizing ! Keep us in touch :)
Codemonger
Enthusiast
Enthusiast
Posts: 384
Joined: Sat May 24, 2003 8:02 pm
Location: Canada
Contact:

Post by Codemonger »

Thanks Fred,

I will be asking many many questions, as I will stumble on many bugs in the future. But hopefully something concrete comes from this. Something we could all use for our 3D needs.
<br>"I deliver Justice, not Mercy"

    - Codemonger, 2004 A.D.
User avatar
J. Baker
Addict
Addict
Posts: 2181
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

Kool, this is what PB needs. A 3D engine made with PB. Can't wait, wish I could be of some help but I've never done anything like this. Keep up the good work. :D
MisterDr
User
User
Posts: 41
Joined: Mon Sep 29, 2003 4:14 pm

Hey cody

Post by MisterDr »

I can help you in your project if you wish, I have time now.
vanleth
User
User
Posts: 79
Joined: Sat Jun 28, 2003 4:39 am
Location: Denmark - Valby

Post by vanleth »

A very good initiative!

Will follow the progress with great interrest.

Thumbs up Codemonger
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

I'd love to help, but don't have the knowledge either :(

I'll help test though :)
Paid up PB User !
Codemonger
Enthusiast
Enthusiast
Posts: 384
Joined: Sat May 24, 2003 8:02 pm
Location: Canada
Contact:

Post by Codemonger »

Hey guys sorry I haven't replied sooner. Testing will come soon enough, It'll only be available obviously to PB users :D . As far as writing the core engine I should be OK on my own right now. But testing will become far more important.

Right now I'm just organizing things so they come together properly. If anyone knows ASM I would really appreciate some help in the future with math routines. It's not needed right now, but in the future, it could add a huge increase in calculations as the 3Dengine will be doing lots of those.

I have already converted some macros into faster routines in PB, so the impossible is always possible. Anyway, it's great to know there is interest out there. Tonight I will be hard at work on the engine.
<br>"I deliver Justice, not Mercy"

    - Codemonger, 2004 A.D.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

you're going for shadows, curves, lightmaps and all that stuff as well?

directx 9... does that mean it won't work on my current geforce4 4800se? :-(
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply