Info: Sorry for posting this very long mail with two sources! Please read carefully and check if you have any problems on your system too or not... However, please report the result and on which config you have tested both versions (CPU, GfxCard i.e. with driverinfo, DirectX, Ram) - Many thanks in advance for your help and to the persons testing and trying to find the problem too, before i will now post it here.

Hello @ all,
i wrote a very small newskool graphic demo example using 2D and 3D sprites. Seems there is somewhere a prob in my source (can´t find it) or a hidden bug in purebasic!? So i started with two versions of the source code. Both sources are exactly the same intro... The only differents are:
Code: Select all
TroubleWorkVersion: 2D and 3D (both) are in only one innerloop like following fast basic example and runs only in 25-26 fps on my machine!
Repeat
For
2D
3D
Next
Until
FineWorkingVersion: In this version i use for 2D and 3D an seperate innerloop instead to put both in only one innerloop, even if both loops are 100% the same, like following fast basic example which runs smooth at 52-53 fps on my machine!
Repeat
For
2D
Next
;
For
3D
Next
Until
To test following two source you need following image, you can download at: http://mitglied.lycos.de/secretlygb/LightCircle.bmp
Source of TroubleWorkVersion (2D and 3D in one innerloop)
Code: Select all
; -----------------------------------------------------------------------------------------------------------------------
;
; PureBasic Line() - Newskool Budbrain Effect - Example File v1.0 >>> Trouble working version oldtime, we will create a new sprite + actual timer -------
;
If oldsec newsec
;
; -------- Get actual Hour --------
;
If Info\wHour
[u][b]Source of FineWorkingVersion (2D and 3D are using own innerloop.[/b][/u]
[code]
; -----------------------------------------------------------------------------------------------------------------------
;
; PureBasic Line() - Newskool Budbrain Effect - Example File v1.0 >>> Fine working version oldtime, we will create a new sprite + actual timer -------
;
If oldsec newsec
;
; -------- Get actual Hour --------
;
If Info\wHour
Maybe the problem is my fault somewhere in code... i really cant find it out... So many thanks for your support...
greetz
MrVainSCL! aka Thorsten
PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX9.0, SB AWE64, Win2000 + all Updates...