@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> http://mganin.com/msn_dos.JPG
<1> windows users are so damn smart
<1> :)
<2> why do all my points and lines change when I set them ?
<2> how can I make one line big and another huge ?
<3> pushpop attribs



<2> I was doing them after glLoadIdentity(); hu he
<3> so ?
<3> load identity just resets the current matrix to identity :p
<2> not putting them in push pops changes them all
<3> just remember OGL is a state machine
<3> if you change a state, everything after will have that state
<2> whats GL_LIGHTING_BIT fer ?
<1> it's for look at the ****ing spec.
<2> should keep em busy for a while
<2> http://www.gamedev.net/reference/articles/article1990.asp
<2> http://www.gamedev.net/reference/count.asp?LinkID=611
<4> I'm drawing a texture in 2D ... But the texture is tiled, when I only want it to draw the texture once
<4> what do I do to disable the tiling?
<4> d2
<0> GL_WRAP_[S, T] , GL_FALSE
<4> uhm
<4> how do I set that?
<4> coding in C



<4> ok solved it, but it was GL_TEXTURE_WRAP_*
<4> and GL_CLAMP
<4> but it draws stuff around it black instead of transparent
<5> Using glRotatef and glTranslatef, I position my "camera" (in OpenGL), now, I can render things where I want them, but I can't rotate them. How would I rotate them?
<3> call glrotate then draw ure model :p
<5> but my camera
<5> is rotated with glrotate
<3> u can push and pop the model view matrix stack if you dont want your rotates affecting everything
<5> ok that works, but it still rotates around 0,0,0
<3> your 'camera position' is just the modelview matrix
<3> or the current level in the matrix stack of the modelview matrix
<5> so it'll rotate depending on its distance from 0,0,0
<3> try push and popping the stack
<3> like
<5> yes I know
<5> I pushed, rotated, then popped
<3> glPushMatrix(model view)
<3> rotate draw pop
<5> yea but its still rotating around 0,0,0
<3> paste ure code
<5> I want it to rotate as if its at 0,0,0
<3> the order of your calls ie of gltranslate and rotatemaybe important
<3> do rotate first then translate to set your camera :p


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #opengl
or
Go to some related logs:

#cisco
bioremidation /wikipedia
#stocks
#beginner
t
#worldcup
#vmware
#politics
#debian
what is local host



Home  |  disclaimer  |  contact  |  submit quotes