View Poll Results: yes or no...YOU CHOOSE!

Voters
3. You may not vote on this poll
  • yes

    2 66.67%
  • no, i defanatly disagree

    1 33.33%

Thread: Taking up OpenGL(extreme n00b questions)

  1. #1
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039

    Taking up OpenGL(extreme n00b questions)

    hey, i'm once again trying opengl(only for a 2d game.)
    I have some questions, if anyone would be so inclined to answer them.

    1)what is more stressful on the videocard/processor, windows or fullscreen mode? In directdraw windowed mode seemed to not work as well on crappier comps. and also in fullscreen, everything loads way faster.

    2)wtf is a mip-map? It has somthing to do with texturing i think.

    3)WHY are all of my textures on a 2-d polygon so blurry? Say I have a 200x200 texture, how do i make a 200x200 polygon and have the texture on it be exact size? All i see are floating points. Does it even have any correlation with pixels?

    4)oh, and finally, what do you like better? opengl or directx?
    ...im kidding! don't start world war III!

    merci beaucoup por favor or somthing.

  2. #2
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331

    Re: Taking up OpenGL(extreme n00b questions)

    1)what is more stressful on the videocard/processor, windows or fullscreen mode? In directdraw windowed mode seemed to not work as well on crappier comps. and also in fullscreen, everything loads way faster.

    You will find that this is mostly dependent on your system, but i have found that most of the time windowed is a little faster.

    2)wtf is a mip-map? It has somthing to do with texturing i think.

    When you render a textured object, you might notice some visual problem areas when the object moves closer to or farther away from the camera position. These problems are the result of OpenGL trying to compensate for the moving texture by filtering the texture map down to a size that fits the object.

    OpenGL performs mipmapping by determining which texture image to use based on the resolution of the object. So when an object is close to the camera, it will take up more pixels on the screen and have a higher resolution, meaning the larger texture map is used (and visa versa as it moves farther away from the camera).

    If you want i think i might have already written a short tutorial on mip-mapping on my server pc i can dig up.

    3)WHY are all of my textures on a 2-d polygon so blurry? Say I have a 200x200 texture, how do i make a 200x200 polygon and have the texture on it be exact size? All i see are floating points. Does it even have any correlation with pixels?

    I honestly dont know i havent got that far, confuted would.

    4)oh, and finally, what do you like better? opengl or directx?
    ...im kidding! don't start world war III!


    I write tutorials for opengl, i dont need to answer that.

  3. #3
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    ok, my only real problem now is why textures get so distorted on fullscreen mode! I mean, the windowed version looks perfect, but full screen just blurrs the textures so bad you can't even see them!

  4. #4
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    nvm i got it

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 08:47 AM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  3. n00b questions
    By C+noob in forum C++ Programming
    Replies: 43
    Last Post: 07-09-2005, 03:38 PM
  4. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 09:44 AM
  5. Please help me
    By teedee46 in forum C++ Programming
    Replies: 9
    Last Post: 05-06-2002, 11:28 PM