Search:
Type: Posts; User: David2010
Search:
Search took 0.03 seconds.
-
November 21st, 2011, 07:01 PM
The improvements were more in terms of readability in this case. I made a few minor changes to help performance but I doubt it would shave off any more than a couple milliseconds.
Using the nasm...
-
November 20th, 2011, 07:43 PM
Do you really think I am going to win? :-D
My original plan was to just concatenate the string to a buffer defined in ".bss" however I couldn't seem to wrap my head around exactly how to do such a...
-
November 19th, 2011, 09:24 PM
I am trying to win a bet with a friend of mine on whos "echo" recreation is more efficient. Executable size also matters but pure raw speed is what is important.
This really isn't a "help me" kind...
-
February 11th, 2011, 10:10 PM
BUMP.
Still haven't figured this out.
Six days later. :-/
-
February 5th, 2011, 02:30 PM
Don't sweat it.
Java is a really difficult language to learn. Its on par with learning C++ in my view.
Heck I have a 1,247 page book covering Java and it only covers the basic to intermediate....
-
February 4th, 2011, 11:27 PM
Ok I have been trying for a week now to get sound to play in a Java applet.
With enough research I figured out how to get sound to play in the appletviewer using ".wav" files but I still don't get...
-
February 4th, 2011, 11:18 PM
Hm... I would have taken this approach.
boolean b = false;
if (b == false)
{
-
February 4th, 2011, 11:12 PM
I am fairly new to OOP in Java but I was always under the impression that you always had to create a new class OUTSIDE of your main class in order to make an object out of something.
Then again I...
-
November 25th, 2010, 11:04 AM
This allows me to write data to an address:
proberam:
wbinvd
mov ax, 50000
mov [0x00000600], ax
mov bx, [0x00000600]
-
November 24th, 2010, 11:53 PM
This one has puzzled me for a couple days now.
I need a way to detect how much RAM is being used.
I have an address range of:
0x00000500 to 0x00007BFF
0x00007E00 to 0x0007FFFF
0x00080000...
-
October 28th, 2010, 08:08 PM
Well I did a little test to see any fluxuations in memory usage over time (like 30 minutes) and it stayed constant so I assume that means no memory overflow is occurring.
-
October 27th, 2010, 11:07 PM
Shouldn't draw() be called every frame? Isn't that the point?
Anyways...
I can't believe I missed something as big as that.
I updated my treetextures.h and my Game.cpp to load the textures...
-
October 27th, 2010, 09:26 PM
Ok I made a function for loading textures for opengl but for some reason it just keeps using up more and more memory until the PC crashes. I am 100% positive its this file that is causing the memory...
-
October 26th, 2010, 07:57 PM
Sorry.
hm.... No I did very little (to no) error checking. :-/
Code is attached.
EDIT:
Just caught something that MAY have caused my problem.
-
October 26th, 2010, 07:14 PM
I am using this to link my executable:
g++ -O3 -s -c -o game.o game.cpp -w -D FREEGLUT_STATIC -I"C:\Program Files\Common Files\MinGW\freeglut\include"
g++ -O3 -s -o game.exe game.o -w...
-
October 23rd, 2010, 08:25 AM
Sorry I didn't provide source code earlier.
I used glm to load and display the OBJ model.
-
October 22nd, 2010, 11:13 PM
Wow I have WAY to much free time. :-)
There were several things wrong with your code. I highly recommend a C++ programming book. If you are following one then read more carefully.
I had to redo...
-
October 22nd, 2010, 08:43 PM
Thats the problem though.
The program loads an OBJ file and displays that model on the screen.
That and as far as I know, "glBindTexture(GL_TEXTURE_2D, treeTexture.texID);" can only hold one...
-
October 22nd, 2010, 06:32 PM
No thats not what I meant. Or at least I don't think it is.
Lets say I have a 3D room where each wall is a different texture.
With this function it would automatically put the first texture...
-
October 22nd, 2010, 03:43 PM
I am using this code to load the textures for my model.
//Textures and Texture Tree
GLuint texture;
Texture treeTexture;
bool LoadTreeTextures(char* texturename)
-
October 22nd, 2010, 12:05 PM
Ok I fixed my own problems and I want to share the solution with others as I am sure there have been lots of people with this same problem.
This provides not only a sample file but the headers...
-
October 21st, 2010, 08:35 PM
hm...
Well in (glm.c) both glLockArraysEXT() and glUnlockArraysEXT() are linked to this file:
GL/glext.h
And the file is in the correct location.
In (glm.h) SurfacesTextureLoad(),...
-
October 21st, 2010, 07:51 PM
I tried compiling and linking glm.c using:
gcc -c -o glm.o glm.c -D FREEGLUT_STATIC -I"C:\Program Files\Common Files\MinGW\freeglut\include"
pause
gcc -o glm.exe glm.o -L"C:\Program...
-
October 21st, 2010, 03:22 PM
GLM was designed for linux: http://devernay.free.fr/hacks/glm/
It has all the functionality that I need and its very simple to use.
I tried to just link to the header files such as:
eden.h...
-
October 21st, 2010, 03:04 PM
I have looked EVERYWHERE and couldn't find a single Simple OBJ loader for freeglut. I found a few good ones for Linux but I am using Microsoft Windows. I tried GLM but I couldn't get it to link in...
|
Click Here to Expand Forum to Full Width
|