Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Shadow-Play

A Qt Program for visualizing shadows, final project of Yale University CPSC 679 (Computational Issues in 3-D Design and Fabrication)

Dependencies

Building from source

To build Shadow-Play, first run cmake then

% make shadow-play

Manual

Shadow-Play allows user to easily visualize shadows cast by a point light-source. The user can manipulate the 3D scene on the left-pane and see real-time shadow feedback on the right. The user can also save the current configuration to an aggragated mesh in OFF format.

The command-line arguments are a list of paths to 3D models. Shadow-Play supports all formats supported by Assimp (see a list here).

Basic Controls

  1. Left-click and drag mouse to rotate scene
  2. Right-click and drag mouse to move scene
  3. Shift + Click to select a mesh or the light source.
  4. Once an object is selected, all mouse controls are applied to the object's local frame.
  5. Shift + Click background to de-select object.
  6. When an object is selected, hold Ctrl to apply mouse controls to the entire scene.
  7. Press H to see more controls and short-cuts, including taking screenshots, double-click controls etc.
  8. ESC to quit

Export

  • Use Alt + S to save current configuration to meshes.off. It is an aggregated mesh consists of all meshes in the scene and their current coordinates.
  • The light source coordinate is output on the second line of the file as a comment.
  • Meshes are re-triangulated and vertices may be duplicated.

Screenshot

Stereographic

About

Shadow Visualization for 3D Models

Resources

Releases

No releases published

Packages

No packages published