Alternativa3d Exporter Update to blender 2.57

Posted by davidejones

Seen as there is now a stable release of blender which is version 2.57 i figured i’d update my export script again just to make sure its working still.

You can download the latest version here folks:
Click here to download

Trackback URL for this post: http://davidejones.com/blog/306-alternativa3d-exporter-update-blender-257/trackback/

Being Sociable...

  • If you like this article then please share it on your favourite social network and follow me on twitter for the latest updates

14 Responses to Alternativa3d Exporter Update to blender 2.57

Adam

Unfortunatly it doesnt work when there are few thousends polygons, and stops after adding certain amount of faces resulting in incomplete files :( .

Thanks, I’ve emailed you back a fixed version. I’m going to run a few more tests and then I’ll release an update on my blog for others to have as well.

Incase anyone is wondering the problem is when you have multiple textures on your model it won’t export the material properly.

Adam

Thank you David for the updated version you sent me! As for me, it works like a charm now. Thank you also for your tips about fixing my model’s faces problem. They were really helpful. Cheers!

Any update on this? This would be very useful to me but at the moment the script seems to be dying just as it starts to stop just after it writes the constructor to the file.

//Alternativa3D Class Export For Blender 2.57 and above
//Plugin Author: Invisible Man, http://www.davidejones.com
package {
import alternativa.engine3d.objects.Mesh;
import alternativa.engine3d.materials.FillMaterial;
import alternativa.engine3d.materials.TextureMaterial;
import alternativa.engine3d.core.Vertex;
import __AS3__.vec.Vector;
import flash.display.Bitmap;
public class lowman_shoes extends Mesh {
=============

That’s where it dies.

Ah sorry yes i do have a slightly updated version which corrected some problems that the previous user mentioned.

I’m trying to update this and re do my website so i’ve been a little slow with things lately.

I’ll try post an update shortly.

admin

Hi Jose , thanks for the comment yes you are right you do have to use the calculateFacesNormals, sorry if i have missed this out in any instructions.

You can follow my latest version of the addon here
http://davidejones.com/blog/alternativa3d/blender-alternativa-addon/

Where i have moved it to google code.

Perhaps i should make the amen.calculateFacesNormals (true); generated as part of the class rather than when you are adding it to the container. This would make more sense.

I’m going to be updating the addon soon for version 8 so keep an eye out for that!

Hi David .. try doing a test with a simple geometric figure. When you export the file. AS apparently is okay, the problem happens when you add to the container Alternativa3D. You use the following code:

var bx: mybox mybox = new ();
bx.calculateNormals (true);
bx.calculateBounds ();
container.addChild (bx);

But as it happens in version 7, the method calculateNormals () does not exist. So I put:

var bx: mybox mybox = new ();
bx.calculateBounds ();
container.addChild (bx);

But in this case adds nothing to the container, then I fail to see anything, but how big you assign the object. What would be the correct way to add it. Thanks to Excellent Your Job

Yes, it makes sense, so the package would take care of all the code parsing object itself.

What occurred to me is to see if I can do something similar to your script, but working with Google SketchUp API in Ruby programming, would be another great tool

admin

Hmm that is a good idea, i have sketchup but i’ve never looked into the api. Good luck with the project, let me know if i can help in any way.

Good friend David .. Already started to develop the basic plugin. So far I can create and export figures to get a code similar to yours (I hope you do not mind), adding the color applied to the faces. I continue to expand to make optimum.

By the way, I have found the problem with your plugin, when is a very complex figure does not write the whole class .. SketchUp something happens and I know why. If you want to talk can contact me @JoseAlejandroRR or my email, my excellent complement knowledge. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>