Generally getting assets off disk and into memory.

learn more… | top users | synonyms

0
votes
1answer
1k views

SFML fail to load image as texture

I have come to a problem with the code below ... Using SFML 2.0 #include <SFML/Graphics.hpp> #include <iostream> #include <list> int main() { float speed = 5.0f; // create the ...
0
votes
0answers
42 views

Why is glMapBufer returning NULL?

I'm not trying to stream or anything, I just want to speed up my file loading code by loading vertex and index data directly into OpenGL's buffer instead of having to put it in an intermediate buffer ...
0
votes
0answers
71 views

Async Task for splash screen in OpenGL project

I'm confused over the application of an asyncTask for a simple Android splashscreen. I'm talking specifically about within an OpenGL game. Because of the nature of OpenGL, 2 things spring to mind ...
0
votes
0answers
102 views

Making a texture bank, pointer in vector killing me

I'm trying to make a texture bank. I'm not 100% as to whether I'm doing 2D or 3D but whatever, it's a basic texture bank. The goal is to use texture objects that I can use a pointer to so as to load ...
0
votes
0answers
65 views

XNA 4.0 Smoothest thread option?

At start, I'm having my game play a background video, and have the MediaPlayer play music. void InitializeMainMenu() { MediaPlayer.Play(package_music.bgm_main_menu); ...
0
votes
0answers
89 views

GLRenderer will not run when resuming app

I'm displaying a dialogue over my GLRenderer and then dismissing it from my Renderer's onSurfaceChanged method (once all resources have loaded and just before rendering starts) When I first run my ...