Results 1 to 4 of 4

Thread: TEXTURES & GLUT PRIMITIVES

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2005
    Location
    Cannes - FRANCE
    Posts
    16

    TEXTURES & GLUT PRIMITIVES

    Hi everybody !
    Is it possible to apply a texture on a glutSolidCube ? How can I do it ?
    thanks for all,
    Cya
    ..::Vinc::..

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jul 2001
    Location
    France
    Posts
    1,662

    Re: TEXTURES & GLUT PRIMITIVES

    I'm not 100% sure but I think cube cannot be mapped. It might be the same for spheres too. If you bound a texture before calling one of them and you don't have any texture then you have the answer.

  3. #3
    Guest

    Re: TEXTURES & GLUT PRIMITIVES

    You can use opengl's automagic texture coordinate generation, but somehow I don't think that's what you had in mind.

    Hlz

  4. #4
    Junior Member Newbie
    Join Date
    Mar 2005
    Location
    Cannes - FRANCE
    Posts
    16

    Re: TEXTURES & GLUT PRIMITIVES

    automagic texture ?? what's that ?
    If it's possible to map a simple primitive, i'm interested (easier way --> better !!)

Similar Threads

  1. Textures in GLUT
    By hessayon in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-24-2008, 03:56 AM
  2. Skewing of glut primitives problem!
    By link664 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-18-2005, 09:53 PM
  3. Skewing of glut primitives problem!
    By link664 in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 05-18-2005, 03:58 AM
  4. How to creat Gradients in 2D primitives in GLUT
    By onlyhuman23 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-21-2002, 11:47 PM
  5. Glut textures
    By laf in forum OpenGL: General
    Replies: 2
    Last Post: 04-14-2002, 03:59 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