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.
[2024-6-12. : 6:23 am]
Ultraviolet -- got some light recalls behind too
[2024-6-12. : 12:07 am]
O)FaRTy1billion[MM] -- 🦗
[2024-6-11. : 9:53 pm]
Wing Zero -- I wonder how he knew I was in the market for a good cricket bat
[2024-6-11. : 2:27 pm]
lil-Inferno -- ya
[2024-6-11. : 10:49 am]
Oh_Man -- or scarab maybeh
[2024-6-11. : 10:49 am]
Oh_Man -- shielt battery + photon cannon blast?
[2024-6-11. : 10:49 am]
Oh_Man -- check out the animation at 7:56
[2024-6-11. : 9:06 am]
Oh_Man -- https://youtu.be/3mpjxspSUtQ I defeated the hell boss yall, bow to my power
[2024-6-10. : 5:04 pm]
lil-Inferno -- poop
[2024-6-06. : 5:20 pm]
Ultraviolet -- I was kinda thinking something along these lines
Please log in to shout.


Members Online: Roy, Ultraviolet