tags:

views:

135

answers:

2

I am trying to write a c++ program in linux.In which i want to make a 3D image upside down. where i have the coordinates (x,y,z) of the image .

Example:

     ^                 |
     |        to       | 
     |                 V

How to do it?

+1  A: 

Use a transformation matrix. This answer doesn't get any better since I smell homework.

dirkgently
A: 

Well, "upside down" is just a rotational transformation. Since this is probably homework. Think about this, you'll apply some transformation matrix but remember you will be "revolving" about some theta.

This is also a pretty good book:

http://www.amazon.com/Computer-Graphics-Principles-Practice-Programming/dp/0201848406

BobbyShaftoe
Might be reflection, rather than rotation. Still, smells like homework
Paul