THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/03/2005 at 04:23, xxxxxxxx wrote:
Cinema 4D Version: 9
Language(s) : C++ ;
BaseDraw::SetTransparency doesn't seem to work correctly.
This docs say
void SetTransparency(LONG trans)
Sets the transparency value for following polygons. The range is 0 to 255, where 255 is 100% transparent.
But this is not the case.
Infact I can't seem to set the opacity value, I can only turn it on and off
bd->SetTransparency(0) // Fully opaque
bd->SetTransparency(255) // Does not 100% transparent (it's roughly 50%)
bd->SetTransparency(1) // Does the same as 255
Infact, 1 to 255 produces the same outcome.
Am I doing something wrong here?
On 27/03/2005 at 10:18, xxxxxxxx wrote:
no, it´s a bug. Same for me in my rulerTools. I already reported this to MAXON.
On 28/03/2005 at 01:22, xxxxxxxx wrote:
Try negative values, these are used to do true transparency (if the ogl supports it), afaik the postive values set the dither.
btw, transparency should be working otherwise you would notice it throughout CINEMA, e.g. highlighting!
On 28/03/2005 at 08:15, xxxxxxxx wrote:
Great! That works. Should be added to the docs though.