MAV with CreateMirror and alpha

Archives Forums/Blitz3D Bug Reports/MAV with CreateMirror and alpha

SLotman(Posted 2007) [#1]
This program generates an MAV, on the EntityAlpha command:

Graphics3D 640,480,0,2

camera=CreateCamera()
mirror=CreateMirror()
EntityAlpha mirror, 0.5

While Not KeyHit(1)
	UpdateWorld
	RenderWorld
	Flip
Wend

End


Not a big deal, but should be fixed, at least to ignore alpha values on mirrors...


b32(Posted 2007) [#2]
I don't think it is a bug. With debug on, the error is 'entity is not a model'. The same would go for all objects that are no models, such as pivots.


Danny(Posted 2007) [#3]
b32's right..

Instead: Create a mirror, then create a plane, and set the alpha on the plane to make the mirror more or less visible...


jfk EO-11110(Posted 2007) [#4]
A mirror is no geometry anyway. it only mirrors things.
Of course you can't set Alpha of a mirror, nor could you set the sound volume of a cube. See also EntityClass().