Tweeners blur

View: New views
6 Messages — Rating Filter:   Alert me  

Tweeners blur

by digcode :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good Day

I try to apply Tweeners blur to the DisplayObject3D objects thats added to main DisplayObject3D.
compiller output is: ReferenceError: Error #1069: Property filters not found on org.papervision3d.objects.DisplayObject3D and there is no default value.
At the same situation when i use Tweeners rotation or  x,y,z properties all works correctly.
Whats wrong?

Re: Tweeners blur

by dwayneneckles :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
A few things my good friend..

a few things...


Thanks to the board... I learned this recently...

You can only blur the movie clip material.. not the actuall planes in order to access the movieclip... u do this as found here
http://www.rockonflash.com/blog/?p=101

  1. // cast as MovieAssetMaterial, then test for null
  2.     var mat:MovieAssetMaterial = plane.material as MovieAssetMaterial;
  3.     if( mat )
  4.     {
  5.         // cast as our sub class, then test for null
  6.         var mov:SpecialSauce = mat.movie as SpecialSauce;
  7.         if( mov )
  8.         {
  9.             // now you're talking to the instance directly
  10.             mov.animate();
  11.         }
  12.     }





> Date: Tue, 8 Apr 2008 13:28:38 -0700

> From: digcode@...
> To: papervision3D@...
> Subject: [Papervision3D] Tweeners blur
>
>
> Good Day
>
> I try to apply Tweeners blur to the DisplayObject3D objects thats added to
> main DisplayObject3D.
> compiller output is: ReferenceError: Error #1069: Property filters not found
> on org.papervision3d.objects.DisplayObject3D and there is no default value.
> At the same situation when i use Tweeners rotation or x,y,z properties all
> works correctly.
> Whats wrong?
> --
> View this message in context: http://www.nabble.com/Tweeners-blur-tp16572493p16572493.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org


Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.
_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Tweeners blur

by dwayneneckles :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
also try searching the list here..

Nabble, Nabble!


http://www.nabble.com/Papervision3D-f22855.html




From: dwayneneckles@...
To: papervision3d@...
Date: Tue, 8 Apr 2008 20:31:30 +0000
Subject: Re: [Papervision3D] Tweeners blur

A few things my good friend..

a few things...


Thanks to the board... I learned this recently...

You can only blur the movie clip material.. not the actuall planes in order to access the movieclip... u do this as found here
http://www.rockonflash.com/blog/?p=101

  1. // cast as MovieAssetMaterial, then test for null
  2.     var mat:MovieAssetMaterial = plane.material as MovieAssetMaterial;
  3.     if( mat )
  4.     {
  5.         // cast as our sub class, then test for null
  6.         var mov:SpecialSauce = mat.movie as SpecialSauce;
  7.         if( mov )
  8.         {
  9.             // now you're talking to the instance directly
  10.             mov.animate();
  11.         }
  12.     }





> Date: Tue, 8 Apr 2008 13:28:38 -0700

> From: digcode@...
> To: papervision3D@...
> Subject: [Papervision3D] Tweeners blur
>
>
> Good Day
>
> I try to apply Tweeners blur to the DisplayObject3D objects thats added to
> main DisplayObject3D.
> compiller output is: ReferenceError: Error #1069: Property filters not found
> on org.papervision3d.objects.DisplayObject3D and there is no default value.
> At the same situation when i use Tweeners rotation or x,y,z properties all
> works correctly.
> Whats wrong?
> --
> View this message in context: http://www.nabble.com/Tweeners-blur-tp16572493p16572493.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org


Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.


Use video conversation to talk face-to-face with Windows Live Messenger. Get started!
_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Tweeners blur

by Zeh Fernando-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Regardless of tweening or property changing extension used, you cannot
apply filter changes to DisplayObject3D instances as it has no filter
property available. Use its container instead, or the container where
the scene is placed at, depending on what you want to do.


Zeh

digcode wrote:
> Good Day
>
> I try to apply Tweeners blur to the DisplayObject3D objects thats added to
> main DisplayObject3D.
> compiller output is: ReferenceError: Error #1069: Property filters not found
> on org.papervision3d.objects.DisplayObject3D and there is no default value.
> At the same situation when i use Tweeners rotation or  x,y,z properties all
> works correctly.
> Whats wrong?

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Tweeners blur

by digcode :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 Use its container instead, or the container where
the scene is placed at, depending on what you want to do.

my code like this:

          container = new Sprite();
          addChild(container);
          scene = new InteractiveScene3D(container);
           ....
           rootNode = new DisplayObject3D("rootNode");
           scene.addChild(rootNode);
           ....
           var btp:Bitmap = _logic.get_podlogka_bitmap(pic);
           var btp_data:BitmapData = btp.bitmapData;
           var sprite:MovieClip = new MovieClip();
         
           sprite.addChild(btp);
           sprite.interactive = true;
           var material: InteractiveMovieMaterial = new InteractiveMovieMaterial(sprite, true, true);
           var mat = new InteractiveMovieMaterial(sprite , false, true);
            material.oneSide = false;
            material.smooth = true;  
             _plane_array.push(sprite);  
            var plane_img:Plane = new Plane( material, btp.bitmapData.width, btp.bitmapData.height, 4, 4 );
           
     
   
            plane_img.y =  btp.bitmapData.height/2;
            plane_img.z =  0;
                       
            plane_img.rotationX = 0;
            plane_img.rotationY = 0;
            plane_img.name = String(pic);
            plane_img.rotationZ = 0;
            plane_img.x = 0;
         
            var contain:DisplayObject3D = new DisplayObject3D();
            contain.addChild(plane_img)
           
            contain.moveForward(pic);
            rootNode.addChild(contain);
            _contain_array.push(contain);
            ............
            for(var i:int = 0; i < _logic.get_podlogka_array().length; i++) {                
                   
               
                   Tweener.addTween( _contain_array[i], {
                                 rotationX:RX ,
                                 y:0, z:0, time:time,
                                transition:"easeinoutexpo"
                   });
   and there for blur i can use :

1)
                  Tweener.addTween(_plane_array[i], {
                               _blur_blurX:142, time:2,
                                transition:"easeinoutexpo"
                    });
                 
  its works fine but blur limited by rectangle
2)   Tweener.addTween(rootNode.container, {
                               _blur_blurX:142, time:2,
                                transition:"easeinoutexpo"
                    });

 its works fine but blur apply to all rootNode

3) Tweener.addTween(_contain_array[i].container, {
                               _blur_blurX:142, time:2,
                                transition:"easeinoutexpo"
                    });

 Something like that dont work =((
 When i scene.addChild(contain) i lose functionality of project


Zeh Fernando-2 wrote:
Regardless of tweening or property changing extension used, you cannot
apply filter changes to DisplayObject3D instances as it has no filter
property available. Use its container instead, or the container where
the scene is placed at, depending on what you want to do.


Zeh

digcode wrote:
> Good Day
>
> I try to apply Tweeners blur to the DisplayObject3D objects thats added to
> main DisplayObject3D.
> compiller output is: ReferenceError: Error #1069: Property filters not found
> on org.papervision3d.objects.DisplayObject3D and there is no default value.
> At the same situation when i use Tweeners rotation or  x,y,z properties all
> works correctly.
> Whats wrong?

_______________________________________________
Papervision3D mailing list
Papervision3D@osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Tweeners blur

by digcode :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

tnx a lot =)
nice example

dwayneneckles wrote:
also try searching the list here..

Nabble, Nabble!


http://www.nabble.com/Papervision3D-f22855.html



From: dwayneneckles@hotmail.com
To: papervision3d@osflash.org
Date: Tue, 8 Apr 2008 20:31:30 +0000
Subject: Re: [Papervision3D] Tweeners blur







A few things my good friend..

a few things...


Thanks to the board... I learned this recently...

You can only blur the movie clip material.. not the actuall planes in order to access the movieclip... u do this as found here
http://www.rockonflash.com/blog/?p=101

 // cast as MovieAssetMaterial, then test for null

    var mat:MovieAssetMaterial = plane.material as MovieAssetMaterial;

    if( mat )

    {

        // cast as our sub class, then test for null

        var mov:SpecialSauce = mat.movie as SpecialSauce;

        if( mov )

        {

            // now you're talking to the instance directly

            mov.animate();

        }

    }




> Date: Tue, 8 Apr 2008 13:28:38 -0700
> From: digcode@gmail.com
> To: papervision3D@osflash.org
> Subject: [Papervision3D]  Tweeners blur
>
>
> Good Day
>
> I try to apply Tweeners blur to the DisplayObject3D objects thats added to
> main DisplayObject3D.
> compiller output is: ReferenceError: Error #1069: Property filters not found
> on org.papervision3d.objects.DisplayObject3D and there is no default value.
> At the same situation when i use Tweeners rotation or  x,y,z properties all
> works correctly.
> Whats wrong?
> --
> View this message in context: http://www.nabble.com/Tweeners-blur-tp16572493p16572493.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D@osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.

_________________________________________________________________
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_042008
_______________________________________________
Papervision3D mailing list
Papervision3D@osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org