Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

annas

write opengl code (function call only) and find composite transformation matrix (the sequence of transformation matrices) in homogeneous form that would produce the same transformation for : scaling a given cube by factor (2,3,4) about given point p(3,1,0)

  • one year ago
  • one year ago

  • This Question is Closed
  1. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    rotation of given point p(3,1,0) about x axis of angle 90?

    • one year ago
  2. amistre64
    Best Response
    You've already chosen the best response.
    Medals 0

    pfft, i got no idea what this is even saying at the moment

    • one year ago
  3. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    lol its ok actually we have to make a composite matrix to solve this i m like messed up right now with these question :|

    • one year ago
  4. amistre64
    Best Response
    You've already chosen the best response.
    Medals 0

    good luck with it ;)

    • one year ago
  5. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    lol thanks :P

    • one year ago
  6. KonradZuse
    Best Response
    You've already chosen the best response.
    Medals 1

    Okay well in OpenGl you use a 4x4 augmented matrix, where the first 3x3 matrix has to do with it's rotation, the column matrix 4 is where in the world it is, and the 4th row is the transitioning of the matrix. Since you want a homogeneous matrix you will set the 4th column to all 0's. The 4th row would be your (2,3,4) Now about a point you would set that yourself in the 3x3 I believe as x = 3, y = 1, and z = 0. \[\left[\begin{matrix}3 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 2 & 3 & 4 &0\end{matrix}\right]\] should be your matrix.

    • one year ago
  7. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    thanks friend :) @KonradZuse

    • one year ago
  8. KonradZuse
    Best Response
    You've already chosen the best response.
    Medals 1

    Np, hope that works.... I normally have GlRotate() and other goodies to do the work for me :P.

    • one year ago
  9. KonradZuse
    Best Response
    You've already chosen the best response.
    Medals 1

    Most schools like to teach you how to do it 100%, but with IDEs and such you don't need half of the crap they teach you.

    • one year ago
  10. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    we are using Visual studio for this ... well its the first programming course i hate lol :)

    • one year ago
  11. KonradZuse
    Best Response
    You've already chosen the best response.
    Medals 1

    Visual Studio for OpenGL? or OpenGL for C++????

    • one year ago
  12. KonradZuse
    Best Response
    You've already chosen the best response.
    Medals 1

    OpenGL is awesome, but hard. IT's also overkill for a lot of things, but just one of the only 3D Libraries out there....

    • one year ago
  13. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    visual studio C++ with openGl libraries

    • one year ago
  14. KonradZuse
    Best Response
    You've already chosen the best response.
    Medals 1

    I code in Java and we have now JavaFX which has an Open GL wrapper.... I don't need all the lighting and shaders and poo poo :P.

    • one year ago
  15. annas
    Best Response
    You've already chosen the best response.
    Medals 1

    lol ... i might need your help with my project too ... actually my favorite site of coding is networking & web development stuff

    • one year ago
  16. KonradZuse
    Best Response
    You've already chosen the best response.
    Medals 1

    not a big fan of the web, html tags are meh.

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.