Coder Social home page Coder Social logo

r_tiny_render's Introduction

English

用rust实现的类似于webgpu标准的可编程软渲染管线

  • 基础数学库

  • 支持gltf模型

  • webgpu渲染管线标准实现

    • 顶点解析
    • 顶点着色器
    • 图元裁剪(简单齐次裁剪)
    • 图元组装(triangle-list)
    • 光栅化
    • 片元着色器
    • 纹理支持
    • 法线贴图
    • 多重采样
  • Pbr

    • 材料
    • 光源
      • 点光源
      • 平行光
      • 聚光灯
    • 相机
  • bevy-like mesh 渲染

  • 完整相机控制

  • 阴影

截图

三角形 立方体 robot

参考:

bevy 游戏引擎 https://github.com/bevyengine/bevy

webgpu 标准中关于渲染管线的算法 https://www.w3.org/TR/webgpu/#rendering-operations

闫令琪老师的games101(mua~ 大爱闫老师) https://games-cn.org/intro-graphics/

韦易笑老师的软渲染器 https://github.com/skywind3000/RenderHelp

张林伟老师的用rust实现的软渲染器 https://github.com/NightsWatchGames/tiny-renderer

Filament 项目 中pbr实现原理 https://google.github.io/filament/Filament.html#figure_roughness

ue4官方的着色器模型实现 https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf

r_tiny_render's People

Contributors

re0312 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.