Page 2 of 4

Posted: Wed May 03, 2006 2:45 pm
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.

Posted: Wed May 03, 2006 2:50 pm
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.

Posted: Wed May 03, 2006 3:42 pm
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.

Posted: Wed May 03, 2006 6:57 pm
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?

Posted: Wed May 03, 2006 7:02 pm
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:

Posted: Wed May 03, 2006 9:11 pm
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

Posted: Wed May 03, 2006 9:18 pm
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.

Posted: Wed May 03, 2006 9:25 pm
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.

Posted: Wed May 03, 2006 9:41 pm
by SoulReaper
wow :)

In the openGL one i got 1550 sprites at 65 FPS & DeltaFPS 65
very nice indeed. :wink:

Posted: Thu May 04, 2006 5:03 am
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

Posted: Thu May 04, 2006 5:41 am
by IceSoft
@SoulReaper, @DarkDragon
And the values for the CPU Load?

Thanks.

Posted: Thu May 04, 2006 5:49 am
by DarkDragon
At the data I wrote:

PureBasic:
50-80%

OpenGL:
99%

OpenGL Version 1.2(newest driver)

Posted: Thu May 04, 2006 10:19 am
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:

Posted: Thu May 04, 2006 10:32 am
by Michael Vogel
How will give us the source to learn from it? :idea:

Posted: Thu May 04, 2006 10:50 am
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: :!: