Giter VIP home page Giter VIP logo

Comments (4)

lucasw avatar lucasw commented on September 27, 2024

Look at bgfx exampl 16 shadowmaps https://github.com/bkaradzic/bgfx/tree/master/examples/16-shadowmaps

The lights in the example have a bug, or it is a flaw of this shadow type- moving further away from the scene makes it darker even though the light hasn't moved.

Start with just spot lights, since most real world lights in a dark scene are going to be more like spot lights- lights mounted on a robot for instance, or one or two area lights.

Want to be able to control the vertical and horizontal inner/outer cone angles separately

Just do hard blocky edgangleanglees initially, no pcf or the other types.

Similar to texture projection later?

from bgfx_ros.

lucasw avatar lucasw commented on September 27, 2024

Example 16 looks substantial.

Take example 16, put it into a subdirectory and make it build with cmake here, then start stripping away the features I don't want, then integrate?
This is the best approach to adapting all the code most fully soonest, and understanding it, and then could gradually add features.

Or put it into subdir, but then integrate the entire thing, replace all the in-bgfx gui with config that is controlled by ros services/messages/dr etc. And then can support all the light types.

from bgfx_ros.

lucasw avatar lucasw commented on September 27, 2024

Start by building the example standalone.

Replace the entry stuff with my standalone sdl2.

Adapt to ros coding style.

Then strip out the gui overlay and hardcode the parameters from a central place.

The take out the main function and render the scene with the existing bgfx_ros geometry.

from bgfx_ros.

lucasw avatar lucasw commented on September 27, 2024

Need to smooth out the edges of the shadows, and have dynamic reconfigure control over them.

from bgfx_ros.

Related Issues (13)

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.