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.
[04:44 am]
Zycorax -- :wob:
[02:30 am]
Symmetry -- :wob:
[2026-8-10. : 1:36 am]
Moose -- Thinking on it more, I vaguely remember it being annoying because it kept repeating some short loop of the Super Mario World theme LMAO
[2026-8-10. : 12:57 am]
Oh_Man -- I thought i remembered an old mario map but i searched super mario starcraft on utube and i couldnt see anything cept UMS
[2026-8-09. : 11:40 pm]
lil-Inferno -- Blizzard forgot about SC so it's okay
[2026-8-09. : 7:04 pm]
Symmetry -- malware maps for everyone
[2026-8-09. : 7:03 pm]
Moose -- probs lmao
[2026-8-09. : 6:57 pm]
Symmetry -- (and will be patched)
[2026-8-09. : 6:56 pm]
Symmetry -- The old stuff would've gotten patched no? this is current
[2026-8-09. : 6:55 pm]
Moose -- Just made? I thought we had that years ago
Please log in to shout.


Members Online: NudeRaider, MobMob