Loading...

Forum Index > Developer Network > [Blender] Y3D Mesh Exporter (to .as class)

Abais 21 months ago
ActivityRank: 0
Hi there,

I have made a 3D Mesh exporter for Blender.
It exports only the mesh (geometry) and uv, not the animation !
It works with Blender 2.49b, i haven't try other version...

http://urfman.free.fr/Y3D/Y3D_1-0-2_Exporter.zip

Constraints :
  • Only one object can be exported.
  • This one must have uv coords.

How to use it :

  • Move the .py script to => [ 'Blender Foundation' Path ] /Blender/.blender/scripts/
  • Launch Blender, open your 3D File
  • Select your object (one only)
  • Export with File => Export => Yogurt3D 1.0.2 - AS3 Class (.as) ...
  • Choose a class name and a directory (your project src/ for exemple) and Export .
  • The created class is an extends of Mesh class from Yogurt3D so, in your project code, your class has to be instanced in the geometry property of a SceneObjectRenderable instance...

Your code will look like this :

var my3dMesh:myExportedMesh = new myExportedMesh(); 
var my3dObject:SceneObjectRenderable = new SceneObjectRenderable();
my3dObject.geometry = my3dMesh;
my3dObject.material = new MaterialBitmap(myTexture.bitmapData);
Yogurt3D.defaultScene.addChild(my3dObject);


Enjoy

As usual, please forgive my english

Alexandre.
anchor 21 months ago
ActivityRank: 0

Thanks Abais!


Abais 21 months ago
ActivityRank: 0
I edit my POST, There were some light mistakes, and I add the step "select your object" before exporting.
Anchor, please return a feedback if you try it
anchor 21 months ago
ActivityRank: 0

With Your help Abais, I made my own exporter for Yogurt3D.  Thank You again

(Im not Blender user)

Latest Activity

replied to a message RE: [Blender] Y3D Mesh Exporter (to .as class).
21 months ago
replied to a message RE: [Blender] Y3D Mesh Exporter (to .as class).
21 months ago
replied to a message RE: [Blender] Y3D Mesh Exporter (to .as class).
21 months ago
posted a new message [Blender] Y3D Mesh Exporter (to .as class).
21 months ago
posted a new message New Demo on Website.
25 months ago
posted a new message Flash In The Can.
25 months ago
replied to a message RE: GDC, Booth #834 - new engine demos.
26 months ago

Top Contributors

15
chezmeadows
13
Abais
7
arkadianen
4
anchor
3
masood_ahm

Share

Powered by