#Z-up
14 messages in this thread
I'm writing a ray-tracer and am importing objects from 3D-Studio for
the geometry using .ASC files. The Y and Z coordinates are switched
when loaded into my program so the objects are sideways. I switched
the Y and Z in the 3ds.set file but it didn't change anything. I have
fixed this but was just curious, in the reference manual I got the
impression it was a Y-up enviroment, (pg. 6-5 ver.3)?
The internal code was written with Z up, but for purposes of
documentation (after studying the relationship of the 2D Shaper
coordinates to the Lofter) we decided to go with Y up. The 3ds.set
file simply lets you switch the labels, depending on your preference.
Some people seem to have strong feelings about the two coordinate
systems. Generally, CAD systems use Z up, while computer graphics
programs use Y up. I'm personally curious. Among those reading this
thread, which type of coordinate system do you prefer, Z axis as
depth, going in and out of the monitor from the Front view? Or Z axis
as height, going up and down from the Front view?
Its "Z axis as height, going up and down from the Front view." for
me. Same as AutoCAD. However it really doesn't matter that much
because what I always pay attention to is how it looks in the
viewports, not how they are labelled.
Mark
>> Among those reading this thread, which type of coordinate system do you
>> prefer…
I prefer the "right-hand" rule where X and Y represent width and
depth, and Z represents the height. (Is that the standard notation
for transformation matrices?)
I still think in the "z" up. But I have learned to suppress the
desire.
Am I the only one that likes Y-up?
.
. Yes<g>
!^NavFont01F0006MGHHGQ3DE3
Gary:
'Z' up for me please.
Bob
– Amazing discussion! . We propose the creation of "THE Z FORUM".
Z for me too!
You'll find that even among various computer graphics books, they'll choose
different orientations for the axes. Somewhere in my notebooks, I have a crib
sheet that documents which orientation is used in which book and in which 3D
program. It can be seriously confusing if you try to use more than one 3D book
at a time while writing code. The implications of the axes choice defined on
page 3 of the book percolates all the way through to page 375. 🙂
Jack,
<<Z axis as depth>> Please!
Russ
Insight Development