Hey there,

I had another type of problem with the TriApi but the cause was the same:
an untextured triangle. Try applying a texture to it like Cortex mentioned,
it should solve the problem.

Georges

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sebastian
Steinlechner
Sent: Sunday, April 14, 2002 11:17 AM
To: [EMAIL PROTECTED]
Subject: [hlcoders] TriAPI weirdness


Hello,

Now here's something I can't explain.
I messed around a bit with those triangles and came across a weird bug. I'm
displaying triangles using TRI_TRIANGLES_FAN and kRenderNormal in a second
rendercycle. The triangles do not have a texture, they are colored simply by
calling Color4f. Works fine, until...
... I pick up a weapon. Look at what happens:

http://gymnasium.sarstedt.org/rpg.jpg
http://gymnasium.sarstedt.org/satchel.jpg
http://gymnasium.sarstedt.org/egon.jpg

Simply by switching between the weapons, the color changes! Why? It should
be a greenish triangle, but it changes to orange or black!?

Would be nice if someone could clear things up.

cya,
TheTinySteini

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to