Search found 8 matches
- Thu Sep 29, 2011 1:26 am
- Forum: Programming Discussion
- Topic: exe Images not showing.
- Replies: 3
- Views: 749
Re: exe Images not showing.
Because your project is using incorrect paths. You have to include the image in the release folder too.
- Sat Sep 24, 2011 4:29 pm
- Forum: Programming Discussion
- Topic: CPU issues[OPENGL][SDL]
- Replies: 12
- Views: 2950
Re: CPU issues[OPENGL][SDL]
Well, after testing this on my other computer and getting 2-3 CPU avg all I can think is my CPU is dying. It's about 5 years old. Oh and I forgot about that gl smooth code was put there to test something should be moved. Also, I'm planning on using a different tile from tileset per tile, although I ...
- Fri Sep 23, 2011 10:50 pm
- Forum: Programming Discussion
- Topic: CPU issues[OPENGL][SDL]
- Replies: 12
- Views: 2950
Re: CPU issues[OPENGL][SDL]
This is the rendering part, it's what is causing the CPU increase. void renderGraphics(){ // render everything for the current frame glClear(GL_COLOR_BUFFER_BIT); // setup the view glLoadIdentity(); // move off center so the quads is visible glTranslatef(0, 0, -500); // draw quad as white glColor3f(...
- Fri Sep 23, 2011 2:35 am
- Forum: Programming Discussion
- Topic: CPU issues[OPENGL][SDL]
- Replies: 12
- Views: 2950
CPU issues[OPENGL][SDL]
Hey guys, I've been playing around in OpenGL+SDL, but something is ticking me off. I get around 30-40 CPU whilst rendering 25x19 tiles at 60FPS. Is this normal? Is there a way to have the framerate at 60FPS and get the CPU down at the same time? Does Elysian Shadows get this? My current FPS limiter ...
- Wed Sep 21, 2011 2:27 pm
- Forum: Programming Discussion
- Topic: DirectX 9 Error.
- Replies: 7
- Views: 1397
Re: DirectX 9 Error.
No I never said D3D was hard, it's just cluttered. Look at it then look at OpenGL. I've pretty much got OOP down, and I've converted most of my work now after pretty much completing the book(Need to revise some of it). But I agree with Gyro, C is defiantly the place to start. Thanks for the input th...
- Wed Sep 21, 2011 4:06 am
- Forum: Programming Discussion
- Topic: DirectX 9 Error.
- Replies: 7
- Views: 1397
Re: DirectX 9 Error.
So, yeah I got this working after reading the header file, by defining CINTERFACE before including the file. After using it for a while I decided that D3D is a programmers hell compared to OpenGL which is much simpler and so much more portable (which in my opinion is one of the main things any progr...
- Tue Sep 20, 2011 2:09 am
- Forum: General/Off-Topic
- Topic: Antivirus recommendations
- Replies: 23
- Views: 6029
Re: Antivirus recommendations
Real men handle it themselves.
Just joking of course, I don't bother with anti-viruses because they're all just memory wastage IMO.
Just joking of course, I don't bother with anti-viruses because they're all just memory wastage IMO.
- Tue Sep 20, 2011 2:05 am
- Forum: Programming Discussion
- Topic: DirectX 9 Error.
- Replies: 7
- Views: 1397
DirectX 9 Error.
Hello der, everybody. I'm new here and before I get into what I'm about to mention, I want to introduce myself. I'm a 14 year old aspiring programmer that started programming in VB6 when I was around 12, now moved to C and C++. I've made a few projects in my life and created my own DirectX8 engine w...