Giter VIP home page Giter VIP logo

lumenpyx's Issues

Add reflection testing.

Not sure the reflections are working properly, make an example to test this. Also, probably write some special test code to visualize better what is happening

Add a camera

The camera needs to be changeable by the user

Implement a sprite mixing system

This would be a more general version of masks where a framebuffer is made and two objects are drawn on top of each other with a user-defined mix function after rendering to the framebuffer the framebuffer is drawn to the main framebuffer.

Add a render setting to render an area around the screen

Problem

When the camera is close to the scene the reflections don't always all land on the scene. This results in a portion of the surface having no reflections

Proposed Solution

Add a render setting to add an additional rendering area around the camera. This would allow reflections to land on offscreen surfaces.
A visual example of what this would look like:
image

Fix the reflections as shown in the reflection test

The reflections in the test are not behaving as expected
image
We should see it be skewed, but instead it seems to be intersecting with it's own color rather than bouncing and intersecting with another pixel.

Refactor draw_all

draw_all is a mess in its current state, it needs to be broken up into a couple of functions.

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.