Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Artistic Rendering

An in-browser viewer of various lighting techniques, ranging from stylized cartoon shading to photorealistic lighting models, applied to 3D objects in OBJ format.

Please note: The full source code is omitted from this public mirror to preserve academic integrity. It can be provided for review upon request.

Demo

demo-gif

Features

  • OBJ file loader
  • Gouraud shader
  • Phong shader
  • Toon (cartoon) shader
  • Normal mapping (vertex and fragment shaders)

User interface

Control Description
Choose a 3D OBJ Select from built-in models (e.g. Stanford bunny, Utah teapot, sphere, hippo, head).
Choose a shading model Switch the rendering pipeline (e.g., debugging wireframe, Phong, Toon, normal map).
Choose a light Adjust the type of light source used in the scene (e.g. ambient, point, directional).
Apply a texture Toggles different material textures (e.g. none, gravel, bark, stained glass).
Toon Outline Thickness Alter the outline thickness (Toon shader only).

Build instructions

  1. Install Node.js.

  2. Install dependencies.

npm install
  1. Launch development server.
npm run start

License

Material for CSCI 4611 Spring 2024 by Evan Suma Rosenberg is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

About

Explore various shading and lighting models, from stylized cartoon to photorealistic rendering

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors