Coder Social home page Coder Social logo

glslcookbook.rs's People

Contributors

unknownue avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sjinno

glslcookbook.rs's Issues

Chapter08 shadow-map example render incorrect image

The shadow-map is basically implemented.
However some issues still haven't been dealt with:

  • the frustum in the rendering scene look at upper direction(it does not face to the object)
  • we still can't see the shadow.
  • polygon offset is not support, since this is the missing feature in glium.

Adopt to EventLoop 2.0

When this project started on, the version of glium was 0.24. Since version 0.26 has been released, EventLoop 2.0 is also introduced which is a breaking change of its usage.
This repo currently still uses the old EventsLoop.

Strange behavior when calling "insert_debug_marker()" method

display.insert_debug_marker("Start debugging")
.or_else(|_| { eprintln!("Current backend does not support Debug Marker"); Err(()) }).ok();

When running the above code on my windows machine, insert_debug_marker return Err(()) and "Start debugging" does not output to the console. It should means the backend doesn't support this functionality as explain in glium docs, but the debug message can print to console and seem work well.

When running the above code on my mbp running macOS 10.14.5, insert_debug_marker return Ok(()) which means this feature should be supported. But actually there aren't any debug message output to the console.

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.