Results 1 to 3 of 3

Thread: Require advice

  1. #1
    Guest

    Require advice

    I want to texturemap 6 sides of a cube with 6 different bitmaps.How do I achieve this?
    Please email to nandakumar_nongmaithem@yahoo.com

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: Require advice

    You draw the six sides of the cube one by one, as if they where six single quads. For each quad, bind the texture, and pass the four vertices to OpenGL.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Require advice

    You have to load six diffrent textures, then put each texture on each side of the cube.

    nehe.gamedev.net has an example of maping a texture to a cube.


    Originally posted by Nandakumar:
    I want to texturemap 6 sides of a cube with 6 different bitmaps.How do I achieve this?
    Please email to nandakumar_nongmaithem@yahoo.com

Similar Threads

  1. does HDR require higher-precision framebuffers ?
    By john_connor in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-10-2017, 06:03 PM
  2. require .obj loader/renderer for Opengl es 1.1 program
    By himanshu405 in forum OpenGL ES
    Replies: 0
    Last Post: 06-17-2009, 11:25 PM
  3. Require some help!!!Pls
    By exodus in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 02-07-2009, 10:13 AM
  4. a beginners question that may require expert knowledge
    By ogl_is_great in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 04-22-2002, 07:49 AM
  5. Require immediate help
    By asim in forum OpenGL: Advanced Coding
    Replies: 17
    Last Post: 01-25-2001, 08:25 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