Hello guys! I’m the first learner in away3d4
i love away3d,i made an application and it’s cool in desktop air.but I turn it to android or IOS,I found it not smooth.I tested it on ipad2 or Galaxy P7510 tablet.
does the Anti-aliasing(View3D.antiAliasing) is not supported by mobile devices? how can i improve the quality?
I saw Fabrice’s sample RoomDemoMobileCR.apk,it is wonderful.have you typed some special codes in mobile project?
Thank you !
Why Away3D application is not smooth in mobile device?Software: Away3D 4.x |
||
KobeJames, Newbie
Posted: 05 June 2012 01:51 PM Total Posts: 21 |
||
Fabrice Closier, Administrator
Posted: 05 June 2012 03:27 PM Total Posts: 1265 [ # 1 ] No secret code Here another demo using similar technic and same artist: http://www.closier.nl/HermanDemoMobileCR.apk
|
||
KobeJames, Newbie
Posted: 05 June 2012 03:55 PM Total Posts: 21 [ # 2 ] Prefab?This is my first time to hear that,and i searched some infomation about Prefab,It’s a useful tool.
|
||
|
||
Fabrice Closier, Administrator
Posted: 05 June 2012 07:51 PM Total Posts: 1265 [ # 4 ] have fun
|
||
Richard Olsson, Administrator
Posted: 16 June 2012 12:26 PM Total Posts: 1192 [ # 5 ] To answer the original questions: Anti-aliasing is not supported on most if not all mobile devices (limitation of the Stage3D API and/or the device.) Performance is generally slower on mobile devices, so things that you might get by with on a PC might be too slow on a mobile device. Generally, if you follow good practice on a PC, you will get good performance on mobile as well since the general concepts are the same. Some of these are: Try to use few buffers. Merge objects that do not need to move into single buffers. Re-use geometry between several meshes if they are intended to look the same. Use few textures. Merge textures into atlases and adapt the UV coordinates to match the new texture coordinates in the atlas. Don’t do things that require upload from CPU memory to GPU memory, e.g. video materials (or other animated materials that require texture upload every frame), CPU vertex or skeletal animation et c.
|
||
|
||
|
||
Vbot, Newbie
Posted: 17 December 2015 03:31 PM Total Posts: 10 [ # 8 ] Hi, since I’ve spent hours trying the figure out what’s the point with Away3D anti-aliasing on iOS, Away3D anti-aliasing on a retina display, Away3D retina, Away3D retina display resolution, AIR Stage3D anti-aliasing on iOS, AIR Stage3D anti-aliasing on mobile devices etc. Here is one, clear answer, so you don’t have to waste your time websearching, reading dead-end-forum-conversations and end up being frustrated about all that: As for today (December 2015) AIR / Away3D / Stage3D anti-aliasing of 3D-content is disabled for all mobile devices on the runtime-side. That means that the edges of your 3d-object will always be jagged on a mobile device, no matter what value you set on View3D.antiAlias property. On hiDPI devices (e.g. Retina Display) the jaggedness is less obvious, but still clearly visible. And no, you currently can’t make this better, i.e. “supersharp”. You could use a FXAA-filter, but this solution doesn’t make runtime-side-anti-aliasing redundant. The only filter I could find for Away3D is this one, shared by iY0Yi: FXAAFilter3D: https://gist.github.com/iY0Yi/9214675
|