A community for students.
Here's the question you clicked on:
 0 viewing
annas
 2 years ago
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)
annas
 2 years ago
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)

This Question is Closed

annas
 2 years ago
Best ResponseYou've already chosen the best response.1rotation of given point p(3,1,0) about x axis of angle 90?

amistre64
 2 years ago
Best ResponseYou've already chosen the best response.0pfft, i got no idea what this is even saying at the moment

annas
 2 years ago
Best ResponseYou've already chosen the best response.1lol its ok actually we have to make a composite matrix to solve this i m like messed up right now with these question :

KonradZuse
 2 years ago
Best ResponseYou've already chosen the best response.1Okay 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.

annas
 2 years ago
Best ResponseYou've already chosen the best response.1thanks friend :) @KonradZuse

KonradZuse
 2 years ago
Best ResponseYou've already chosen the best response.1Np, hope that works.... I normally have GlRotate() and other goodies to do the work for me :P.

KonradZuse
 2 years ago
Best ResponseYou've already chosen the best response.1Most 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.

annas
 2 years ago
Best ResponseYou've already chosen the best response.1we are using Visual studio for this ... well its the first programming course i hate lol :)

KonradZuse
 2 years ago
Best ResponseYou've already chosen the best response.1Visual Studio for OpenGL? or OpenGL for C++????

KonradZuse
 2 years ago
Best ResponseYou've already chosen the best response.1OpenGL is awesome, but hard. IT's also overkill for a lot of things, but just one of the only 3D Libraries out there....

annas
 2 years ago
Best ResponseYou've already chosen the best response.1visual studio C++ with openGl libraries

KonradZuse
 2 years ago
Best ResponseYou've already chosen the best response.1I 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.

annas
 2 years ago
Best ResponseYou've already chosen the best response.1lol ... i might need your help with my project too ... actually my favorite site of coding is networking & web development stuff

KonradZuse
 2 years ago
Best ResponseYou've already chosen the best response.1not a big fan of the web, html tags are meh.
Ask your own question
Sign UpFind more explanations on OpenStudy
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
 Engagement 19 Mad Hatter
 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.