亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? todo

?? 一個開源的嵌入式flash播放器的源代碼
??
字號:
Bugs====* there's a pop when transitioning from textured to mesh-rendered  glyphs; probably the texture fonts aren't registered exactly right?Productizing============Tasks to make gameswf ready for including in real games.* pick a version number, post a release* reduce small allocs, flatten data structures* for data binding, we have:  gameswf-push (fscommand)  host-push (call_method, set_variable)  host-pull (call_method, get_variable)  we are missing gameswf-pull.  This would be useful for things like  looking up localized text in the game engine's translation table,  among other things.* fix/finish precompute_cached_data()* flags to strip extraneous stuff from a SWF source stream.  I.e. remove all bitmap data, font shape outlines, etc.  This is  useful for apps that precompile the bitmaps into native formats and  hook them up at runtime via get_bitmap_info()->... .  Lets the  stripped stream be used for parsing the rest of the movie info,  without taking up extra space/bandwidth.* fontlib support, for explicitly letting the host define global fonts  that all SWF's can use* put a FAQ on the webGeneral=======* implement host-app driven text rendering functions* implement some or all of the HTML-like layout tags in dynamic text  fields* sprites as button characters are not working.  (Maybe they are  now??)* host-to-gameswf data transfer:  * DONE set_variable  * maybe augment this with array element parsing, and more data types?  * Should the whole ActionScript API be available to the host?    I.e. let C++ host code and ActionScript code call back and forth?    Might be really hot for translating slow prototype ActionScripts    into C++.  Prototype in Flash on a fast machine, convert the    scripts and deliver a blazing fast executable.* Helpers for arbitrary tag-processing* Would be good if one of the log options produced a nice usable  human-readable parsing of the file.  Or even a SSWF equivalent?* write GAMESWF_FONT_GLYPH_FINAL_SIZE into the font cache data, and  check it on read to make sure it matches.  If no match, log error  (and ignore data???)  If these mismatch, then glyphs get rendered  with the wrong size, and it's non-obvious why.* User request: implement SWF files recursively calling other SWF  files.  Low priority; there are workarounds.ActionScript============* bug:	onEnterFrame should get called even when sprite is stopped* bug:	// e.g. declared inside main movie frame 1,	// and we have a movie clip w/ instance named "instance"	function instance.some_method()	{		// "this" must refer to "instance", not the main movie!		// currently gameswf refers to the main movie.		this._visible = false;	}* bug:	// In single-frame movies, the frame 1 actions should execute only once.	// The same actions in a two-frame movie should execute continuously.* bug:	// If we have a dynamic text instance "inst" that contains a string,	// doing to_string() or to_tu_string() on it should return its string	// contents, not "<object xxx>" or whatever we do now.* bug:	// In Flash, _visible property returns "true" or "false" when	// converted to string.  gameswf returns "0" or "1".  In general,	// gameswf probably needs a specific as_value::BOOL type, instead	// of using as_value::NUMBER for booleans.* all event hooks* arrays, object constructors* sprites can receive button events!  Like mouse down/up, etc.  So  need the appropriate machinery for watching the mouse.* make sure the frame semantics are correct.  I'm not 100% clear on  the semantics of frame transitions.  I think that "being on frame N"  means that N's tags and actions have been executed.* collect a canonical set of test movies and check them into CVS* generate or collect some game-gui-like movies* will need some good test programs to make sure VM is doing the right  thing.  SET UP AUTOMATED REGRESSION TESTS -- can be a shell script  that runs test movies in verbose mode and compares ActionScript  logging against expected output.* implement remaining opcodes and library functions* _globalRenderer========* fix the few tesselator glitches* optimize tesselator (not super-high priority, caching works pretty  well)  * improve naive (mis)use of array<>; use a more statically-allocated    array to hold intermediate results.  * examine use of qsort; should probably use pointers to stuff in    some situations, instead of raw copies  * coarse clip/cull  * better tesselation; look at Shewchuck's constrained delaunay stuff    or the improved trapezoid tesselator that doesn't cut across the    whole shape* real lines (low priority)  I think the way to handle this is to take advantage of a (mipmapped)  circle texture, say 16x16, and actually draw rectangles.  But then  it still doesn't seem too easy to get right.  Needs more thinking.  Not a super high priority; doesn't seem to be a critical feature for  most movies.  Update: designers do use lines.  (But Flash MX does have a feature  that turns lines into shapes.)  The circle texture, connected by  polys seems like the way to go.  The interior of acute angles is  still tricky though.  But it can definitely be done.  Something like  this:                      -----                    -/     \-  <--- edge of circle texture                   /   use   \                  /\  circle /\                 /  \  tex  /  \                /    \ here/    \               /      \   /      \              /        \ /        \             /          o          \            /           |           \                                                                      o           /            |            \          /   use       |     use     \         /  tris for   /\    tris for  \        /     this    /  \     this     \       /             /    \              \      /             /      \              \     /             /        \              \                  /          \              \                 /            \              \                /              \              \* Idea for antialiasing.  I really miss antialiasing; it sure would be  nice to have it.  (But this is low priority for productizing; it  should be easy enough for designers to work around gameswf's  limitations.)  So here's the idea:  * do full-blown expensive cached tesselation, to generate a "fringe    mesh" around the outside edges of shapes.  We know the range of    desired rendering sizes (in pixels), so we can make a fringe mesh    that will range from 1 to 2 pixels in width when rendered.  I    believe this involves shrinking the interior of the mesh by the    equivalent of a half-pixel.  * render the mesh using the dual-textured modulate thing, to fade    the edge.  Adjust the U coordinates of the outer edge of the    fringe according to the actual size in pixels of the fringe;    i.e. if the fringe is being rendered at 1.27 pixels in size,    adjust U so that the alpha fades to exactly 0 when the fringe is    1.0 pixel from the interior; the excess fringe has alpha == 0 so    doesn't render.  This sounds pretty foolproof to me.  It's expensive in terms of  precomputation, but then we have all this precomputation machinery  anyway, so no big deal.  There could possibly be a pop when  tesselations switch, although I don't think it would be any worse  than existing pops, and I haven't noticed any objectionable popping  with our existing shape rendering.  Self-intersection of the expanded/shrunk mesh is a bitch.  E.g. concave vertices, and tiny holes (like in minified text).  Reasons not to mess with this:  * sounds like a bunch of work  * non-antialiased rendering on Xbox does not look that bad.  * hardware keeps getting better; could just turn on multisample    rendering  * artists can work around it* Instead of using textured lines we could compute the antialiasing  gradients analitically, although it requires a simple fragment  program and some per-edge computations:  http://graphics.csail.mit.edu/~ericchan/articles/prefilter/* Antialiasing using destination alpha and the edge-coverage alpha  feature that's commonly available:  * turn on edge antialiasing; basically this causes the rasterizer to    generate a source alpha value corresponding to the coverage of the    primitive on each pixel.  So, edge pixels get a fractional alpha    value.	(This feature has been around for a long time on various different    hardware, under GL_POLYGON_SMOOTH; the big problem with it is that    the obvious blend mode (SRC_ALPHA, ONE_MINUS_SRC_ALPHA) doesn't    work right.  Internal edges are slightly transparent, and that    just looks like crap.  A common hack is to draw an opaque version    of the mesh over the antialiased version; the problem with that    trick is it overdraws the darker 50% of the antialiasing, so it    only looks somewhat better -- still fairly jaggy.  The Red book    mentions (GL_SRC_ALPHA_SATURATE, GL_ONE) which works correctly if    you're drawing opaque, sorted front-to-back.  But for transparency    effects, we must draw back-to-front, so this is incompatible.)  * Clear destination alpha, then draw into destination alpha only,    using an additive blend.  This makes a nice antialiased mask of    our shape.  * Draw a quad over the shape bounding box, with the desired fill    mode, using (DST_ALPHA, ONE_MINUS_DST_ALPA).  The parts with    non-zero alpha will get filled/blended with the shape fill.  This works; there's a proof-of-concept (but artifacty) implemention,  #ifdef'd out in gameswf_render_handler_ogl.cpp  NOTE: this makes thick/thin line drawing much easier, since overdraw  can be tolerated -- just draw quads for the edges, and circles (or  semicircles) for the verts, all into the alpha buffer.  Overdraw of  the quads on the interior of angles is no problem, since things  drawn multiple times just saturate.  Then fill the bounding box,  modulating with dest alpha, as usual.* Idea: alternative polygon rendering method, without requiring any  true poly triangulation: use two-sided lighting to repeatedly  add/subtract signed-area triangles into the stencil buffer.  OK, in more words: the idea is a procedure similar to the polygon  signed-area test, where you pick an arbitrary reference point in the  plane, and for each edge in the polygon, compute the signed area of  the triangle formed by the reference point and the edge.  Total up  the signed areas, and that gives you the polygon area.  For a  general polygon, some of the edges are "back-facing" with respect to  the reference point; those triangles subtract out the extra area  added by the triangles that are "front-facing" with respect to the  reference point.  So anyway, we exploit that same idea, but render the triangles  instead of computing their area.  Front-facing triangles add into  the stencil buffer, while back-facing triangles subtract from the  stencil buffer.  The result should be 1's in the stencil buffer  where the poly should be filled, and 0's where is shouldn't.  NOTES:  * Stencil overflow, for very convoluted polys, should not matter.    You can overflow as much as you want, but the final result will    always be in the range [0,1].  So as long as you have modulo    arithmetic, and at least one bit of stencil, you're OK.  Correct?  * Those very convoluted polys mentioned above could create excessive    overdraw.  E.g. let's say you have a very thin line that spirals    around dozens of times, surrounding a big empty area.  Could be    murderous on fill rate.  One possibility here would be to somehow    recognize bad cases, and subdivide the poly, and render each piece    independently with a local reference point.  Recognizing the bad    case could be difficult.  Maybe do some kind of    cheap/partial/sloppy convex decomposition of the poly, to get the    parts.  * In theory, this would work fantastically great in combination with    the edge-antialiasing thing mentioned above, IF there were a way    to do the alpha blending using values in the stencil buffer (could    always copy stencil to alpha, but that starts to sound    expensive!), OR some way to enable modulo arithmetic in    destination alpha, and a way to pass a negative alpha values (for    the negative-area triangles).  * I'm sure someone has mentioned this idea somewhere, need to look    for more info.* Idea: render filled quadratic beziers DIRECTLY, without any  tesselation, nor any subdividing of curves.  This works essentially  the same way as the above signed-area thing for poly rendering, plus  a special rendering of the curved segments:  * take a reference point x  * for each quadratic bezier curved segment (a0, c, a1) (the a's are    "anchor" points; the c is a "control" point), we render the signed    triangle (x, a0, a1) as above.  We also render (a0, c, a1) with a    special shader (this can also be done easily in the fixed-function    pipe with a square alpha texture made up of a quarter-circle).    The texture or shader function looks like:    a1                      c     +---------------------+      ......     0 out here |     |     ....            |     |         ...         |     |            ..       |     |              .      |     |               ..    |     |                 .   |     |                  .  |     |    1 in here     .  |     |                   . |     |                   . |     |                    .|     |                    .|     o--------------------.+ a0    So this quarter-circular texture (or simple shader function)    determines the stencil/alpha value to add into the render target.    We get 1's inside the shape, and 0's outside the shape.  The 1's    have to be turned into -1's if (a0, c, a1) is backfacing.    The sum in the render target should be exactly the filled curved    shape, so then we can do a stencil-masked fill of the bounding    box, or whatever.    This might even get us edge antialiasing in the bargain!  I.e the    texels on the boundary of the circle will be between 0 and 1, so    they're feathered.    ISSUE: will mip-mapping foul this up in case of very acute or    obtuse triangles?  We probably want mip-mapping for two reasons:    1) for performance, and 2) if we're trying for antialiasing, we    want the footprint of the soft texture edge to be about one    rendered pixel wide.  (I suspect the scaling issues will be    similar to rendering glyphs using textures.)  * see similar idea explored much more thoroughly by Loop and Blinn    in this paper:    http://research.microsoft.com/~cloop/LoopBlinn05.pdf    (Actually they explore the math etc for the curve outline,    including cubic curves, but not the signed-area idea; instead they    do some funky extra tesselation to avoid overlaps.)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产天堂| 欧美中文字幕一二三区视频| 亚洲国产欧美在线| 亚洲免费毛片网站| 亚洲素人一区二区| 亚洲视频你懂的| 最新国产精品久久精品| 亚洲男帅同性gay1069| 亚洲欧美日韩国产中文在线| 亚洲精品欧美激情| 五月天中文字幕一区二区| 一区二区成人在线| 午夜久久久影院| 老司机精品视频在线| 精品一区二区精品| 成人手机在线视频| 成人黄页在线观看| 色屁屁一区二区| 欧美日韩一级二级三级| 欧美一卡二卡三卡四卡| 久久丝袜美腿综合| 亚洲四区在线观看| 午夜激情一区二区三区| 国产一区在线精品| 欧美另类变人与禽xxxxx| 日韩午夜激情免费电影| 国产午夜精品久久| 一区二区三区电影在线播| 亚洲精品成人在线| 久久99国产精品久久99 | 精品国产91洋老外米糕| 欧美激情在线一区二区| 亚洲一二三区不卡| 国产一区二区三区四 | 亚洲黄色av一区| 日韩黄色片在线观看| 国产精品一区二区三区乱码| 91国模大尺度私拍在线视频| 欧美videos大乳护士334| 亚洲婷婷综合色高清在线| 男男视频亚洲欧美| 色婷婷综合五月| 亚洲精品在线网站| 五月开心婷婷久久| 99在线精品一区二区三区| 日韩免费电影网站| 亚洲国产精品影院| 不卡一二三区首页| 精品久久一区二区三区| 亚洲成av人在线观看| 成人97人人超碰人人99| 日韩欧美一级在线播放| 亚洲国产欧美在线| 成人激情小说网站| 久久久久久**毛片大全| 午夜一区二区三区在线观看| 成人午夜激情在线| 国产香蕉久久精品综合网| 麻豆成人综合网| 欧美日韩精品是欧美日韩精品| 亚洲国产精品黑人久久久| 六月丁香婷婷久久| 日韩区在线观看| 天天射综合影视| 欧美日韩免费一区二区三区 | 亚洲一区二区三区精品在线| 丁香桃色午夜亚洲一区二区三区| 日韩一区二区电影| 日本人妖一区二区| 欧美一区二区三区啪啪| 日韩国产欧美在线观看| 欧美日韩一区视频| 无码av免费一区二区三区试看| 日本韩国一区二区三区| 亚洲日本在线a| 91免费观看视频在线| 亚洲啪啪综合av一区二区三区| 成人h动漫精品一区二| 中文字幕一区二区三区视频| 成人高清视频免费观看| 亚洲欧洲在线观看av| 91色.com| 亚洲成av人片一区二区| 51午夜精品国产| 美女视频黄 久久| 欧美成人国产一区二区| 国产精品自拍三区| 国产精品全国免费观看高清| 不卡的av网站| 国产丶欧美丶日本不卡视频| 欧美va亚洲va香蕉在线| 国产成人免费av在线| **网站欧美大片在线观看| 91精彩视频在线观看| 图片区日韩欧美亚洲| 日韩一区和二区| 国产一区二区在线观看视频| 国产精品第13页| 欧美日韩一级黄| 狠狠色丁香九九婷婷综合五月| 久久精品亚洲一区二区三区浴池| jlzzjlzz亚洲女人18| 亚洲国产乱码最新视频| 欧美一区二区三区啪啪| 成人精品小蝌蚪| 亚洲bt欧美bt精品777| 久久夜色精品国产噜噜av | 亚洲综合色区另类av| 欧美一区二区在线视频| 成人激情黄色小说| 亚洲国产你懂的| 国产亚洲精品7777| 欧美日韩成人一区二区| 国产经典欧美精品| 午夜精品一区二区三区免费视频| 久久亚洲精精品中文字幕早川悠里| 99久久国产综合精品色伊| 欧美aaaaa成人免费观看视频| 国产亚洲综合色| 欧美日韩一区二区三区四区| 国产成人综合亚洲91猫咪| 亚洲午夜日本在线观看| 中文字幕乱码久久午夜不卡 | 国产精品九色蝌蚪自拍| 欧美精品精品一区| 91小视频在线观看| 久久99久国产精品黄毛片色诱| 中文字幕亚洲在| 久久久久久久久久久黄色| 欧亚一区二区三区| 99这里只有久久精品视频| 国产原创一区二区| 免费成人av在线| 亚洲午夜电影在线| 亚洲女厕所小便bbb| 久久色在线观看| 欧美一区二区三区公司| 欧美人与z0zoxxxx视频| 在线视频国内自拍亚洲视频| 成人app网站| 国产精品1024| 国产精品一区二区免费不卡| 全部av―极品视觉盛宴亚洲| 亚洲成人动漫在线免费观看| 亚洲欧美另类综合偷拍| 国产精品高潮呻吟| 国产精品久久久久aaaa樱花 | 亚洲欧美一区二区三区孕妇| 国产欧美一区二区三区网站| 亚洲精品在线免费播放| 精品国产三级a在线观看| 欧美变态口味重另类| 日韩欧美精品在线| 亚洲精品一区二区三区香蕉| 欧美高清hd18日本| 日韩一级免费观看| 日韩欧美国产麻豆| 久久嫩草精品久久久精品| ww亚洲ww在线观看国产| 国产亚洲一二三区| 国产精品欧美久久久久无广告| 日韩电影在线免费观看| 日本一不卡视频| 美女mm1313爽爽久久久蜜臀| 麻豆91在线播放免费| 国产最新精品免费| 成人国产免费视频| 欧洲日韩一区二区三区| 欧美久久久久久久久| 日韩情涩欧美日韩视频| 欧美激情中文字幕一区二区| 亚洲色图制服丝袜| 视频一区欧美精品| 国产精品一二三四区| 成人高清免费观看| 欧美日韩激情一区二区| www精品美女久久久tv| 国产精品夫妻自拍| 亚洲国产乱码最新视频| 久久电影网站中文字幕| 成人av在线一区二区三区| 欧美色精品天天在线观看视频| 日韩欧美激情一区| 中文字幕一区在线观看| 亚洲国产日韩a在线播放性色| 久久不见久久见中文字幕免费| 丁香婷婷综合网| 欧美日韩免费一区二区三区视频| 精品国产乱码91久久久久久网站| 国产精品伦理在线| 五月天丁香久久| 99r国产精品| 日韩视频中午一区| 亚洲婷婷在线视频| 久久精品国产亚洲高清剧情介绍| k8久久久一区二区三区| 日韩免费一区二区| 洋洋成人永久网站入口| 国产成人在线视频免费播放| 56国语精品自产拍在线观看|