Sorting parameters
by RC Frederick · in Artist Corner · 01/16/2003 (7:10 am) · 2 replies
I am doing some work with translucent polygon sorting, and I am having trouble finding definitions for the following:
SORT::MAX_DEPTH
SORT::NUM_BIG_FACES
SORT::WRITE_Z
SORT::Z_LAYER_UP
SORT::Z_LAYER_DOWN
Can anyone give me a description of what each controls? These are out of the dts doc, they are mentioned but no explanation is provided as to what they mean and do. I have a general idea, but it would nice to know exactly what they are supposed to do. Thanks in advance,
SORT::MAX_DEPTH
SORT::NUM_BIG_FACES
SORT::WRITE_Z
SORT::Z_LAYER_UP
SORT::Z_LAYER_DOWN
Can anyone give me a description of what each controls? These are out of the dts doc, they are mentioned but no explanation is provided as to what they mean and do. I have a general idea, but it would nice to know exactly what they are supposed to do. Thanks in advance,
#2
I already figured out the issue I was having, it was with using multiple translucent polygons, say for instance a fir tree. One of them was inadvertantly intersecting another.. which I found out makes the exporter sort everything wrong. As long as no translucent polygons touch one another, it works as I would expect. So all is well there.
As far as the reason for wanting detailed info goes, I am one of those people who likes to know what everything does in case I want to use it sometime. There are many aspects to Torque that are thinly explained and left up to us maverick developers to figure out, which is fine by me. But I do however like to get as much information as I can. Knowing that there are switches there that need parameters, but not knowing what the ranges are, makes me curious. And sometime I'd like to make a 3d-content creators doc for others to use so they dont have to search through the forums as often as I do. I was just hoping someone would see this and have information on them.
01/16/2003 (7:33 pm)
Thanks for the reply,I already figured out the issue I was having, it was with using multiple translucent polygons, say for instance a fir tree. One of them was inadvertantly intersecting another.. which I found out makes the exporter sort everything wrong. As long as no translucent polygons touch one another, it works as I would expect. So all is well there.
As far as the reason for wanting detailed info goes, I am one of those people who likes to know what everything does in case I want to use it sometime. There are many aspects to Torque that are thinly explained and left up to us maverick developers to figure out, which is fine by me. But I do however like to get as much information as I can. Knowing that there are switches there that need parameters, but not knowing what the ranges are, makes me curious. And sometime I'd like to make a 3d-content creators doc for others to use so they dont have to search through the forums as often as I do. I was just hoping someone would see this and have information on them.
Torque Owner Matthew Jones
Usually to get somthing to Sort right I use seperate materials. The same texture but another material slot and under it I mark the opicity check box. I usually don't have a problem unless the object is very complicated.
Things always seem to sort fine.
Matt