Plotting triangles

Blitz3D Forums/Blitz3D Programming/Plotting triangles

JBR(Posted 2004) [#1]
Hello, looking at EntityFX and was wondering what fx=16 does and when you would use it.( disable backface culling?).

Also, does fx=32 ( force alpha-blending ) just apply transparency to the triangle?

Thanks
Marg


jhocking(Posted 2004) [#2]
EntityFX 16 makes the polygons of an entity 2 sided (ie. you can see the polygon from both sides.) You really shouldn't ever use it because collision detection and lighting don't work on the backs of polygons. Instead, model another polygon, positioned in the same place but facing the opposite direction.

EntityFX 32 doesn't apply to alpha transparency using alpha channels in textures or using EntityAlpha. I think it only matters for vertex alpha. Is that what you mean by "transparency of the triangle?"


JBR(Posted 2004) [#3]
Thanks jhocking,

Yes, I'm using a surface and adjusting the alpha at the vertices and found it worked with fx=32 but not using EntityAplha.

Marg