|
From: Peter M. <Pet...@mi...> - 2004-09-28 15:09:27
|
Hello all, Sorry to be bugging the list but I would like some help on a problem with transparent camera transform objects. First a little background, I am trying to simulate the selection box used by Apple in Preview, that is one white box then one black box and finally a light gray transparency elsewhere. I have setup all the objects needed to create this effect, including four polygons with; an attribute of diffuse gray colour ( 0xAFFF) and an attribute of transparency colour ( 0xAFFF ) and no other attributes. Now the problem, as the camera rotate around the polygons colour changes. The reason is that the polygons are real 3D objects in Quesa space so are effected by the sun light. ( tested by turning the sun off e.g. the directional light ). We normally overcome this problem by submitting objects before the view light style is added but as the polygons are transparent this trick does not work. Any ideas on overcoming this. Is there an attribute that can be added to stop direction, point and ambient light data being mixed with objects that have transparent colour attributes? Thanks in advance for any help. Peter. |