2268 posts
  • Elite Author
  • Author Level 10
  • Exclusive Author
  • Winner
+16 more
mpc
says

Hi guys, I am starting to work with Away3D and I will have few questions in an upcoming days for those who already worked with it.

Question: Is it possible to decrease the number of polygons on the external model without editing the model in some 3D graphic software? I have bought human model made in 3D Max but it is so complex :O

2268 posts
  • Elite Author
  • Author Level 10
  • Exclusive Author
  • Winner
+16 more
mpc
says

2nd Question: How can I add different event listeners to different parts of my model, I am using a human model in the description it says that it is grouped into 70 parts but when I load it and trace the _loader.children.length I get 1. Any idea?

6231 posts
  • Exclusive Author
  • Elite Author
  • Author Level 8
  • 7 Years of Membership
+13 more
VF
says

Not sure if this will answer your question. Otherwise, you can search more on their email archive:

http://www.mail-archive.com/away3d-dev@googlegroups.com/msg00415.html
3072 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Weekly Top Seller
+7 more
wickedpixel
says

Question: Is it possible to decrease the number of polygons on the external model without editing the model in some 3D graphic software? I have bought human model made in 3D Max but it is so complex :O

Heh, I don’t think that is possible without a 3d editing software that can do this type of optimizations + manual fine-tuning. away3d only renders it.

2268 posts
  • Elite Author
  • Author Level 10
  • Exclusive Author
  • Winner
+16 more
mpc
says


Question: Is it possible to decrease the number of polygons on the external model without editing the model in some 3D graphic software? I have bought human model made in 3D Max but it is so complex :O
Heh, I don’t think that is possible without a 3d editing software that can do this type of optimizations + manual fine-tuning. away3d only renders it.

Yeah, thats what I was afraid ;) Time to install windows and 3D studio ;/

2268 posts
  • Elite Author
  • Author Level 10
  • Exclusive Author
  • Winner
+16 more
mpc
says




Question: Is it possible to decrease the number of polygons on the external model without editing the model in some 3D graphic software? I have bought human model made in 3D Max but it is so complex :O
Heh, I don’t think that is possible without a 3d editing software that can do this type of optimizations + manual fine-tuning. away3d only renders it.
Yeah, thats what I was afraid ;) Time to install windows and 3D studio ;/

Or jump over to 3DOcean for some nice low poly models, or maybe you can get someone to optimize your model there.

BTW how many polys are on that model?

I am not sure but I am using this one http://3docean.net/item/human-body-silhouette-of-a-male/132168

2268 posts
  • Elite Author
  • Author Level 10
  • Exclusive Author
  • Winner
+16 more
mpc
says

^ That looks like an extremely complex model, I don’t think it’s good for real time applications.

I suggest you start with one of these base models, they have good detail and not too many polys:

5530 polys http://3docean.net/item/generic-female-low-poly-base-mesh-/164887

1800 polys http://3docean.net/item/low-poly-base-mesh-male/73426

Female is really good the male is a little to low ;)

198 posts Enjoy!
  • Elite Author
  • Author Level 8
  • Trendsetter
  • Weekly Top Seller
+9 more
XanderRock
says

It’s not a rigged model you will probably have some problems on moving/editing. I didn’t use Away3d but I think this model have much more polygons than Away3d can handle. Edit with Max. Its very friendly and fun to use Max

2268 posts
  • Elite Author
  • Author Level 10
  • Exclusive Author
  • Winner
+16 more
mpc
says

Hi guys I have two more questions

Question 3: I try to export my 3ds model as AS3 model with AS3Exporter, below I paste my code (I get a null object reference error);/

protected function modelLoaded(e:Loader3DEvent):void {
    trace("model laoded");
    stage.addEventListener(MouseEvent.CLICK, stageClick, false, 0, true);
}
protected function stageClick(e:MouseEvent):void {
    var exporter:AS3Exporter = new AS3Exporter();
    exporter.addEventListener(ExporterEvent.COMPLETE, onComplete);
    exporter.export(_loader.handle, 'BodyBase', 'com.massiveProCreation');
}
protected function onComplete(e:ExporterEvent):void{
    trace("Export Completed");
    System.setClipboard(e.data);
}

Question 4: Which material should I apply to get some sooth shading on my model? Because I have added a light source but it looks awful ;/ http://cl.ly/5iR4 :O

2309 posts
  • 7 Years of Membership
  • Affiliate Level 2
  • Author Level 2
  • Beta Tester
+5 more
theflyingtinman
says

Hi guys I have two more questions

Question 3: I try to export my 3ds model as AS3 model with AS3Exporter, below I paste my code (I get a null object reference error);/

protected function modelLoaded(e:Loader3DEvent):void {
    trace("model laoded");
    stage.addEventListener(MouseEvent.CLICK, stageClick, false, 0, true);
}
protected function stageClick(e:MouseEvent):void {
    var exporter:AS3Exporter = new AS3Exporter();
    exporter.addEventListener(ExporterEvent.COMPLETE, onComplete);
    exporter.export(_loader.handle, 'BodyBase', 'com.massiveProCreation');
}
protected function onComplete(e:ExporterEvent):void{
    trace("Export Completed");
    System.setClipboard(e.data);
}

On which line does the error occur when you run it in the debugger?

by
by
by
by
by
by