Restored from previous forum. Originally posted by Skully.
Hi,
Ive seen many OpenSource 3D engines out there that integrate with C++ etc, would those be able to plug into PureBasic as well?
Skully
SoftSkull Productions
http://24.69.16.68/
3D Engines
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Danilo.
Its easy to use a 3D engine that comes as
a standard DLL.
I used the 6DX engine ( http://www.aztica.com/ )
last december with PureBasic and it worked fine.
Just a few lines of source and i could go through
a nice map (10 minutes of work).
But most new and good 3D engines are OOP, and
PB doesnt support easy Object Oriented Programming.
The 6DX engine is now also OOP (COM/ATL), so you cant
use it easily anymore. All fine with VB, Delphi or
C/C++ ...but with PB its not easy and the source
would look very bad (all OOP stuff with CallCOM()).
I have looked at many, many 3D engines - and 6DX was
one of the best and cheapest ($199).
Look at the 3D engines list: http://cg.cs.tu-berlin.de/~ki/engines.html
and http://www.3dengines.de/ (new site) and try out 100 engines.
Only very few are really good, but that doesnt mean you can
use it with PB. As i said, most engines are OOP nowadays.
If the full source is included (in many free engines),
somebody can translate the C/C++ source and make a
library for PureBasic. Yes, thats possible - if you know
100% C and C++, many 3D algorithms and ofcourse DirectX
or OpenGL.
The sources for big and good engines are very big
(few MB source), so its not a thing for most people
here to do that.
Fred has looked at this things too, and it looks
like 3D is coming to PureBasic in the future.
Round about v4.0 or later (not 100% sure), so its
not the NEAR future.
Play with some engines from the list (URL above) -
its much fun to do that with PB (yes, its is! ).
Maybe you can find a GOOD engine that can interface
with PureBasic (standard DLL for example, no ActiveX/ATL/whatever).
And dont forget to tell here, when you found something right..
cya,
...Danilo
(registered PureBasic user)
Its easy to use a 3D engine that comes as
a standard DLL.
I used the 6DX engine ( http://www.aztica.com/ )
last december with PureBasic and it worked fine.
Just a few lines of source and i could go through
a nice map (10 minutes of work).
But most new and good 3D engines are OOP, and
PB doesnt support easy Object Oriented Programming.
The 6DX engine is now also OOP (COM/ATL), so you cant
use it easily anymore. All fine with VB, Delphi or
C/C++ ...but with PB its not easy and the source
would look very bad (all OOP stuff with CallCOM()).
I have looked at many, many 3D engines - and 6DX was
one of the best and cheapest ($199).
Look at the 3D engines list: http://cg.cs.tu-berlin.de/~ki/engines.html
and http://www.3dengines.de/ (new site) and try out 100 engines.
Only very few are really good, but that doesnt mean you can
use it with PB. As i said, most engines are OOP nowadays.
If the full source is included (in many free engines),
somebody can translate the C/C++ source and make a
library for PureBasic. Yes, thats possible - if you know
100% C and C++, many 3D algorithms and ofcourse DirectX
or OpenGL.
The sources for big and good engines are very big
(few MB source), so its not a thing for most people
here to do that.
Fred has looked at this things too, and it looks
like 3D is coming to PureBasic in the future.
Round about v4.0 or later (not 100% sure), so its
not the NEAR future.
Play with some engines from the list (URL above) -
its much fun to do that with PB (yes, its is! ).
Maybe you can find a GOOD engine that can interface
with PureBasic (standard DLL for example, no ActiveX/ATL/whatever).
And dont forget to tell here, when you found something right..
cya,
...Danilo
(registered PureBasic user)