Staredit Network > Forums > Technology & Computers > Topic: OpenGL anyone?
OpenGL anyone?
Jun 10 2009, 2:41 am
By: Jello-Jigglers  

Jun 10 2009, 2:41 am Jello-Jigglers Post #1



Ok so I've these lines of code:
Code

Later in the code, i'm displaying a cube with textures. As of now, it is a front view of the cube, but I want it to be an isometric view. So I tried changing the green line to:
Revised Code

I changed that thinking that since the parameters go like (angle,xrot,yrot,zrot) that would rotate both the x and the y axis 45degrees.

Is there problems with my code or what is going on? If you want pictures of what i've going on I'll upload them.



None.

Jun 12 2009, 4:10 pm Jello-Jigglers Post #2



Nobody on sen does openGL.... :( I guess a mod can close this, and if anyone actually knows the answer, you can just pm me.



None.

Jun 13 2009, 9:25 pm Doodle77 Post #3



Quote from Jello-Jigglers
I changed that thinking that since the parameters go like (angle,xrot,yrot,zrot) that would rotate both the x and the y axis 45degrees.
The parameters are not (angle,xrot,yrot,zrot), they are (angle, x, y, z) where x, y and z define a vector to rotate around.



None.

Jun 15 2009, 6:01 am Jello-Jigglers Post #4



Quote from Doodle77
Quote from Jello-Jigglers
I changed that thinking that since the parameters go like (angle,xrot,yrot,zrot) that would rotate both the x and the y axis 45degrees.
The parameters are not (angle,xrot,yrot,zrot), they are (angle, x, y, z) where x, y and z define a vector to rotate around.
Oh sorry I think those were the variables I set them as? So any guesses why it isn't functioning?



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[10:07 pm]
lil-Inferno -- nah
[08:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
Please log in to shout.


Members Online: 4camilae76100ec4, NudeRaider