PB with nativ OpenGL vs PureBasic 4.0 Sprite3D

Advanced game related topics
DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

IceSoft wrote:
DarkDragon wrote:Can someone explain me more exactly what "Comparison between PureBasic and OpenGL" means? I don't understand it ... :? PureBasic has nothing to do with OpenGL, you can just control it in PureBasic.
I see you are a german man. ;-)

Here we comparing:

1) OpenGL nativ function called with PB 3.94
2) PB4.0 Sprite3D functions

Is it this what you want to read?
No, because OpenGL = Renderer and Sprite3D = Engine used with DX, it's like you compare people with cars. People use cars, but aren't in the same group like cars. So what's the sense of the comparison? If opengl is slower: DirectX is faster as it is the native renderer of windows. Otherwise you have a newer OpenGL version and a better driver. And it's system independent what's faster and what's slower.
bye,
Daniel
User avatar
IceSoft
Addict
Addict
Posts: 1699
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

DarkDragon wrote:
IceSoft wrote:
DarkDragon wrote:Can someone explain me more exactly what "Comparison between PureBasic and OpenGL" means? I don't understand it ... :? PureBasic has nothing to do with OpenGL, you can just control it in PureBasic.
I see you are a german man. ;-)

Here we comparing:

1) OpenGL nativ function called with PB 3.94
2) PB4.0 Sprite3D functions

Is it this what you want to read?
No, because OpenGL = Renderer and Sprite3D = Engine used with DX, it's like you compare people with cars. People use cars, but aren't in the same group like cars. So what's the sense of the comparison? If opengl is slower: DirectX is faster as it is the native renderer of windows. Otherwise you have a newer OpenGL version and a better driver. And it's system independent what's faster and what's slower.
I changed the title for our germans ;-)

I compare PB 3.94 using nativ OpenGL functions with PB 4.0 using Sprite3D (DirectX)
And not cars vs peoples ;-)

@DarkDragon (German sentence)
Daniel,
Du bist ein unverbesserlicher Dünnbrettbohrer.
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

I understand the title ja, but listen to me: OpenGL is a very different group than Sprite3D of PureBasic! You are comparing cars with peoples. OpenGL can do pretty much, Sprite3D can do less. OpenGL is a renderer(different group), Sprite3D is a engine(has nearly nothing to do with the renderer, just the displaying part is the same). OpenGL will always be smaller than Sprite3D. The speed depends on the system you have, so you can't compare the speed and there's nothing else to compare if you want the same programs just with different displaying methods.
bye,
Daniel
User avatar
IceSoft
Addict
Addict
Posts: 1699
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

SoulReaper wrote:I have an xp 1800
it seems to be on 2% with 800 sprites, strange i guess the gfx card is doing all the work.
I double checked it and it remains the same at 2%
Regards
Kevin :wink:
That is a great result. But 2% is unrealistic :shock:
about 45-55 % it a correct value.
Which gfx card to you having?
Last edited by IceSoft on Wed May 03, 2006 7:03 pm, edited 1 time in total.
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
SoulReaper
Enthusiast
Enthusiast
Posts: 372
Joined: Sun Apr 03, 2005 2:14 am
Location: England

Post by SoulReaper »

IceSoft wrote:
SoulReaper wrote:I have an xp 1800
it seems to be on 2% with 800 sprites, strange i guess the gfx card is doing all the work.
I double checked it and it remains the same at 2%
Regards
Kevin :wink:
That is a great result.
Which gfx card to you having?
I have a ATI Radeon 9800 pro 128 meg version :shock: :wink:
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

PB Version:
1200 Sprites 65 FPS
800 Sprites 100 FPS ( Screen runs on 100 hz also )

1 - 4 % CPU load
--
AMD Athlon 64 3800+ / Geforce 6800 GT / 256 MB



For some reason the OGL Version wont display sprites here..Initializes then ...just blue BG.

Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
pjay
Enthusiast
Enthusiast
Posts: 282
Joined: Thu Mar 30, 2006 11:14 am

Post by pjay »

:oops: Here's the working version..... apologies :D

File:1->PBlimp3b.rar
Image

You'll need the blimp4.bmp found in IceSofts download.
User avatar
IceSoft
Addict
Addict
Posts: 1699
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

pjay wrote::oops: Here's the working version..... apologies :D
You'll need the blimp4.bmp found in IceSofts download.
Seems to work ;-)
Thanks.
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
SoulReaper
Enthusiast
Enthusiast
Posts: 372
Joined: Sun Apr 03, 2005 2:14 am
Location: England

Post by SoulReaper »

wow :)

In the openGL one i got 1550 sprites at 65 FPS & DeltaFPS 65
very nice indeed. :wink:
DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Uhm you even can't compare that 2 programs: the one has a different text to display than the other.

PureBasic:
FPS 29
CNT 150

OpenGL:
Bilinearstate: I don't know, it's the default one
Qty(whatever this means) 150
FPS 20 DeltaFPS 60

Bilinearstate: 2nd state(two clicks on B, so the other text appears on the sprites, first click on B does nothing)
Qty(whatever this means) 150
FPS 20 DeltaFPS 60
bye,
Daniel
User avatar
IceSoft
Addict
Addict
Posts: 1699
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

@SoulReaper, @DarkDragon
And the values for the CPU Load?

Thanks.
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

At the data I wrote:

PureBasic:
50-80%

OpenGL:
99%

OpenGL Version 1.2(newest driver)
bye,
Daniel
SoulReaper
Enthusiast
Enthusiast
Posts: 372
Joined: Sun Apr 03, 2005 2:14 am
Location: England

Post by SoulReaper »

@IceSoft

The amount of Sprite as above

In the openGL one i got 1550 sprites at 65 FPS & DeltaFPS 65
CPU is on 99% as well :wink:
User avatar
Michael Vogel
Addict
Addict
Posts: 2823
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

How will give us the source to learn from it? :idea:
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

I agree, you can't do those kind of comparisons.

It's like comparing myself with an asshole, I'll beat you up!.
:lol: :!:
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
Post Reply