Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: glBomb

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,211

    Re: RS232c and OpenGL in same program

    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...
  2. Replies
    4
    Views
    1,211

    Re: RS232c and OpenGL in same program

    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...
  3. Replies
    4
    Views
    1,211

    RS232c and OpenGL in same program

    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...
  4. Any performsnce hits for GL_TEXTURE_RECTANGLE_ARB and Non power of 2 textures ?

    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 ...
  5. Replies
    2
    Views
    541

    I hate Texture Co-ordinates

    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...
  6. Replies
    2
    Views
    133

    Re: Reliability of Custom PNG Chunks

    Oh i am using openGL for the engine...but i will try gamedev..thanks
  7. Replies
    2
    Views
    133

    Reliability of Custom PNG Chunks

    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...
  8. Replies
    1
    Views
    258

    Themes based GUI for OPENGL ?

    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...
  9. Replies
    1
    Views
    152

    Texture binding problem with Vertex Arrays

    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...
  10. Overriding Rasterization and Pixel Perfect Zoom

    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...
  11. Replies
    3
    Views
    176

    Opengl Fundamental alignment problem

    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...
  12. Replies
    9
    Views
    301

    Re: Display list & Multitexturing

    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?
  13. Replies
    9
    Views
    301

    Re: Display list & Multitexturing

    But is it definite that display lists cant be used with multitexturing. Are there any known issues with VBOs and multitexturing being used together ?
  14. Replies
    9
    Views
    301

    Display list & Multitexturing

    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...
  15. Masking to show player color....problem please help

    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...
  16. Replies
    2
    Views
    299

    Re: Multitexturing problem in Age of Empires

    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...
  17. Replies
    2
    Views
    299

    Re: Multitexturing problem in Age of Empires

    Somebody told me to try this

    // render grass
    glActiveTextureARB(GL_TEXTURE0_ARB);
    glBindTexture(GL_TEXTURE_2D, grassID);

    RenderTerrain();

    // render dirt...
  18. Replies
    2
    Views
    299

    Multitexturing problem in Age of Empires

    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...
  19. Replies
    6
    Views
    410

    Re: Terrain Engine using multitexturing

    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 ?
  20. Replies
    6
    Views
    410

    Re: Terrain Engine using multitexturing

    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...
  21. Replies
    6
    Views
    410

    Re: Terrain Engine using multitexturing

    well actually i did this

    // TEXTURE-UNIT #0:Grass
    glActiveTextureARB(GL_TEXTURE0_ARB);
    glBindTexture(GL_TEXTURE_2D, textures[0]);

    // TEXTURE-UNIT #1:Farm...
  22. Replies
    6
    Views
    410

    Terrain Engine using multitexturing

    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...
  23. Replies
    3
    Views
    107

    Re: Doubt in Blending in red book example

    Oh ok thanks a lot Komat. :)
  24. Replies
    3
    Views
    107

    Re: Doubt in Blending in red book example

    Will someone plz elp me out
  25. Replies
    2
    Views
    411

    Re: Alpha blend problem in Age of empires mod

    Thanks a lot .That solved the problem!!
Results 1 to 25 of 39
Page 1 of 2 1 2