Page 1 of 3
CMG3D Engine in the works, written in Purebasic...
Posted: Thu Nov 13, 2003 8:55 pm
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
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
Posted: Thu Nov 13, 2003 9:04 pm
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.
Posted: Thu Nov 13, 2003 9:17 pm
by blueznl
is it going to be available to all pb users for (non) commercial purposes when it's done?
Posted: Thu Nov 13, 2003 9:28 pm
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.
Posted: Thu Nov 13, 2003 9:43 pm
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.
Posted: Thu Nov 13, 2003 9:58 pm
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.
Posted: Thu Nov 13, 2003 10:03 pm
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
chunick@codemonger.com
Posted: Thu Nov 13, 2003 11:05 pm
by Fred
Sounds promizing ! Keep us in touch

Posted: Fri Nov 14, 2003 12:45 am
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.
Posted: Fri Nov 14, 2003 2:00 pm
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.

Hey cody
Posted: Fri Nov 14, 2003 2:35 pm
by MisterDr
I can help you in your project if you wish, I have time now.
Posted: Fri Nov 14, 2003 6:08 pm
by vanleth
A very good initiative!
Will follow the progress with great interrest.
Thumbs up Codemonger
Posted: Sat Nov 15, 2003 10:57 pm
by dontmailme
I'd love to help, but don't have the knowledge either
I'll help test though

Posted: Sun Nov 16, 2003 12:07 am
by Codemonger
Hey guys sorry I haven't replied sooner. Testing will come soon enough, It'll only be available obviously to PB users

. 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.
Posted: Sat Nov 22, 2003 1:05 am
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?
