Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - richardwb

Pages: [1]
1
Window / Holding down Lots of keys
« on: April 02, 2010, 07:48:17 pm »
Try a search for n-key rollover and take a look at this Wikipedia article.

2
Window / MouseWheel Delta Value
« on: January 15, 2010, 10:55:34 am »
That particular mouse does have a smooth scrolling wheel.

If this helps any, I've found that in my own Win32 code (not SFML related) I had to accumulate the delta value (in the high word of wparam) and check if it added up to WHEEL_DELTA or more.

http://msdn.microsoft.com/en-us/library/ms645617%28VS.85%29.aspx

Quote
To use this feature, you can either add the incoming delta values until WHEEL_DELTA is reached (so for a delta-rotation you get the same response), or scroll partial lines in response to the more frequent messages.

3
General discussions / Benchmark : SDL vs SFML
« on: January 11, 2010, 08:23:46 am »
I spent a bit of time and gathered the necessary libraries (it took some time) to provide an additional data point for this benchmark. I used Jonny D's version of the benchmark. This is on a Core 2 Quad @ 3.0GHz, 8GB RAM, Nvidia 8800GT under Vista 64-bit and Visual Studio 2008.

There were some visual inconsistencies in the dynamic text benchmark.

Code: [Select]
1/ Test : sprites
SDL  displayed 168 frames
SFML displayed 736 frames
--> SFML is 4.38x as fast as SDL

2/ Test : alpha-blended sprites
SDL  displayed 12 frames
SFML displayed 505 frames
--> SFML is 42.08x as fast as SDL

3/ Test : per-pixel alpha-blended sprites
SDL  displayed 16 frames
SFML displayed 709 frames
--> SFML is 44.31x as fast as SDL

4/ Test : rotating sprites
SDL  displayed 30 frames
SFML displayed 691 frames
--> SFML is 23.03x as fast as SDL

5/ Test : static text
SDL  displayed 756 frames
SFML displayed 7273 frames
--> SFML is 9.62x as fast as SDL

6/ Test : dynamic text
SDL  displayed 116 frames
SFML displayed 3697 frames
--> SFML is 31.87x as fast as SDL

7/ Test : dynamic text w/NFont
SDL  displayed 606 frames
SFML displayed 4575 frames
--> SFML is 7.55x as fast as SDL

Pages: [1]