Saturday, December 20, 2008

Project Proposal: A Toon Shader

·      Title: Create Toon Shader to Achieve non Photo-Realistic Rendering.

·      Student: Robert Marinaro

·      Class: Computer Graphics II: 4003-571

·      Professor: Reynold Bailey

·      Project Website http://rjm5199.blogspot.com/

·      Project Objective:

o    This Project’s goal is to create a Toon Shader for non-photo realistic rendering using prman shading language and OpenGL.  This area of the pipeline that the project will focus on the processing of the scene.

·      Project Objectives

o    Learn prman

o    Write shader for NPR
 

·      System and Software

o    Hardware: PC running Windows Vista with a NVIDIA 8800

o    Software: prman, OpenGL, GLUT

·      A breakdown of project components, e.g.:

o    The end result will be a simple scene in OpenGl rendered in the Toon Shader.

·      Project Responsibilities:

o    Learn prman

o    Write Toon Shader

o    Build 3D scene         
         

·      Project Timeline:

o    Week 5: Learn prman

o    Week 6: Write algorithm for NPR

o    Week 6-8: Code Algorithm complete

o    Week 9-10: Wrap up Project

·      Final Presentation:

o      Show scene without NPR

o      Show Slides showing various step taken to implement shader and algorithm.

o      Show Scene with NPR

Friday, December 19, 2008

Checkpoint 2: The Camera

This is a scene I displayed by tracing rays, using the coordinates received from checkpoint 1. 

Tuesday, December 9, 2008

Checkpoint 1



I used OpenGl for the initial checkpoint. The scene is divided into several objects. 

This scene has three visible objects:

  • Two spheres
  • The floor

In addition, there are two objects which are not directly visible:

  • A point light source
  • A camera
Here are the the parameters of the following scene. 

Camera:
Position: x= 0.0, y= 0.0,  z = 10
Look At: x=0.0, y= -1.0, z = 1.0
Up: x= 0.0, y = 1.0 , z = 0.0
Near Clip: 1.0
Far Clip:  500
Aspect Ratio:  4/3

Light:
Position: x =  5.0, y = 10.0, z = 2.0
Diffuse = 1, 1, 1
Ambient = 0, 0, 0.1

Green Sphere: 
Position: x = -2.5, y = -2.5,  z = -2.5
Radius: 2.0
 
Yellow Sphere:
Position: x = 0.0, y = -0.5,  z = -0.5 
Radius: 2

Plane:
Upper Left Coordinate: x = -8.0, y = -4.5. z = -20.0
Upper Right Coordinate: x = 5.0, y=-4.5. z= -20.0
Lower Left Coordinate : x = -8.0, y=-4.5. z= 15.0
Lower Right Coordinate: x= 5.0, y=-4.5. z= 15.0

Assignment Information

The Ray Tracer Programming Assignment is divided into Seven

 Checkpoints:

  1. Setting the scene
  2. Camera modeling
  3. Basic shading
  4. Procedural shading
  5. Recursive ray tracing - reflection
  6. Recursive ray tracing - transmission
  7. Tone reproduction

This is checkpoint #1: "Setting the scene".

The ultimate goal of these assignments is to reproduce the classic ray traced image from Turner Whitted's 1980 paper:



Introduction

Hello, I am Robert Marinaro. I am currently a fifth year student @ RIT. I created this blog to Display my assignments and project for Computer Graphics II (4003-571-70).  The course web page can be found here