Away3D Forum http://away3d.com/forum/ Away3D Forum en Copyright 2016 2016-08-27T19:25:38+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 PANICK http://away3d.com/forum/viewthread/5692/ http://away3d.com/forum/viewthread/5692/#When:20:23:16Z <p>Installing new system and I can’t get the download links to the Prefab to work.&nbsp; Link to Prefab site does not work! </p> <p>What is going on.&nbsp; I need [my] prefab!</p> <p>Thanks!<br /> Dan</p> 2014-10-19T20:23:16+00:00 BSP Prefab 1 to Away3d 3.6 on FlashDevelop NOT WORKING http://away3d.com/forum/viewthread/5568/ http://away3d.com/forum/viewthread/5568/#When:11:02:48Z <p>Hello everyone,</p> <p>First of all I’d like to congratulate everyone working on Prefab and Away3D. It’s really wonderfull all the amazing things you guys have been developing and, on top of that, the fact that you’re distributing all this for free.</p> <p>However…</p> <p>Don’t get me wrong, but I’ve been trying to work with Away3D for the last four days and it’s been a kinda frustrating experience. Few documentation, not many tutorials - and the best ones usually don’t work anymore because they use deprecated features… what about legacy, guys?</p> <p>Even then, I’ve been trying my best to understand this engine which has so much potential. Today, I almost had an orgasm when I came across this youtube video:</p> <p><a href="https://www.youtube.com/watch?v=VH3etYMjf94">https://www.youtube.com/watch?v=VH3etYMjf94</a></p> <p>“Wow! It’s exactly what I need right now!”, I thought. I downloaded the latest version of Prefab; then I realized the BSP tool was missing; so I got the older version of Prefab (the one for Away3D 2 or 3). </p> <p>I did everything exactly as shown in the video. Mind you, I’m using a very simple 3d model - it’s actually simpler than the one in the video. <br /> I exported for Away3D 3.6 (which I have set up in Flash Develop and so far seems to be working correctly), and I clicked in the option for previewing the export. </p> <p>The preview shown after Prefab exported was good. The movement needed a little tweaking, but everything else looked great…</p> <p>So then I open Flash Develop, choose the exported .as file as the project document, and, guess what? Right, it wor… no, it didn’t work. I was presented with the blank screen of dispair, which is a view I’ve been seeing too many times since I decided to use Away3D.</p> <p>So, is there anyone here who cares and may have any ideas on how to solve this issue? Hey, I don’t mind using an older version of Away3D - actually, which version was used in that marvelous video?</p> 2014-07-01T11:02:48+00:00