Dynamically adjust segments on plane

5 messages Options
Embed this post
Permalink
David Di Biase

Dynamically adjust segments on plane

Reply Threaded More More options
Print post
Permalink
Hi there,

My application uses a lot of planar elements with the basic amount of segments as possible. The problem is when rotating a segment I'm getting weird perspective issues - this I expected. To solve this I'd like to dynamically increase the segments of a node on stage without effecting how it appears at that moment. Then perform my rotation, then reduce the segments. All without removing the plane from stage.

Is this possible or not?

Thanks!

Dave

_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
TurboHz

Re: Dynamically adjust segments on plane

Reply Threaded More More options
Print post
Permalink
I think that's *precisely* what the "precise" BitmapMaterial property does ;)

2009/10/14 David Di Biase <[hidden email]>
Hi there,

My application uses a lot of planar elements with the basic amount of segments as possible. The problem is when rotating a segment I'm getting weird perspective issues - this I expected. To solve this I'd like to dynamically increase the segments of a node on stage without effecting how it appears at that moment. Then perform my rotation, then reduce the segments. All without removing the plane from stage.

Is this possible or not?

Thanks!

Dave

_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
David Di Biase

Re: Dynamically adjust segments on plane

Reply Threaded More More options
Print post
Permalink
Sorry, I'm confused. I'm using a MovieMaterial for all my planes.

On Wed, Oct 14, 2009 at 4:42 PM, TurboHz <[hidden email]> wrote:
I think that's *precisely* what the "precise" BitmapMaterial property does ;)

2009/10/14 David Di Biase <[hidden email]>
Hi there,

My application uses a lot of planar elements with the basic amount of segments as possible. The problem is when rotating a segment I'm getting weird perspective issues - this I expected. To solve this I'd like to dynamically increase the segments of a node on stage without effecting how it appears at that moment. Then perform my rotation, then reduce the segments. All without removing the plane from stage.

Is this possible or not?

Thanks!

Dave

_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Andy Zupko

Re: Dynamically adjust segments on plane

Reply Threaded More More options
Print post
Permalink
In reply to this post by David Di Biase
You are essentially talking about precision on the material.  Just set  
material.precise = true and it will add more triangles to be drawn as  
needed;


On Oct 14, 2009, at 3:35 PM, David Di Biase wrote:

> Hi there,
>
> My application uses a lot of planar elements with the basic amount  
> of segments as possible. The problem is when rotating a segment I'm  
> getting weird perspective issues - this I expected. To solve this  
> I'd like to dynamically increase the segments of a node on stage  
> without effecting how it appears at that moment. Then perform my  
> rotation, then reduce the segments. All without removing the plane  
> from stage.
>
> Is this possible or not?
>
> Thanks!
>
> Dave
> _______________________________________________
> Papervision3D mailing list
> [hidden email]
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
David Di Biase

Re: Dynamically adjust segments on plane

Reply Threaded More More options
Print post
Permalink
Ohhhhh fantastic. Now if I set the precise property to false will it readjust the triangles?

On Wed, Oct 14, 2009 at 4:48 PM, Andy Zupko <[hidden email]> wrote:
You are essentially talking about precision on the material.  Just set material.precise = true and it will add more triangles to be drawn as needed;



On Oct 14, 2009, at 3:35 PM, David Di Biase wrote:

Hi there,

My application uses a lot of planar elements with the basic amount of segments as possible. The problem is when rotating a segment I'm getting weird perspective issues - this I expected. To solve this I'd like to dynamically increase the segments of a node on stage without effecting how it appears at that moment. Then perform my rotation, then reduce the segments. All without removing the plane from stage.

Is this possible or not?

Thanks!

Dave
_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org


_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org