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.

Topics - Daevius

Pages: [1]
Window / Display() is decreasing my FPS dramatically
« on: March 15, 2008, 09:33:42 pm »

As the title says. I have a FPS of only 64 with some light-weight drawings with OpenGL. I did some experimenting, it seems that Display takes all time, when I remove that function I get a huge FPS. I turned VSync on and off, but didn't make any difference.

Do I HAVE to call Display if I only use OpenGL output? What else do I wrong?


Feature requests / Some idea's reagarding to window handling
« on: March 15, 2008, 10:49:52 am »
Hi, I tried to build an application where I would make a loading window, then load everything (into OpenGL) (textures, audio etc etc), then I would create the main window and after that destroy the loading window. The point is that you can only load textures into OpenGL when the window is already opened. So I had to rewrite the window creation part a few times, these were some problems/things I ran into:

1. The second created window (my main window) starts minimalised. I didn't find any function to put maximalise it.

2. When I slightly modified the code, the second created window (my main window) started unfocused. It was behind the first created console in CodeBlocks (for debugging), though in release mode it would not occur, it would still be nice if we could make a window on focus.

3. After small changes, I wanted to load the main window and make it just not shown (loaded but not shown). When I made it not show after initialisation it, ofcourse, displayed for a few milliseconds and then disappeared. It would be nice if we could hide a window from start, and unhide it when needed. This way the window is initialised and can be showed very quickly.

4. After the loading was done, I wanted to destroy the loading window. I now use 'new' and 'delete' for that, but perhaps a function called 'destroy' in the class would be nice too. (I'm quite new to C++, can I call the deconstructor manually?)

5. Error handling. SFML automatically outputs to the console when an error occured. Thats nice, but what if I output printf() to a file and want to use my own error handling? It would be nice if we could use something like 'geterror' and it would return the latest generated error. And eventually 'geterrno' which would return a error code which can be identified and dealt with.

Just some idea's/suggestions, I really like SFML :), would be wonderfull to see it improved even more :).


Audio / Linking to static library files instead of dynamic ones
« on: March 14, 2008, 07:22:59 pm »

Can I somehow link to the static libraries instead of using .dll's?

It seems that I have to install OpenAL, or is this fixed with OpenAL soft?


Graphics / MingW compiler errors with sfml-graphics
« on: March 13, 2008, 10:21:10 pm »
E:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: BFD 2.17.50 20060824 assertion fail ../../src/bfd/cofflink.c:2266
E:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: E:\Packs\SFML\lib/libsfml-window.a(dukfs00021.o): illegal symbol index -1962934271 in relocs
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

Thats what I get with my MingW compiler in CodeBlocks. I've rebuild the library myself, still got this problem, what can I do to fix this?


Window / Windows without borders
« on: March 13, 2008, 10:04:34 pm »

First of all: great library! I love it :)

To the point: How can I create a window without the standard border? I'd like to make a splash-screen, and I rather do not want the borders (caption etc) for that. Is that possible in SFML like in SDL?


Pages: [1]