• Create Account

### #ActualOlof Hedman

Posted 17 May 2013 - 06:17 AM

Yes, the end result is the same, its just a matter of where you choose to make the calculation... I just reacted to the statement "You need to use different coordinates for your vertices", since they don't strictly _have_ to be changed. specially not if all you want is transitions and movements in 3d, in that case you want the panel to grow if you move it closer, and shrink when you move it away from the xy-plane at z=0. vertices data can then be left untouched if the recalculation is baked into the modelview

He said he wanted 2D with layers, so your w and d, or my xrange and zrange, will necessarily have to be recalculated for each Z. An orthographic projection still allows layering and depth, but there's no need to recalculate anything for different depths, and the coordinate system can be directly and explicitly specified with the desired ranges. That is why I ultimately asked the question if his perspective approach is really necessary, or just based on the no-so-uncommon erroneous belief that your program cannot have multiple types of projections.

That is a good point, if all he wants is layering, an ortho view is probably easier.

I'm not sure what he wants from the original question, so hopefully he is properly helped now with our combined perspectives

### #3Olof Hedman

Posted 17 May 2013 - 06:17 AM

Yes, the end result is the same, its just a matter of where you choose to make the calculation... I just reacted to the statement "You need to use different coordinates for your vertices", since they don't strictly _have_ to be changed. specially not if all you want is transitions and movements in 3d, in that case you want the panel to grow if you move it closer, and shrink when you move it away from the xy-plane at z=0. vertices data can be left untouched if the recalculation is baked into the modelview

He said he wanted 2D with layers, so your w and d, or my xrange and zrange, will necessarily have to be recalculated for each Z. An orthographic projection still allows layering and depth, but there's no need to recalculate anything for different depths, and the coordinate system can be directly and explicitly specified with the desired ranges. That is why I ultimately asked the question if his perspective approach is really necessary, or just based on the no-so-uncommon erroneous belief that your program cannot have multiple types of projections.

That is a good point, if all he wants is layering, an ortho view is probably easier.

I'm not sure what he wants from the original question, so hopefully he is properly helped now with our combined perspectives

### #2Olof Hedman

Posted 17 May 2013 - 06:15 AM

Yes, the end result is the same, its just a matter of where you choose to make the calculation... I just reacted to the statement "You need to use different coordinates for your vertices", since they don't strictly _have_ to be changed. specially not if all you want is transitions and movements in 3d, in that case you want the panel to grow if you move it closer, and shrink when you move it away from the xy-plane at z=0.

He said he wanted 2D with layers, so your w and d, or my xrange and zrange, will necessarily have to be recalculated for each Z. An orthographic projection still allows layering and depth, but there's no need to recalculate anything for different depths, and the coordinate system can be directly and explicitly specified with the desired ranges. That is why I ultimately asked the question if his perspective approach is really necessary, or just based on the no-so-uncommon erroneous belief that your program cannot have multiple types of projections.

That is a good point, if all he wants is layering, an ortho view is probably easier.

I'm not sure what he wants from the original question, so hopefully he is properly helped now with our combined perspectives

### #1Olof Hedman

Posted 17 May 2013 - 06:14 AM

Yes, the end result is the same, its just a matter of where you choose to make the calculation...  I just reacted to the statement "You need to use different coordinates for your vertices", since they don't strictly _have_ to be changed. specially not if all you want is transitions and movements in 3d, in that case you want the panel to grow if you move it closer, and shrink when you move it away from the xy-plane at z=0.

He said he wanted 2D with layers, so your w and d, or my xrange and zrange, will necessarily have to be recalculated for each Z. An orthographic projection still allows layering and depth, but there's no need to recalculate anything for different depths, and the coordinate system can be directly and explicitly specified with the desired ranges. That is why I ultimately asked the question if his perspective approach is really necessary, or just based on the no-so-uncommon erroneous belief that your program cannot have multiple types of projections.

That is a good point, if all he wants is layering, an ortho view is probably easier.

PARTNERS