Results 1 to 3 of 3

Thread: Replicate old game

  1. #1
    Junior Member Newbie
    Join Date
    May 2010

    Replicate old game

    Hello all, I am trying to replicate an old game to create it's buildings and vehicles in my own program, I'll just call them units. The units are stored as wireframes and I am able to create the wireframes using glDrawElements --it works great.

    The textures are mapped onto the wireframe using XY coordinates from a given bitmap. Is there a gl command that will do this in one step or am I stuck with doing several?

  2. #2
    Senior Member Regular Contributor Rosario Leonardi's Avatar
    Join Date
    Aug 2008

    Re: Replicate old game

    Texture mapped on wireframe? What does it means?
    And what do you want to in one step?

    If you want to draw all your "units" in one step you can, but you have to put all the geometry data in a buffer and that use a texture atlas and vary the uv according with the atlas.
    ~ ~ I tell you, realtime 3D is made of blood, sweat and screams! ~ ~

  3. #3
    Junior Member Newbie
    Join Date
    May 2010

    Re: Replicate old game

    Thanks. Yes this game is very old (199 and the way the information is stored is very simple. There are edges, verticies and XY coordinates for each unit.

    What I meant by texture mapping is that each vertex has an XY coordinate associated with it to create multiple textures from a single bitmap.

    Yes texture atlas, that is exactly what I am describing. This is a great keyword to get started with. Thank you!

Similar Threads

  1. New game
    By Dardan in forum OpenGL: Linux
    Replies: 4
    Last Post: 03-04-2012, 02:01 PM
  2. there is a way to replicate Print3D with Vincent?
    By Eymerich in forum OpenGL ES
    Replies: 0
    Last Post: 04-08-2008, 09:40 AM
  3. try my game
    By Dong Ke in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 11-28-2002, 07:35 AM
  4. Please Try My Game
    By Hazem_vb in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 10-10-2002, 10:50 AM
  5. Try My Game?
    By Archimedes in forum OpenGL: Basic Coding
    Replies: 28
    Last Post: 10-02-2002, 08:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean