Skip to content

heyucongtom/MyRayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

MyRayTracer

This is a current ongoing project on a working ray-tracer. Currently it support easy ray-tracing.

Example1

Poke: A image mimc of pokemon

./as1 -kd 1 1 1 -ks 1 1 1 -sp 500 -ka 0 0 0 -pl 0 -10 -6 1 1 1 -pl 0 10 6 1 0 0 -dl 10 10 10 .3 .3 .3 -pl 10 10 10 .1 .1 .1 alt tag

Example 2

Pinky: An image showing combined specular and diffuse shading

./as1 -kd 0.5 .12 .76 -ks .5 .5 .5 -sp 1000 -dl -1 -1 -1 1 1 1 -ka 0 0 0 -pl 2 1 2 1 0.76 .12 alt tag

Example 3

Metal Green: An image showing combined specular and diffuse shading

./as1 -kd .5 .5 .5 -ks .5 .5 .5 -sp 10 -ka .01 .01 .01 -pl 0 -10 -6 0.1 0.2 .9 -pl 0 10 6 0.7 1 0.7 alt tag

About

On going generic image processing ray-tracer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published