Are there ways to lighten the burden of the Weld process?

Software: Away3D 4.x

Kicker, Member
Posted: 03 July 2015 08:13 AM   Total Posts: 52

Hello,

I have several meshes in my game on which I use Weld before displaying them.
The thing is, the whole process takes more than 5 seconds, and there’s no way I will inflict a frozen screen to my players for 5 seconds.

I tried AS3 Workers, but passing a Mesh, or even a Geometry to a Worker using MessageChannel or setSharedProperty has pretty much the same effect to it and its attributes as passing a hamster through a meat grinder.

I tried using AwayBuilder, hoping the Weld class would be implemented in it somehow, so I could apply it in that software, then save my meshes so I wouldn’t have use that class again, but I couldn’t find any option which even remotely looks like Weld.

I wanted to take my chances with Prefab3D, but the main page’s link is broken.

Now maybe there’s a way to apply Weld inside the code, then save the resulting geometry in a file somewhere…

Does anyone know a way to do that?

Thanks in advance.

   

Avatar
Fabrice Closier, Administrator
Posted: 03 July 2015 11:07 AM   Total Posts: 1265   [ # 1 ]

http://www.closier.nl/prefab/
http://www.prefab3d.nl/prefab/

should be up. Busy moving to new server and prepare a new home for 3.0…
Let me know if you have any dns errors. (if any clear cache and retry please)

   

Kicker, Member
Posted: 03 July 2015 11:58 AM   Total Posts: 52   [ # 2 ]

http://www.closier.nl/downloads/prefab/Prefab3D_2.0.air returns a 404, and DNS lookup for http://www.prefab3d.nl/prefab/ failed.
And yes, I flushed the cache.

Does Prefab3D works for what I’m trying to achieve anyway?

   

Kicker, Member
Posted: 03 July 2015 12:28 PM   Total Posts: 52   [ # 3 ]

Just found this: https://github.com/nixxle/Away3DAdds/blob/master/com/nixxle/away3d/MeshSave.as3

If this works, then maybe I can use the AS3 Workers after all… or not. I can just save this file after the weld call.

   

Avatar
Fabrice Closier, Administrator
Posted: 03 July 2015 01:27 PM   Total Posts: 1265   [ # 4 ]

http://www.closier.nl/downloads/prefab/Prefab3D_2.0.air
should work now… moved to a linux machine… where a cap was into url.

for the new prefab3d domain, this is something that should be resolved in a few days…

   

Kicker, Member
Posted: 03 July 2015 02:32 PM   Total Posts: 52   [ # 5 ]

Working smile
Seems like what I was looking for.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X