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 - Radan

Pages: [1]
Window / Get win32 window handle (HWND) *SOLVED*
« on: July 14, 2010, 07:19:48 pm »
Quote from: "Laurent"
But using SFML to create a DirectX window is not the best choice, almost everything in sf::Window is based on OpenGL.

Is anybody already aware of any problems I might encounter that make this combination (D3D + SFML) unusable? Could I be taking a dead end path?

Basically, I did not start with SFML and then decide on DX instead of GL. I pretty much started with DX since I have much more experience with it and then discovered SFML. I really like the SFML library but I prefer D3D to OpenGL. I would just like to use sf::Window to clean up my window creation and manipulation code and I have always planned on keeping all of the rendering firmly in my own code, going straight to D3D/GL. Moreso since I plan to use all of the other SFML libraries (Input, Sound, Network) as the only solution for those segments.

Would that be ok or am I missing something from the picture?

Window / Get win32 window handle (HWND) *SOLVED*
« on: July 13, 2010, 11:15:32 pm »
Is there any chance this fix will get into SFML 2?

I would really like to use SFML for window management (as well as network and input) cause it cleans up my code nicely but I really need to extract the WindowHandle from it.

I am making a hobby game and I am using DirectX. At some point I plan to use OpenGL as well for non windows platforms but for DX I am forced to modify SFML source every time I upgrade the version. If this very simple functionality would be added in SFML 2.0 that would really open a new range of possibilities for application of sf:Window.

So, any chance?

Pages: [1]