Search found 294 matches
- Wed Mar 04, 2015 10:27 am
- Forum: Programming Discussion
- Topic: OpenGL Textures with SDL
- Replies: 8
- Views: 3298
- Wed Mar 04, 2015 10:22 am
- Forum: Programming Discussion
- Topic: OpenGL Textures with SDL
- Replies: 8
- Views: 3298
Re: OpenGL Textures with SDL
That is... strange. I'd say your image loading code (whether it's your own or a library) is loading the image data incorrectly, or at least in a strange way. If you are not familiar with how image data is stored, I recommend this recent video from computerphile . GL_BGR is basically the same as GL_R...
- Tue Mar 03, 2015 4:18 pm
- Forum: Game Development
- Topic: Unreal 4 Engine is free
- Replies: 2
- Views: 5875
Re: Unreal 4 Engine is free
The source code, which was part of the subscription, is now free as well.
- Tue Mar 03, 2015 10:47 am
- Forum: Programming Discussion
- Topic: OpenGL Textures with SDL
- Replies: 8
- Views: 3298
Re: OpenGL Textures with SDL
Not an opengl expert either, but you have to make sure to pass the right format to the glTexImage function. It all depends on the way you're loading the image data, but since you didn't mention that I can't help you much. Make sure you understand what the parameters are ( docs ) and check the docume...
- Mon Feb 23, 2015 10:40 am
- Forum: General/Off-Topic
- Topic: owncloud
- Replies: 0
- Views: 20859
owncloud
I just read estk devlog002 and saw this on the bottom: To my team: I'm compiling the new Windows build right now and will have it up on Owncloud within the next few minutes. Are you guys using owncloud? I am a big fan and user of the project myself. That's great! Yes, the post has been around for a ...
- Sat Feb 14, 2015 1:10 pm
- Forum: General/Off-Topic
- Topic: Richard Dawkins fan mail
- Replies: 3
- Views: 6769
Re: Richard Dawkins fan mail
Ah, so this is where I got this video from. Thank you sir, you made my life much happier.
edit
Also, youtube recommended to me this one after a while, which is equally funny:
edit
Also, youtube recommended to me this one after a while, which is equally funny:
- Wed Feb 04, 2015 5:24 am
- Forum: Programming Discussion
- Topic: Python threading SUCKS, Multiprocesses dont (as much)
- Replies: 4
- Views: 5578
Re: Python threading SUCKS, Multiprocesses dont (as much)
I thought that was a known fact. Your explanation is almost true, but things are much messier than that. Your solution, though, was correct: just use multiple processes instead of multiple threads. Python's stdlib makes it relatively easy to move from one to the other. If you are really curious, thi...
- Mon Feb 02, 2015 3:34 pm
- Forum: Game Development
- Topic: A game that will blow your mind
- Replies: 5
- Views: 6940
- Mon Feb 02, 2015 10:17 am
- Forum: Game Development
- Topic: A game that will blow your mind
- Replies: 5
- Views: 6940
A game that will blow your mind
At least it blew mine:
- Sat Jan 31, 2015 4:51 pm
- Forum: Programming Discussion
- Topic: Dear Apple
- Replies: 6
- Views: 4851
Re: Dear Apple
I don't know about obj-c, but c rules are that types get promoted when two different types are compared. I don't have a reference right now, but one of the rules says a signed int gets promoted to an unsigned int. $ cat > test.c #include <stdio.h> int main() { printf("%d\n", (unsigned int)...
- Sat Jan 31, 2015 4:47 am
- Forum: General/Off-Topic
- Topic: We 'bout to get hammered
- Replies: 7
- Views: 7348
- Thu Dec 11, 2014 4:16 am
- Forum: Programming Discussion
- Topic: Questions regarding qt
- Replies: 1
- Views: 1525
Re: Questions regarding qt
Not an authorative answer, but I'm pretty sure the lower levels of their environment (engine and libgyro) don't use qt. I don't remember if Falco mentioned it at some point or if I just concluded from the fact that it's a huge (unecessary) dependency to include. They use it on the rest of the tools,...
- Fri Oct 31, 2014 7:04 am
- Forum: Programming Discussion
- Topic: Safe Division
- Replies: 12
- Views: 6347
Re: Safe Division
Floating point exception (core dumped)guding12 wrote:Why set fReturn to 0 when it's going to divide by zero anyways? I rate this
- Thu Oct 30, 2014 11:22 am
- Forum: Programming Discussion
- Topic: C4Android
- Replies: 3
- Views: 2190
Re: C4Android
Not trying to lead the conversation astray, but on my android tablet I use a combination of vps/lan server + ssh + tmux + vim. I wonder how an android IDE deals with libraries such as sdl, which certainly aren't included on the os.
- Thu Oct 23, 2014 10:36 am
- Forum: Programming Discussion
- Topic: Problem calling free() from another function [SOLVED]
- Replies: 5
- Views: 2385