A ridiculous phenomena ?
by ChenJian · in Torque Game Engine Advanced · 07/12/2007 (3:54 am) · 4 replies
I do not know if this is an engine bug, and the problem is:
I have a big tree(one dts file without collisions), in front of which there are some grass (one dts file without collisions), like this:

When I change my view angle, a ridiculous phenomena happens--The tree seems going ahead of the grass, see below:

Any ideas?
I have a big tree(one dts file without collisions), in front of which there are some grass (one dts file without collisions), like this:
When I change my view angle, a ridiculous phenomena happens--The tree seems going ahead of the grass, see below:
Any ideas?
#2
07/12/2007 (8:17 am)
Is the grass a DTS billboard? If so, it's probably doing that because it's "turning".
#3
07/12/2007 (11:34 am)
I think Andy is probably right on. I'd check the DTS grass shape, maybe you just need to modify the bounding box or something to make the billboarding correct.
#4
translucent = true;
translucentBlendOp = LerpAlpha;
translucentZWrite = true;
alphaRef = 100;
And the problem is gone.
Thanks again.
07/12/2007 (6:17 pm)
Thanks, Mark and all, I find it do be the business of the Z-sorting issue. In my materials.cs file, I add this:translucent = true;
translucentBlendOp = LerpAlpha;
translucentZWrite = true;
alphaRef = 100;
And the problem is gone.
Thanks again.
Torque 3D Owner Mark Dynna