Skip to content

A project to learn and explore path tracing rendering in go

Notifications You must be signed in to change notification settings

GuillaumeTech/go3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go3d

Sample output

Sample output

A Ray tracer in go It support differents materials and geometries

Materials :

  • Lambertians
  • Metals
  • Dielectrics

Geometry:

  • spheres
  • triangles

I might add .obj imports someday It's kind of working

Based on Raytracing In One Weekend by Peter Shirley

building and runing

cd cmd/3dgo
go build
./3dgo

It outputs ppm files,

If you want to change the scene, scene description and rendering parameters are in the main function of main.go

About

A project to learn and explore path tracing rendering in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages