Transparancy Impossible?!
Posted: Thu Dec 07, 2006 11:23 am
@patrick, and anybody else who is/was working on the graphic engine:
Nowic mention something, that transparent textures applied to 0 thickness "wall" are not possible, as the engine does not know which part to draw, and which not to...
As for the blaster shots, one possibility was to use a multiply plane, an smear a texture onto it. Same goes for the missile trails. while working only in 2D, only one plane is really needed (and only one topside texture); But in 3D at least 2, if not 3 intersecting planes are needed...
Possible solution:
Is is somehow possible to draw (resp. add textures) only those parts, in which the normal vector points toward the camera, and ignore the rest. or does this produce too much checking and too little drawing?
cheers
nico
Nowic mention something, that transparent textures applied to 0 thickness "wall" are not possible, as the engine does not know which part to draw, and which not to...
As for the blaster shots, one possibility was to use a multiply plane, an smear a texture onto it. Same goes for the missile trails. while working only in 2D, only one plane is really needed (and only one topside texture); But in 3D at least 2, if not 3 intersecting planes are needed...
Possible solution:
Is is somehow possible to draw (resp. add textures) only those parts, in which the normal vector points toward the camera, and ignore the rest. or does this produce too much checking and too little drawing?
cheers
nico