BezierPatch in Away3d v.4

Software: Away3D 4.x

astro, Newbie
Posted: 08 February 2013 12:30 PM   Total Posts: 8

Has BezierPatch moved to some other package (from away3d.primitives in 3.6) in Away3d v4?

Or it has not/will not be implemented?

   

Avatar
Greg Caldwell (Greg209), Administrator
Posted: 11 February 2013 10:42 AM   Total Posts: 45   [ # 1 ]

Hi,

@astro The BezierPatch has not yet been implemented in Away3D 4.x. It’s something I’d like to do in the future but there isn’t any timescale on it yet.

@LorenMC Are you refering to the Explorers for the Patches and NURBS on my blog ( http://www.geepers.co.uk/media/flash/software/bezier_patch_explorer.swf )?

If so, I’m sure there are more effective methods but for those demos (in Away3D 3.x), I set up an almost completely transparent huge plane that is always facing the camera but is not visible until until there is a MOUSE_DOWN on a control points. Then the plane is made visible and is positioned slightly in front of the control cube so it now receives mouse events instead of the control point.

As the MOUSE_MOVE is monitored over the plane, the cube is positioned at the 3d coordinates based on the mouse position minus the slight offset of the plane, so it always remains in front.

When the MOUSE_UP is detected, the plane is hidden again so the rest of the scene detects mouse events.

It’s not a particularly elegant solution but works ok in this case.

Cheers

Greg209

 Signature 

Home page : http://www.geepers.co.uk
Mobile apps : Sum It All Up

   

astro, Newbie
Posted: 11 February 2013 12:05 PM   Total Posts: 8   [ # 2 ]

I’ve seen draggable points implemented for this app http://wonderfl.net/c/yLPf/read

I actually want to do pretty similar dynamic transformations with objects in my iOS app (running on Starling framework). In fact I already do so with Bezier curves but not in real time.

I’m not sure if mobile device performance would allow for real time deformations as shown in demo.

   

astro, Newbie
Posted: 26 February 2014 11:06 AM   Total Posts: 8   [ # 3 ]

Hello Greg, checking in here.

Any plans to include BezierPatch in v4.1?

   

astro, Newbie
Posted: 28 March 2014 02:53 PM   Total Posts: 8   [ # 4 ]

Oh , looks like there’s no need for bezierpatch since there’s NURBS in Away 4.1 ! Hooray!

   
   
‹‹ about performance

X

Away3D Forum

Member Login

Username

Password

Remember_me



X