Results 1 to 2 of 2

Thread: Checking if I'm right :)

  1. #1
    Senior Member Frequent Contributor
    Join Date
    Nov 2002
    Location
    Latvia
    Posts
    626

    Checking if I'm right :)

    I'm going to add cubemap support for my program so I'd like to know if I'm right. The cubemap consits of 6, textures, all positioned 1 unit fom point (0,0,0). To achieve infinity effect I must enable/disable depthtest in different parts of my program. And finally, as I've seen, to get beter preformance with dynamicaly created cubemaps on GeForce class hw I should use SGIS_generate_mipmap, that means glTexparameti(GL_TEXTURE_CUBE_MAP_ARB,GL_GENERATE_ MIPMAP_SGIS,GL_TRUE); and no gluBuild2Dmipmaps :0
    By the way, why do I need mipmaping if textures are usualy magnified anyways?

  2. #2
    Junior Member Newbie
    Join Date
    Sep 2002
    Location
    Starkville,Mississippi,USA
    Posts
    20

    Re: Checking if I'm right :)

    I think your right, no glGenMip...etc.. and in case you do have a small room and a sphere in the center to which your cube mapping, when you actually go to another room say far far away, then the mipmaps will be used instead of the actual texture to improve performance..

    i hope im right, if not correct me!

    -Gopi
    Dont argue with fools, they bring you down to their level and beat you with experience.

Similar Threads

  1. Makefile checking
    By charisma in forum OpenGL: Linux
    Replies: 5
    Last Post: 03-03-2011, 08:07 PM
  2. Automatic dependancy checking.
    By thurgold in forum OpenCL
    Replies: 3
    Last Post: 02-20-2010, 04:47 AM
  3. Checking for GL_MAX_TEXTURE_IMAGE_UNITS
    By piperfloyd in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 08-17-2009, 11:50 AM
  4. Checking For Extensions
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-14-2003, 02:09 PM
  5. Checking for visibility of a vertex
    By djavan in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-24-2003, 07:07 PM

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