@Fred: v4 Sprite2D und 3D question...

Everything else that doesn't fall into one of the other PB categories.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

@Fred: v4 Sprite2D und 3D question...

Post by va!n »

hello fred!
just a small question about v4... afaik you may think about an option to select between using DX7,DX8,DX9,OGL...!? If so, you dont must comment it... i am still patienced to see the final and its results :wink:

But if you want add something like this, it would be nice when the user dont must compile a DX7 only, a DX9 only, an OGL only version for example... What about adding a command instead slecting by the compiler options what engine the user want to use? For example it could looks something like:

Code: Select all

InitDrawingEngine(#PB_DX7|#PB_DX9|#PB_OGL)  ; Including Engine routines to exe...
UseDrawingEngine(#PB_DX9)   ; Init the defined engine at progstart... 

If the coder add this three flags for example, the engine for DX7 based, DX9 based and OGL based drawing options will be added/included to the exe... So you can code a game or demo and the user can select between DX7,DX9,OGL for example instead having for each version an standalone executeable!? Hope you guys got the point of this idea!? ;)

Anyway keep on your nice work and stay cool...
regards...
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

What you're suggested is good, but Fred told us, I think, that it will be an option we would choose with the compiler, and so only one rendering engine by exe.
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Exactly. You can still write a front end to selected which exe to launch, i don't think it's really problematic. Another problem of virtual stuff like that is each call will be from a function pointer instead of direct call, so for every game related function you will have a small hit, which is not really good when performance is a must have.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

@fred:
i agree with you... your solution is the best way... you are doing a great job! keep it on ...
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Brice Manuel

Post by Brice Manuel »

I agree with Fred. :D
Post Reply