you can easly use a mask in your bmd, then use it while you draw and copypixel an info of our windows. its a simple bitmapdata handling.
in short you have a bmd, the car body a bmd with the windows alpha gradients for the glas and a bmd with the shape of the windows. Fabrice On Nov 16, 2008, at 11:34 PM, Fennell wrote:
Its more of a request then anything, I have a dream.... well actually what I am working on is a system where I have a car model in 3d, I then allow the paint work to be customised, and then I render rotated frames of said car into a bitmapData array to use in a game (ie my racing game v2 under development. v1 is here www.blastone.com/games/lilracerz ) Anyways... my question / request is: Is there a way to set up the windows to render as a transparent matt (like in 3d max) as I want to manage my own reflections etc etc, or is the only way to do it to keep the windows as a separate model, and use that to create a mask over my generated result? Thanks for the heads up Mark
