3D in PB?

Just starting out? Need help? Post your questions and find answers here.
PBasic
New User
New User
Posts: 6
Joined: Tue May 22, 2007 2:47 pm

3D in PB?

Post by PBasic »

Is PureBasic able to create 3D games? With DirectX or OpenGL?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Yes.
PBasic
New User
New User
Posts: 6
Joined: Tue May 22, 2007 2:47 pm

Post by PBasic »

"Yes" meaning what... OpenGL or DirectX?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Both.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

there has been written a LOT about 3D in PB in this forums.

here is a hint for you:
Image
oh... and have a nice day.
PBasic
New User
New User
Posts: 6
Joined: Tue May 22, 2007 2:47 pm

Post by PBasic »

I HAD searched for this in forums- shoulda searched more:)
Thanks for the answers- and 1 new Question (helps me to decide if I'll buy PureBasic):

-Is it able to create professional games? (professional not meaning Aliasing x 200 or Ultra-shaders BUT support for:
-loading maps, playing movies (AVI), saving games, translucency, collision detection, mp3 loading, midi loading, rotation, curve paths etc)
Last edited by PBasic on Wed May 23, 2007 11:43 am, edited 1 time in total.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Yes. (most of those it can do.)
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

PB is able to handle those tasks, but some of them can be really a lot of hard work to implement.

PB is a good procedural programming language,
it is capable of all Desktop-Surface functions (Windows, Buttons, all kinds of Gadgets),
and it is definitely no 3D-Game-click-together-tool.

there are a lot of wrappers for 3D-Engines for PB besides the base-implementation of OGRE,
there is Irrlicht, Dreamotion3d, Xtreme3D, mmEngine3D...
http://www.purebasic.fr/english/viewtopic.php?t=27118


sorry for the short and not-too-friendly answers before, seemed you did not search,
and wasn't obvious that it is a decision-help for buying PB.....
Last edited by Kaeru Gaman on Wed May 23, 2007 1:27 pm, edited 1 time in total.
oh... and have a nice day.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Is it able to create professional games?

Are these sites professional enough for you?

http://www.restricted-area.net/screenshots.shtml
http://www.bgames.org/gamesen.html

All games found on them are written in PureBasic. :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

PB wrote: Are these sites professional enough for you?
no because they are not 3d games!
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Well, I was replying to his direct quote of just "professional games".
He didn't say "professional 3D games", even though it was implied. :P
Next time I'll read more slowly and remember the context. :lol:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Brice Manuel

Post by Brice Manuel »

thefool wrote:no because they are not 3d games!
Some were not even done with PB's default gaming capabilities, as the requirement for a couple of the games is DX9 :roll:
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Some were not even done with PB's default gaming capabilities

PureBasic with API calls is still PureBasic. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Brice Manuel

Post by Brice Manuel »

PB wrote:Irrelevant, as the language used was still just PureBasic. ;)
He was asking about the gaming capabilities of PB, showing him a game that doesn't use the gaming features of PB, is "Irrelevant" as it is showing the work of a 3rd party graphics lib, not PB. LOL. :P

Now for the real truth show, TheFool was wrong, as some of those games are indeed 3D, as they are using D3D7, aka Sprite3D. They are just not using the Ogre 3D engine :roll:
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Brice Manuel wrote: Now for the real truth show, TheFool was wrong, as some of those games are indeed 3D, as they are using D3D7, aka Sprite3D. They are just not using the Ogre 3D engine :roll:
oh well :roll:
Why do you say they don't use purebasic specific features and then tell me they use sprite 3d?
He didn't say "professional 3D games", even though it was implied.
thats true
Next time I'll read more slowly and remember the context.
Take this as a lesson for next time.

:lol:
Post Reply