Making Trees
by Adrian W · in Artist Corner · 01/30/2010 (11:45 am) · 1 replies
Hi All,
I'm trying to make my first trees and running into problems with z sorting. The weird thing is that everything works as expected in show pro, but not in TGEA. E.g. below, the top shot is with no sort, so transparent polys render in any old order, as expected. This loads into TGEA OK and looks the same as in the show pro tool. In the bottom shot I renamed my tree to SORT::tree128 before exporting, and the transparent polys render in the correct order. My problem is that the second export is invisible in TGEA. I've reduced the problem to just two intersecting transparent polys, but always get the same results, works as expected in show pro, but invisible in TGEA. Any help is much appreciated.
Thanks

I'm trying to make my first trees and running into problems with z sorting. The weird thing is that everything works as expected in show pro, but not in TGEA. E.g. below, the top shot is with no sort, so transparent polys render in any old order, as expected. This loads into TGEA OK and looks the same as in the show pro tool. In the bottom shot I renamed my tree to SORT::tree128 before exporting, and the transparent polys render in the correct order. My problem is that the second export is invisible in TGEA. I've reduced the problem to just two intersecting transparent polys, but always get the same results, works as expected in show pro, but invisible in TGEA. Any help is much appreciated.
Thanks

About the author
Torque Owner Adrian W
void TSSortedMesh::render(S32 frame, S32 matFrame, TSMaterialList * materials)
{
}
...well, that would explain it I guess! Is this another unfinished feature or am I barking up the wrong tree (no pun intended!) and sorted meshes aren't needed anymore? (they're definitely still in the 1.8.2 docs that ship with the engine).
I guess everyone else must be getting pretty good trees without needing to use SORT.