|
|
scott wrote:
>> Now, I'm thinking I'm seriously doing something wrong here with the
>> C++ version, but I can't figure it out. And without a profiler, I
>> can't spot bottlenecks in my executable.
>
> Looks nice, but I'd say it definitely looks GPU bound for some strange
> reason rather than CPU bound on my PC:
>
> Particles FPS CPU %
> 0 60 00
> 200 60 00
> 300 60 01
> 320 30 05
That's REALLY strange, on my PC the CPU % goes up to 50 (ie, one entire
core)!
> What I would add to your program to debug further:
>
> a) Add an option to disable rendering each frame (ie just do the physics)
Huh, I even tried that on my machine, and it didn't change anything, so
I didn't think it was the graphics... but, I'll try using OpenGL
directly, rather than the ClanLib sprite API.
--
...Ben Chambers
www.pacificwebguy.com
Post a reply to this message
|
|