Archived

This topic is now archived and is closed to further replies.

GekkoCube

glGluLookAt()

Recommended Posts

how do i use glGluLookAt() ? I tried the following, // parameters (camera position, view, up vector) glGluLookAt(pos.x,pos.y,pos.z, look.x,look.y,look.z, 0,1,0); do i need anythng else? because when i change the parameters, such as camera.z, nothing happens! side note: I didnt know you could use opengl/direcx with VisualBasic. Is it as good as say c/c++? ~ I am a DirectX to OpenGL convert! ~

Share this post


Link to post
Share on other sites
thanks.
i had the right syntax.
but assuming everyting compiles, which it does, im not getting the results im looking for.
ill just look at a few tutorials.
thanks.

~ I am a DirectX to OpenGL convert! ~

Share this post


Link to post
Share on other sites
perhaps youre doing something like loadidentity() afterwards?

>>I didnt know you could use opengl/direcx with VisualBasic.
Is it as good as say c/c++?<<

its not as fast + most tuts/demo codes use c/c++ (which is easier for learning)
thougb if youre more comfortable with it go for it
(though btw ms are shifting priorities away from vb)

http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites
thanks, you were right about the loadidentity thing.
speaking of which i have a question related to that i gotta post.

thanks.

~ I am a DirectX to OpenGL convert! ~

Share this post


Link to post
Share on other sites