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

Pages: [1]
1
General / Weird crash in glDrawArrays
« on: January 19, 2012, 08:16:38 pm »
Oh, then I have some more questions.

1. Why?
2. Do I need to do it once or every frame?
3. Are there more opengl settings I need to set to make it act as if it's a new context?
4. Is there a way to avoid having to set them?

2
General / Weird crash in glDrawArrays
« on: January 18, 2012, 09:51:35 pm »
Hello,
I am getting a crash with SFML from current git HEAD on this code: http://sprunge.us/BcDG

Backtrace:
Quote

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x0000000101bab554 in gleRunVertexSubmitImmediate ()
(gdb) bt
#0  0x0000000101bab554 in gleRunVertexSubmitImmediate ()
#1  0x0000000101baa5db in gleLLVMArrayFunc ()
#2  0x0000000101baa5ab in gleSetVertexArrayFunc ()
#3  0x0000000101b95f03 in gleDrawArraysOrElements_ExecCore ()
#4  0x0000000101b206b8 in glDrawArrays_Exec ()
#5  0x00000001000016b2 in DrawCube () at src/DrawCube.cpp:49
#6  0x0000000100001815 in main () at src/DrawCube.cpp:67


Happens on win/linux/mac.
Did I do something wrong or did I stumble upon a bug?
I tried running the same Draw function in GLFW and it worked.

3
General discussions / New global inputs in SFML 2
« on: July 28, 2011, 05:45:21 pm »
Quote
It is just this issue which is more complicated to achieve, in general the new input system is much cleaner.

The most common case got a lot more complicated to make it "cleaner"?
I can't see any common use case where I would want to get the keyboard state while the window is unfocused. (except for a keylogger).

Keeping track of the window focus seems like the easiest way of doing the common case. Perhaps providing a window.HasFocus() method would make it simple again.

4
General discussions / A new logo for SFML
« on: June 09, 2011, 09:42:39 pm »
I like the new logos :)

Btw, you should try hosting the images with http://imgur.com/

5
General discussions / Save SFML Wikipedia page
« on: June 08, 2011, 01:14:19 am »
The wikipedia entry for SFML has been marked considered for deletion, because it doesn't have any references and is not considered "notable".
Does anyone know about any good references, books, projects that uses it etc. that could convince them otherwise?

6
SFML projects / [sf3d] a project for 3D rendering
« on: June 08, 2011, 12:52:55 am »
Nice! It looks a lot like my personal helper classes. Maybe I'll contribute :)
Did you consider using AssImp for loading 3d meshes?

@Jallen: What is more minimalistic than SFML? I wouldn't say SDL is simpler to use than SFML.

@Nexus: IMO I find it fascinating to have something so simple you can keep the whole code in your head :)

7
Network / Making my C++ software work on Ubuntu Server
« on: June 07, 2011, 11:33:29 pm »
Try installing:
Code: [Select]
sudo apt-get install libsfml-dev

8
General discussions / SDL vs. SFML
« on: June 07, 2011, 11:00:37 pm »
I have used SDL for a long time, before I found SFML.
Actually, I made a wrapper for SDL in C++, to make it easier to use, which looked a lot like a small part of SFML.

Pages: [1]
anything