Skip to content

Ray Tracer #2

Description

@HenryXII

Note: ppm and nnf files are not supported here so I changed them into jpg or png, and txt version.

teapot3
image-01.ppm
teapot.txt

feature showed in this image:
-render polygon
-Use simple Phong Shading (in color)
-compute shadows
-compute reflections
-lights
time usage:1:20

output
image-02.ppm
In addition to previous features, this image shows anti-aliasing. The edges are a little bit smoother.
time usage: 5:20

trans-original
image-03.ppm
triangle.txt
original image before transformations

trans_ts
image after scale
"ts 2 1 1"
trans_tt
image after translation
"tt 3 0 0"
trans-trx
image after rotate according to x-axis
"trx 45"
trans-try
image after rotate according to y-axis
"try 45"
trans-trz
image after rotate according to z-axis
"trz 90"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions