Giter Site home page Giter Site logo

awesome-threejs's Introduction

搜集并学习threejs的相关知识总结、Demo、站点、书籍等,欢迎有兴趣的小伙伴一起交流学习。

three.js是以webgl为基础的库,封装了一些3D渲染需求中重要的工具方法与渲染循环。WebGL门槛相对较高,Three.js对WebGL提供的接口进行了非常好的封装,简化了很多细节,大大降低了学习成本。查看官方实例

基础入门

问-学-记

个人学习过程中的疑问记录及demo演示,小白入门开始教程之Hello Threejs。

进阶教程

踩坑经验

分享记录遇到的坑及解决方案

以下经验来自快乐小球球

  • 图片尺寸必须以2的n次方<=1024,如果图片不是2的整数倍数,引擎会自动压缩到2的整数倍数,在chrome控制台中会出提示,粗看没事,但在iphone6Plus下会卡到微信闪退.

  • 用webpack打包模型文件,用各种加载器中的 prase 直接解析即可。模型在 webpack 中以 raw 加载

    module: {
      loaders: [
        {test: /\.dae$/, loader: 'raw'},
        ...
      ]
    }
    

Shader 相关资料

shader 效果

用如上 Shaders 在线编辑器 可以查看效果 这里查看效果代码

网上收集资料

Threejs 相关的库

贴图素材

在线站点

在线DEMO

相关书籍资料

收集整理学习资料。

同类库探索

b4w p5.js

awesome-threejs's People

Contributors

zyj1022 avatar

Forkers

andycheung-hub

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.