Skip to content

Bishesh-Khanal/ImageTracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageTracing

Experience realistic light behavior in a 2D environment where a point source of light—controlled by the mouse cursor—illuminates the surroundings. Obstacles in the environment cast shadows, dynamically blocking light and creating an interplay of illuminated and dark areas. Additionally, a sprite is placed on the window, with portions of it changing based on visibility from the light source, enhancing the visual realism. Built using C++ and SFML, this program offers an immersive demonstration of how light interacts with opaque objects and dynamically affects its surroundings in a 2D world.

About

Simulating realistic 2D light behavior using C++ and SFML, where a point light source—controlled by the mouse—illuminates the environment. Obstacles cast dynamic shadows, and multiple sprites react to light exposure for enhanced visual realism.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors