LevelFour
13th January 2010, 14:10
Greetings,
I am trying to draw a number of primitive objects with various isometric projections. I've reviewed the documentation relating to transforms as well as the affine example, but oddly the results are not as expected. Usually for a isometric projection, an object is sheared 30 degrees and rotated 30 degrees (for example). I would therefore expect the code to be quite simple such as:
p->shear(0,30)
p->rotate(30)
However this does not produce the anticipated results. Forgive the ignorance, but has anyone worked with creating isometric projections and can you offer any advice.
Thanks!
I am trying to draw a number of primitive objects with various isometric projections. I've reviewed the documentation relating to transforms as well as the affine example, but oddly the results are not as expected. Usually for a isometric projection, an object is sheared 30 degrees and rotated 30 degrees (for example). I would therefore expect the code to be quite simple such as:
p->shear(0,30)
p->rotate(30)
However this does not produce the anticipated results. Forgive the ignorance, but has anyone worked with creating isometric projections and can you offer any advice.
Thanks!