Away3D Forum http://away3d.com/forum/ Away3D Forum en Copyright 2022 2022-09-22T08:43:17+00:00 Away3d haxe make use of prefab3d http://away3d.com/forum/viewthread/6382/ http://away3d.com/forum/viewthread/6382/#When:08:43:17Z <p>May I know that, can away3d haxe make use of asbase file which export from preface3d, if yes, can sir demonstrate it ?</p> 2022-09-22T08:43:17+00:00 I have an Issue with prefabe3D and I seek help. http://away3d.com/forum/viewthread/6280/ http://away3d.com/forum/viewthread/6280/#When:14:30:24Z <p>Hi, I imported a 3D file (made and textured in blender) into prefab3D, then I tried to export the file as either AWD1 or AWD2. NO AWD FILE WAS CREATED IN THE SPECIFIED DESTINATION! I don’t know the reason. I hope somebody will help me.</p> 2017-12-21T14:30:24+00:00 Md2 strip Material http://away3d.com/forum/viewthread/6156/ http://away3d.com/forum/viewthread/6156/#When:10:31:30Z <p>Okay, got a Md2 I made, it’s fine. I used it with Away3d 3.6 but anyway</p> <p>I won’t load in Away3D 4. the problem seams to be a dependency for a material. I load the Md2 into Prefab and yep, it seams to be looking for a material. Now, I want to STRIP that material, so it’s the same, say the example files md2. the Model when in Away3d will have one of two materials depending. I try to export it in Prefab as a md2 without saving dependency but, it doesn’t strip the need from one in the code and I can’t figure out where (if anywhere) there is something that’ll let me remove the material.</p> <p>Any clues?</p> 2016-08-26T10:31:30+00:00 about md2 http://away3d.com/forum/viewthread/6130/ http://away3d.com/forum/viewthread/6130/#When:05:05:48Z <p>sir, i export md2 file from 3ds max, fragmotion or prefab3d, when i import it into prefab3d, mesh &amp; animation sequence look ok, but never appear when i using away3d, why ? no error message in debug log</p> 2016-07-22T05:05:48+00:00 export vertex animation to as3 http://away3d.com/forum/viewthread/6119/ http://away3d.com/forum/viewthread/6119/#When:08:27:41Z <p><span style="font-size:14px;">i try to export my md2 vertex animation to as3, but it became very difficult to control, animator only play one animation</p> <p>1) how can i play more than 1 animation by modifying those meshanimdata?</p> <p>2) can i trigger that animation by adding button/listener in prefabproject.as ?&nbsp; just like md2 animation, or shall i add those button/listener in animated mesh as file (animated character file) ?</p> <p>3)what this mean ? “_animators[_animators.length-1].play(“default”);”, why animators.length must minus by 1 ?</p> <p>4)how can i animate texture in meshdata.as ?</p> <p>can anyone demonstrate it for me ?</span></p> 2016-07-09T08:27:41+00:00 configuration &amp; customization for cadet3d editor http://away3d.com/forum/viewthread/6120/ http://away3d.com/forum/viewthread/6120/#When:08:30:40Z <p>i am beginner for away3d, therefore not that understand about tutorial like “Cadet Engine Getting Set Up, Cadet Editor Editor Extensions”, i have made a few examples successfully, (build swf files) like behaviour &amp; bunny mark, but not in planet &amp; robot by using flashdev (but not by flash builder, first time i use it, i try to follow instruction in Cadet Engine Getting Set Up, but fail)</p> <p>error massage like this appear, what this mean? i have to embed those cdt3d files ? any modified example ? D:\burn 9\CoreApp-as-0.4.2-beta\CoreApp-as-0.4.2-beta\src\core\app\util\swfClassExplorer\data\Traits.as(13): col: 15 Warning: No constructor function was specified for class Traits. D:\cadet\CoreApp-as-0.4.2-beta\CoreApp-as-0.4.2-beta\src\core\app\managers\fileSystemProviders\local\FileSystemUtil.as(39): col: 62 Error: Type was not found or was not a compile-time constant: File. public static function fileToURI( file:File, rootDirectory:File, fileSystemProviderID:String ):URI</p> <p><span style="font-size:14px;"></span>can anyone send me the cadet3d editor together with custom extension (exported swf) &amp; customised config.xml ? (since i cant’ make it by myself) mkfuiy at gmail dot com</p> <p>according to instruction, there are no cadet3d editor air file to download, i have to download cadet2d editor air file &amp; customize it by myself ? am i right ?</p> <p>how about core editor &amp; cadet editor tutorial in github “https://github.com/CadetEditor/CadetEditor-as/wiki”, open sources for customise extension ?</p> 2016-07-09T08:30:40+00:00 How do you select an exported as3 Prefab2 object with the mouse? http://away3d.com/forum/viewthread/6003/ http://away3d.com/forum/viewthread/6003/#When:01:21:33Z <p>Hi I’m trying to select an object with the mouse that I exported as an AS3 class from Prefab2. It’s a soldier that I’m trying to select:</p> <p>_soldier = new Soldier(); <br /> &nbsp; _soldier.scale(.10);<br /> &nbsp; _soldier.x = 0;<br /> &nbsp; _soldier.y = 25;<br /> &nbsp; _soldier.z = -100;<br /> &nbsp; <br /> &nbsp; _soldier.mouseEnabled = true;<br /> &nbsp; _soldier.addEventListener(MouseEvent3D.MOUSE_DOWN, _soldierOnMouseDown);<br /> &nbsp; scene.addChild(_soldier);</p> <p>but it doesn’t work. Any idea how I could select it with the mouse so I can move it around.</p> 2015-12-20T01:21:33+00:00 Fabrice? http://away3d.com/forum/viewthread/6052/ http://away3d.com/forum/viewthread/6052/#When:16:19:08Z <p>Hello, I noticed on prefab 1, there are buttons to render raytraced images and the ability to save - this is great!!!&nbsp; is there a method to do this in version 2?&nbsp; thanks for any help, and I do really appreciate your great work on this project!</p> <p>andy</p> 2016-03-13T16:19:08+00:00 casted shadows possible http://away3d.com/forum/viewthread/6051/ http://away3d.com/forum/viewthread/6051/#When:01:35:31Z <p>Hello, this seems really cool but I’m still trying to learn it -<br /> Is there a way to bake shadows cast on mesh?&nbsp; I see the lighting is awesome, but no shadows.&nbsp; Am I missing something, cant find a method for hardshadow or anything, and not sure this is for that at all.&nbsp; Also, when I export my awd 2 file, the light effects dont appear on my model in awaybuilder.&nbsp; thanks in advance, I love this so far!!!</p> <p>andy</p> 2016-03-12T01:35:31+00:00 I cant seem to get my collada file to work. http://away3d.com/forum/viewthread/5742/ http://away3d.com/forum/viewthread/5742/#When:01:13:37Z <p>Greetings.</p> <p>I created a little Dummy with a very happy walking animation, because I later want to cut him in two with a chainsaw in my Away3D application.</p> <p>I wanted to manage the import like in the Polar Bear example, so I wanted to create the mesh and animation and turn it to AWD2 in Prefab3D.</p> <p>It tourned out to be slightly more difficult, as I tried to get the collada file out of blender to work. After a lot of hours, many “Collada Export Do’s and Dont’s” Tutorials and a lone tear running down my cheek, I finally hope for an answer in this forum.</p> <p>First, here is a .rar package with the .blend file and some of the rather unfunctional results:<br /> ht*tp*://*fbe*.am*/*vfG (delete the * ‘s)</p> <p>What I tried:<br /> I tried all the “solutions” of those export tutorials. <br /> For example moving everything to (0,0,0), baking the animation and adding keyframes for every frame, deselecting all actions and exporting in a lot of different ways.</p> <p>The result was always the same. Here are the problems Prefab3D showed me:<br /> 1. there are always 2 States, doesnt matter how many actions I have created.<br /> 2. both States are named “null” <br /> 3. Sometimes the states have the correct count of Nodes, sometimes not.<br /> 4. Playing the animation doesnt do anything. The Mesh doesnt move.</p> <p>In AwayBuilder, as soon as I try to play the animation, I get a lot of errors.</p> <p>And here comes the weird part:<br /> I downloaded a collada file from the internet and tried it. Both the animation and the mesh worked fine in Prefab3D. So I imported it in blender and exported it again. Again, the animation worked fine, there was just a little problem with the mesh-angle. But nothing special. (the states still were named “null” in both cases)</p> <p>I compared all properties of the downloaded collada with the ones of my Dummy, in my point of view everything was the same but still no result.</p> <p>Then I created a simple cube with only one bone in blender and exported it. The animation worked. Well, the states were named null and there was the angle problem again, but it worked.. I did the same as with my Dummy, he doesnt work and the cube works. One may think “maybe it’s the bone/poly count”. But no, the collada from the internet had far more bones and polys.</p> <p>As a last attempt I tried to export it as md5, but the plug-in always threw errors.</p> <p>I dont know any other solution, but I’d like to stick with blender.</p> <p>If anyone manages to get my little Dummy to work with his animation in Prefab3D/Away3D, he will be my messias for one day.</p> <p>Thanks.</p> 2014-12-21T01:13:37+00:00