Giter Site home page Giter Site logo

cpuengine's Introduction

CPU Renderer

Several months ago I started on a dual-path journey. To learn Rust, and to learn more about graphics rendering. This is the result of that initial step. I since abandoned work on this CPU renderer to work on a real-time game engine (which was always the end goal) but I thought this still has some interesting aspects. Since you're not interacting with a GPU at all, and take advantage of none of the tools available to you when you do rendering from the GPU, this was an interesting project to teach me a bit more about what's actually going on at a lower more fundamental level. There's a million and one way this could be improved and enhanced (such as CPU rendered lighting, or CPU based PBR) but I'm focusing those efforts on the real-time engine. I might come back to this and implement a couple of different features if it proves a useful to do an initial run at something.

I haven't re-checked this code no 10+ months into Rust. I'm sure there's demons in there ready to bite you.

Almost all of this was built following ssloy's wiki

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.