Peter, OK cool. I just want to get a sense of how many polys I have to work with and still maintain a high enough frame rate to have smooth animations. I tried a few more machines of varying horsepower around the office and got anything from 17 to 45 average FPS. I'm just trying to stay cognizant of the low end so I don't ruin game experience for a portion of the audience.
The wireframe was there just to emphasize the number of polys. When I change it to a simpler material I get about 1 extra frame per second on average. I feel like this thread is going to prompt me to do some more in depth performance testing. Bob, Thanks for the tip, wish I knew it a few days ago. I'm definitely also finding that the production version performs differently than the debug or even IDE driven version. On Jun 8, 11:43 pm, Peter Kapelyan <[email protected]> wrote: > If you get rid of that wireframe and use just a regular bitmap it will be > faster :) > > Other than that for Away3D that seems like you are pushing the limit > polycount-wise (what you didn't want to hear). One option is use Away3Dlite > if all you need to show higher polycounts. > > However it runs 20fps on my shabby laptop, not too shabby for me. > > -Pete > > On Tue, Jun 8, 2010 at 11:12 PM, savagelook > <[email protected]>wrote: > > > > > > >http://www.savagelook.com/3ds_test/sandbox.html > > > thats a link to the exact code I'm using with a right click "view > > source" available. Interestingly enough, I seemed to get a good > > performance increase just loading it outside of Flex. I wasn't > > running it in debug mode or anything, but when I ran it through Flex I > > got about 15 FPS, now I'm getting 22 FPS loaded on my site. In any > > case, is 22-23 FPS on average about what I could expect from code and > > a model that simple? just want to know if there's something I could > > be doing to make it faster. > > > On Jun 8, 9:25 pm, Peter Kapelyan <[email protected]> wrote: > > > Depends on your stage size also, not all slow performance is directly > > > related to away3d, but it can be simple flash limitations itself. > > > > Also lots of code may be slowing it down. Sorry if it seems like I am > > > shooting in the dark, but without any examples, assets and code it's hard > > to > > > tell what's going on. > > > > -Pete > > > > On Tue, Jun 8, 2010 at 3:42 PM, savagelook <[email protected] > > >wrote: > > > > > "I loaded a 3DS model with about > > > > 2800 faces (~1800 rendered at any given time) and when I try to move > > > > it at all (rotate in the render event) the frame rate drops into the > > > > single digits. I was hoping a different format would help. " > > > > > I was hoping someone could comment on this. I was under the > > > > impression that away3d should be able to reasonably handle up to about > > > > 10K faces. I would think 2800, and only 1800 rendered, should be no > > > > problem and not drive my FPS below 10. I can post my full code later, > > > > but for reference now, it is a very basic example with stage quality > > > > set to low, no lighting, no background, and the only motion/object in > > > > the scene is the model being rotated in the render loop. > > > > > Would a different model format other than 3DS potentially operate > > > > faster? Are there other things I can do to increase performance? > > > > Please don't say "decrease polycount" because I thought that this > > > > polycount should be easy for away3d. > > > > > On Jun 8, 11:03 am, Fabrice3D <[email protected]> wrote: > > > > > well, point is that I choose to add/fix and release instead of > > waiting > > > > months. > > > > > this ensures an evolution of the app sync with the away engine. > > > > > Even if a Prefab running 3.5 is not fully done yet simply because > > Prefab > > > > = my free time. > > > > > So basically the app evolves, sometimes with loads of new features > > > > sometimes more internals > > > > > as the last version. Its an ungoing process. > > > > > > > I thought I read one time that certain model formats perform better > > > > > > than others? Is that not true? > > > > > > well, yes and no, Prefab doesn't load and play only, its eliminating > > > > unwanted stuff > > > > > and simplifiying your data, depending on your editor and how you have > > > > exported. > > > > > so in some cases you indeed get a speed boost next to the garantied > > speed > > > > boost during parsing > > > > > and the lack of extra code required to visualise the data. > > > > > The speed boost you would get is simply because if you use the tool > > > > properly, the generated data > > > > > is optimized for Away and would require less Ram. (excepted for Lite, > > > > where weld as no influence as Lite doesn't support yet shared vertices) > > > > > But Prefab is no IPad, its not magical. What comes in can be > > enhanced, > > > > but it will not generate new 3D content for you. > > > > > > > I think a video or 2 walking you through the basics would do a lot > > to > > > > increase its user base, > > > > > >http://www.youtube.com/fabrice3d > > > > > > another problem with vids or tuts, if you look at oldest one, the > > > > interface has changed quite a lot... > > > > > > Fabrice > > > > > > On Jun 8, 2010, at 4:49 PM, savagelook wrote: > > > > > > > I thought I read one time that certain model formats perform better > > > > > > than others? Is that not true? Would an AWD not perform better > > than > > > > > > a 3DS model? I'm concerned because I loaded a 3DS model with about > > > > > > 2800 faces (~1800 rendered at any given time) and when I try to > > move > > > > > > it at all (rotate in the render event) the frame rate drops into > > the > > > > > > single digits. I was hoping a different format would help. > > > > > > > I guess I have been looking at prefab as an away3d exporter rather > > > > > > than a full modeling tool. Again, I don't want to come down on a > > > > > > great piece of software, but I can barely figure out how to use it, > > > > > > much less do all my texture baking/mapping and such in it. I would > > > > > > love to be able to use it as I am focusing my efforts solely on > > away3d > > > > > > and there's no better fit than prefab, I just can't seem to get my > > > > > > head wrapped around the interface. Maybe I just need more > > tinkering, > > > > > > but I think a video or 2 walking you through the basics would do a > > lot > > > > > > to increase its user base, and in turn increase feedback and real > > life > > > > > > applications using it. > > > > > > > On Jun 8, 10:28 am, Fabrice3D <[email protected]> wrote: > > > > > >>> - For max performance in away3d, should I be using AS3 classes or > > > > AWDs > > > > > >>> for representing models? > > > > > > >> its not about performance, except both are parsed the fastest. > > > > > >> awd supports Away data only. so no crap you don't need. > > > > > >> as3 of course is super easy to use and prevents the loading blues. > > > > > > >>> - If so, what are the limitations of these formats? Do they have > > > > animation? > > > > > > >> I feel like an old LP:... No, not yet. > > > > > > >>> s there a prefab tutorial somewhere, or someone who wants to be > > an > > > > > >>> angel and help me get started? No offense to fabrice because the > > > > > >>> feature set is incredible and I really look forward to prefab > > > > speeding > > > > > >>> my workflow, but right now I don't find it very intuitive and > > have a > > > > > >>> hard time getting anything done in it. I would love to > > reciprocate > > > > by > > > > > >>> making tutorials as I learn. > > > > > > >> Prefab will help you more or less, depending on the way you work > > and > > > > the tools you use. > > > > > >> Otherwize it will become just an exporter to Away. > > > > > > >> tutorials... mmm, guilty! > > > > > >> I do try make vids sometimes, but when I finally get a window to > > work > > > > on Prefab, what should I do? > > > > > >> work on the app or use that time to build a vid, a better site, > > tuts, > > > > articles... > > > > > >> From my point of view, and fire at me if not true, I have not the > > > > feeling the app is hard to understand or to be used. > > > > > > >> Away to AwayLite > > > > > >> It all depends on what you're using Away for. > > > > > >> but its not called Lite for nothing... > > > > > > >> Fabrice > > > > > > >> On Jun 8, 2010, at 3:55 PM, savagelook wrote: > > > > > > >>> like I mentioned in another post, I'm getting ready to start on a > > > > > >>> large project and I'm trying to start down the right path. > > There's a > > > > > >>> few things I'd like to be clear about. Feel free for any of > > these > > > > > >>> points to tell me to RTFM and point me to a link if there is > > > > > >>> documentation to reference. > > > > > > >>> - For max performance in away3d, should I be using AS3 classes or > > > > AWDs > > > > > >>> for representing models? > > > > > >>> - If so, what are the limitations of these formats? Do they have > > > > > >>> animation? > > > > > >>> - Is there a prefab tutorial somewhere, or someone who wants to > > be an > > > > > >>> angel and help me get started? No offense to fabrice because the > > > > > >>> feature set is incredible and I really look forward to prefab > > > > speeding > > > > > >>> my workflow, but right now I don't find it very intuitive and > > have a > > > > > >>> hard time getting anything done in it. I would love to > > reciprocate > > > > by > > > > > >>> making tutorials as I learn. > > > > > >>> - What are the major features I take for granted that might be > > > > missing > > > > > >>> if I switched to away3dLite? What were the things that caught > > you > > > > off > > > > > >>> guard when you switched to lite? > > > > > > >>> I'm sure I'll come up with more, but this is a good place to > > start. > > > > > >>> Thanks for any feedback. > > > > -- > > > ___________________ > > > > Actionscript 3.0 Flash 3D Graphics Engine > > > > HTTP://AWAY3D.COM- Hide quoted text - > > > > - Show quoted text - > > -- > ___________________ > > Actionscript 3.0 Flash 3D Graphics Engine > > HTTP://AWAY3D.COM
