OpenGL 2D 线 反走样 高效

上传者: exlimit | 上传时间: 2021-06-04 21:30:06 | 文件大小: 2.86MB | 文件类型: ZIP
效率比agg快很多 只能画线(线段,直线,曲线) 有反走样,有羽化效果 多种端点样式,拐点样式 bug——两点距离不能小于线宽

文件下载

资源详情

[{"title":"( 87 个子文件 2.86MB ) OpenGL 2D 线 反走样 高效","children":[{"title":"vaserenderer-master","children":[{"title":"docs","children":[{"title":"sample_images","children":[{"title":"PL_mimic_airbrush.png <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false},{"title":"agg_line_thickness.png <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"PLC_butt.png <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"agg_line_thickness.gif <span style='color:#111;'> 10.70KB </span>","children":null,"spread":false},{"title":"polyline_5.png <span style='color:#111;'> 21.79KB </span>","children":null,"spread":false},{"title":"fade_intro_w1.png <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"fade_intro_1.png <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"fade_intro_w2.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"ab_cairo_line_thickness.png <span style='color:#111;'> 17.44KB </span>","children":null,"spread":false},{"title":"polyline_2.png <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"polyline_1.png <span style='color:#111;'> 12.75KB </span>","children":null,"spread":false},{"title":"fade_intro_4.png <span style='color:#111;'> 5.78KB </span>","children":null,"spread":false},{"title":"PLC_round.png <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"bezier_2.png <span style='color:#111;'> 6.45KB </span>","children":null,"spread":false},{"title":"PLJ_bevel.png <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"ab_vaser_line_thickness1.png <span style='color:#111;'> 13.78KB </span>","children":null,"spread":false},{"title":"PLC_none.png <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"bezier_4.png <span style='color:#111;'> 4.60KB </span>","children":null,"spread":false},{"title":"fade_intro_w4.png <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"ab_vaser_line_thickness0.png <span style='color:#111;'> 13.87KB </span>","children":null,"spread":false},{"title":"PLC_last.png <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"bezier_5.png <span style='color:#111;'> 8.30KB </span>","children":null,"spread":false},{"title":"PL_no_feather_at_core.png <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"fade_intro_2.png <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"PLC_butt_high_feathering.png <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"PL_feathering_8.png <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"PLC_square.png <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"PLC_first.png <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"bezier_3.png <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"polyline_4.png <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"PLJ_miter.png <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"PLC_rect.png <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"bezier_1.png <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"fade_intro_3.png <span style='color:#111;'> 13.05KB </span>","children":null,"spread":false},{"title":"a_vaser_line_thickness.png <span style='color:#111;'> 14.05KB </span>","children":null,"spread":false},{"title":"segment.png <span style='color:#111;'> 46.92KB </span>","children":null,"spread":false},{"title":"fade_intro_w3.png <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"PL_no_feather_at_cap.png <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"PLJ_round.png <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"polyline_3.png <span style='color:#111;'> 6.02KB </span>","children":null,"spread":false},{"title":"PLC_both.png <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false}],"spread":false},{"title":"template.html <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 9.10KB </span>","children":null,"spread":false},{"title":"getting_started.html <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"API.html <span style='color:#111;'> 14.59KB </span>","children":null,"spread":false},{"title":"style.css <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false}],"spread":true},{"title":"readme.md <span style='color:#111;'> 7.15KB </span>","children":null,"spread":false},{"title":"vaser","children":[{"title":"opengl.cpp <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"curve.cpp <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"color.h <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"agg_curve4.cpp <span style='color:#111;'> 7.19KB </span>","children":null,"spread":false},{"title":"polyline.cpp <span style='color:#111;'> 51.69KB </span>","children":null,"spread":false},{"title":"vertex_array_holder.h <span style='color:#111;'> 4.71KB </span>","children":null,"spread":false},{"title":"backend.h <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"point.h <span style='color:#111;'> 5.43KB </span>","children":null,"spread":false},{"title":"vaser.h <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"gradient.cpp <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"vaser.cpp <span style='color:#111;'> 687B </span>","children":null,"spread":false}],"spread":false},{"title":"samples","children":[{"title":"segment.exe <span style='color:#111;'> 1.11MB </span>","children":null,"spread":false},{"title":"samples.cpp <span style='color:#111;'> 4.39KB </span>","children":null,"spread":false},{"title":"png_readwrite.cpp <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"segment <span style='color:#111;'> 627.88KB </span>","children":null,"spread":false},{"title":"segment.cpp <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false},{"title":"polyline.cpp <span style='color:#111;'> 10.53KB </span>","children":null,"spread":false},{"title":"samples.exe <span style='color:#111;'> 1.09MB </span>","children":null,"spread":false},{"title":"samples <span style='color:#111;'> 610.91KB </span>","children":null,"spread":false},{"title":"test1_base.cpp <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 307B </span>","children":null,"spread":false},{"title":"polyline <span style='color:#111;'> 647.17KB </span>","children":null,"spread":false},{"title":"polyline.exe <span style='color:#111;'> 1.13MB </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 79B </span>","children":null,"spread":false}],"spread":false},{"title":"workbench","children":[{"title":"raphael-min.js <span style='color:#111;'> 58.88KB </span>","children":null,"spread":false},{"title":"triangles_dual_knife_cut.html <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"vector_arc.html <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false},{"title":"quad_reflex.html <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"dragger.js <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"base.html <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"knife_cut_test.cpp <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"outward_vector.html <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"triangle_knife_cut.js <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"layout.css <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"knife_cut_test.exe <span style='color:#111;'> 1.09MB </span>","children":null,"spread":false},{"title":"drawer.js <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"gradient_along_path.html <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"knife_cut_test <span style='color:#111;'> 611.90KB </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 84B </span>","children":null,"spread":false},{"title":"triangles_knife_cut.html <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • chenlang827 :
    思路和算法都不错,就是性能在大量线段渲染的时候,效率还是不够好
    2014-03-31

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明