viewport alpha

Software: Away3D 4.x

bardo, Member
Posted: 02 March 2012 02:01 PM   Total Posts: 79

is there a way to have a transparent viewport background? and can i use 2 different view one on top of the other?

   

bardo, Member
Posted: 05 March 2012 09:05 AM   Total Posts: 79   [ # 1 ]

bump ... please help me , i need a bitmap bg for my project. can’ìt believe i have to go back to 3.6

   

Mr Margaret Scratcher, Sr. Member
Posted: 06 March 2012 08:06 PM   Total Posts: 344   [ # 2 ]

There is definitely a way to put a background in the viewport.. Lemme search…

   

Mr Margaret Scratcher, Sr. Member
Posted: 06 March 2012 09:01 PM   Total Posts: 344   [ # 3 ]

Okay, here we go:

view.backgroundImage = yourBitmapData;


That will put an image behind all the 3d stuff..

   

ripe, Newbie
Posted: 15 March 2012 02:02 PM   Total Posts: 7   [ # 4 ]
Mr Margaret Scratcher - 06 March 2012 09:01 PM

Okay, here we go:

view.backgroundImage = yourBitmapData;


That will put an image behind all the 3d stuff..

Are you sure? My view won´t accept this property (latest release, 4.0 beta).

   

bardo, Member
Posted: 15 March 2012 02:09 PM   Total Posts: 79   [ # 5 ]

view.background = new BitmapTexture(YOUR_TEXTURE.bitmapData);

   

ripe, Newbie
Posted: 15 March 2012 04:46 PM   Total Posts: 7   [ # 6 ]

view.background = new BitmapTexture(new BackgroundAsset().bitmapData);

WORKS

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X