Yeah..i think I ll go ahead with the 2 threads...I am planning to store the user inputs in a set of global variables by the thread containing the GLUT main loop and having it picked up from there to...
Type: Posts; User: glBomb
Yeah..i think I ll go ahead with the 2 threads...I am planning to store the user inputs in a set of global variables by the thread containing the GLUT main loop and having it picked up from there to...
baud rate is about 115 kbps....yes I can do multithreading...maybe have a separate thread for the visualizing part and another for just sending and receving part. Is there any standard linux library...
I am trying to write a program that accepts user input from the keyboard and a joystick and then sends out the data using the rs232 port of my system to other hardware. I need to send out about 10...
Hi,
I am designing a 2D game like Age of Empires.I was advised to use GL_TEXTURE_RECTANGLE_ARB for avoiding the 0...1 texture co-ord range.
1. i would like to know if there are any performance ...
Is there a way to avoid using texture co-ordinates in openGL. My game is 2D like age of empires using textured quads, and i want to blit from an image using textures and texture co-ords. But i would...
Oh i am using openGL for the engine...but i will try gamedev..thanks
I am working on a 2D engine like Age of Empires. We have decided to put pictures of a single unit in different positions in the same picture and blit from there. The images are PNG. We decided to...
I am making this game like Age of Empires....i was wondering if there is a GUI library available which supports themes..cause i want the buttons and screens to look like Age of empires not like...
Well i am working on this 2D game like Age of Empires.I need to bind different textures depending on the type of terrain stored in a map. But i store the texture co-ords for all positions in the map...
I am making a 2D game similar to Age Of Empires.it is very irritating to see that OpenGL does not often draw boundary Pixels to prevent overdraw of pixels for primitives touching each...
http://img184.imageshack.us/img184/9649/upld2cm4.png
Hi people
I tried to draw a simple quad from (-3,-4) to (0,0) using the commands below:
glBegin();
glVertex2i(-3,-4);//Top left...
But is it definite that display lists cant be used with multitexturing. Are there any known issues with VBOs and multitexturing being used together ? How much support is there for VBOs?
But is it definite that display lists cant be used with multitexturing. Are there any known issues with VBOs and multitexturing being used together ?
is it possible to use display lists when i am using multitexturing commands. I have a isometric game where the map is stored in a display list.
Is this wise to do by the way. ?
I first generate...
OpenGL,Ortho,2D game:
Ok i have these units in my 2d game i want to display using various player colors.However the unit image is just 1 image.The pixels where player color should appear are...
Also currently my alpha map is done like this
//Texture 3-------------Alpha Map
SDL_LockSurface(TextureImage[2]);
for( i=0; i<TextureImage[2]->h; i++)
for( j=0; j<TextureImage[2]->w; j++){
x...
Somebody told me to try this
// render grass
glActiveTextureARB(GL_TEXTURE0_ARB);
glBindTexture(GL_TEXTURE_2D, grassID);
RenderTerrain();
// render dirt...
I am trying to make a terrain engine like age of empires. Its 2D isometric.I plan to produce the terrain like this.
1.Render a base texture like grass
2.Render another texture on top like sand but...
Hey come on people ....this should be a simple problem...help me resolve this.Can someone check out the above code.I am most confused about what format to generate the alpha map in.. 32bit or 8bit ?
Thanks a lot soccone.But for the dirt+alpha map part...if i am to multiply the alpha of the alpha map with the source color of the terrain then shoudnt the code be like:-
// render dirt...
well actually i did this
// TEXTURE-UNIT #0:Grass
glActiveTextureARB(GL_TEXTURE0_ARB);
glBindTexture(GL_TEXTURE_2D, textures[0]);
// TEXTURE-UNIT #1:Farm...
I am trying to make a terrain engine like age of empires. Its 2D isometric.I plan to produce the terrain like this.
1.Render a base texture like grass
2.Render another texture on top like sand but...
Oh ok thanks a lot Komat. :)
Will someone plz elp me out
Thanks a lot .That solved the problem!!