Code Monkey home page Code Monkey logo

the_city's Introduction

The City

A low-res, 256 color ray-traced scene with FPS controls. Powered by ncollide and SDL2.

Preview Image Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5

Sadly not very useable at the moment, since the ray tracing is not very efficient. See ncollide issue #88.

Proof of concept status. Horrible code. Project is paused until ray-tracing can be made faster. See above issue.


Uses "The City" 3D model by Herminio Nieves ©2015 for non-commercial use.

the_city's People

Contributors

haudan avatar

Watchers

James Cloos avatar  avatar

the_city's Issues

Make ray-tracing faster

The current ray-object-intersection algorithm is pretty poor, because the algorithm computes and yields a list of ever object which is intersected by the ray. Not only that, but that list is also unsorted, meaning it has to be manually sorted based on the raycast result's time of impact, in order to determine the closest hit object.

A new algorithm should only do the bare minimum tesing for retrieving the closest / first object hit by the ray.

This issue would be more or less fixed by the ncollide issue #88, ie. awaiting best_first_search to be implemented for DBVT and exposed in CollisionWorld.

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.