X3 Reunion graphics again. This time raytraced.
@THCM, Derek, citystate
Many thanks, that was very helpful!
@THCM, Derek
Here I'm getting always the same numbers +-2ms at most. It's probably just the timer that works different on Intel CPU's. I'll fix that.
100% usage is great, and your timings (kind of) reflect that. So this is just an issue with vsync and my thread sync between frames. At least thats an easier fix than most other reasons I thought of.
The C2D is now closer to the speed I expected, and what's better: the scaling from dual core at 1,86GHz to quad core @2,4GHz is like 100%. Wow!
My memory usage is very excessive right now. I'll fix that, too.
@citystate
I'm surprised about that speed drop. On the other hand... those timings are still better than I expected from a Celeron. Even at 3,33GHz.
But I think I know what caused the speed drop. Should be better in my next (real) demo.
Now I've got some work to do...
Cheers,
Hades
Edit: Issues (hopefully) fixed. New exe
Many thanks, that was very helpful!
@THCM, Derek
Here I'm getting always the same numbers +-2ms at most. It's probably just the timer that works different on Intel CPU's. I'll fix that.
100% usage is great, and your timings (kind of) reflect that. So this is just an issue with vsync and my thread sync between frames. At least thats an easier fix than most other reasons I thought of.
The C2D is now closer to the speed I expected, and what's better: the scaling from dual core at 1,86GHz to quad core @2,4GHz is like 100%. Wow!
My memory usage is very excessive right now. I'll fix that, too.
@citystate
I'm surprised about that speed drop. On the other hand... those timings are still better than I expected from a Celeron. Even at 3,33GHz.
But I think I know what caused the speed drop. Should be better in my next (real) demo.
Now I've got some work to do...
Cheers,
Hades
Edit: Issues (hopefully) fixed. New exe
@dige
Thanks for that report. It sounds like you have an old OpenGL version that doesn't support non power of two textures (OpenGL 1.1 from Microsoft?). Somehow I forgot to about that.
I will try to code a workaround.
@Derek, citystate
Thanks! No further problems?
Edit: New exe. Edit2: Replaced by the right exe.
OpenGL non power of two texture problem solved.
.ini file added to...
-support windowed mode
-change screen/window resolution
Thanks for that report. It sounds like you have an old OpenGL version that doesn't support non power of two textures (OpenGL 1.1 from Microsoft?). Somehow I forgot to about that.
I will try to code a workaround.
@Derek, citystate
Thanks! No further problems?
Edit: New exe. Edit2: Replaced by the right exe.
OpenGL non power of two texture problem solved.
.ini file added to...
-support windowed mode
-change screen/window resolution
Last edited by Hades on Thu May 24, 2007 3:30 pm, edited 1 time in total.
Oh no.
Sounds like I've packed the wrong exe. That's probably a shader that encodes the distance to the hit as a color.
I'm at work now, so it'll take some time to verify that.
On the other hand... now you've got an impression how much time is spent for lighting and texturing.
But that part still unoptimized PureBasic code, so there's still some room for improovement.
Sounds like I've packed the wrong exe. That's probably a shader that encodes the distance to the hit as a color.
I'm at work now, so it'll take some time to verify that.
On the other hand... now you've got an impression how much time is spent for lighting and texturing.
But that part still unoptimized PureBasic code, so there's still some room for improovement.
The shader still isn't fully optimized.
Instead I've added shadows, and the light moves now.
There are also some keys with added functionality.
Esc : quit
1-7 : raytracing resolution
F : toggle Fullscreen / windowed
L : toggle Light movement
Q : toggle shader Quality
V : reset View
WSADEC / Numpad 854693 : move
cursor-keys : rotate view
>>Full demo<<
Have fun,
Hades
Instead I've added shadows, and the light moves now.
There are also some keys with added functionality.
Esc : quit
1-7 : raytracing resolution
F : toggle Fullscreen / windowed
L : toggle Light movement
Q : toggle shader Quality
V : reset View
WSADEC / Numpad 854693 : move
cursor-keys : rotate view
>>Full demo<<
Have fun,
Hades

