Author Topic: #1 Wish: Graduated Alpha Transparency  (Read 498 times)

Zachary Foley   «   on: May 01, 2012, 10:04:28 PM »
What i would want most of all is the ability to use textures with more than a 1-bit for the alpha channel. I just know its possible, because Alternativa and Away3D have it. But i'd love to have it in Flare3D because I really like Flare 3D and the excellent production pipeline from Max to Flash. 

Ivan Vodopiviz   «   Reply #1 on: May 02, 2012, 11:56:01 AM »
Hi Zachary,

PNG textures with 8-bit alpha should work just fine. Could you please give us a little more detail about your problem?

Cheers,

Zachary Foley   «   Reply #2 on: May 02, 2012, 07:51:43 PM »
The png textures with 8-bit alpha only provide a single bit of transparency. They do not provide partial transparency. There is a threshold. Pixels are either transparent or they are not. Different for you?

Ivan Vodopiviz   «   Reply #3 on: May 03, 2012, 03:01:03 PM »
Yes... could you please send us an example model showing this behavior?

Delnatte Julien   «   Reply #4 on: May 06, 2012, 06:36:10 PM »
Hello,

PNG textures with 8-bits alpha only provide a single bit of transparency but PNG 24 bits provide partial transparency and it works fine for me in Flare3D Studio,... : 

Here is a plane with a PNG24 bits gradient transparency and a cube in background with just un checker in flare3D studio : 
http://img7.imageshack.us/img7/5733/capturedcran20120506233.png

Zachary Foley   «   Reply #5 on: May 08, 2012, 08:12:52 PM »
@Julien Would you post the code for the scene you showed? My results are quite different. How are you creating your textures?

Zachary Foley   «   Reply #6 on: May 08, 2012, 09:00:50 PM »
Related question: Does transparency not work in f3D files exported from Studio Max?

Delnatte Julien   «   Reply #7 on: May 08, 2012, 11:23:57 PM »
It works fine for me in flare studio anf also in f3D files exported from Studio Max. Just don't forget to set a higher layer for object with transparency texture to calculate the alpha after the object without alpha.

And there is my code :
        public function Test()
        {
            scene3D = new Viewer3D(this);
            scene3D.registerClass( Flare3DLoader1 );
            scene3D.addChildFromFile("testFrom3ds.f3d");
            scene3D.addEventListener(Scene3D.COMPLETE_EVENT, onComplete);
        }
       
        private function onComplete(e:Event):void
        {
            scene3D.getChildByName("Plane001").setLayer(1);
        }