fogleman/pt
View on GitHub ↗ ★ 2,108 Go
A path tracer written in Go.
12 mentions on Hacker News by 10 people: 3 stories, 9 comments · first 2015-01-28 · latest 2018-09-03
20082026
-
Nice work. Lately I’ve been playing with a pure CPU path tracer written in Go: https://github.com/fogleman/pt The math is still way over my head but the code is simple enough to follow.
comment by iampims · 2018-09-03 · in Open-Source CUDA/OpenCL Speed of Light Ray-Tracer -
…Go and want to see something more than hello world, I think an interesting project to look at is https://github.com/fogleman/pt . It's not enormous but not trivial either and makes use of interfaces, goroutines etc. The author's other…
comment by matt_m · 2018-02-19 · in Why I Don't Like Golang (2016) -
…Here's an example of a path-tracer written in Go, spawning a new go-routine for this very use-case https://github.com/fogleman/pt/blob/master/pt/renderer.go#L6...
comment by krat0sprakhar · 2016-11-07 · in Show HN: uThreads – Concurrent User Threads in C and C++ -
▲ 6
Show HN: Path Tracing in Gostory by fogleman · 2016-08-25 · 0 comments
-
I thought I remembered seeing your graphics work before in go posted on HN. Yep: https://github.com/fogleman/pt Is this an evolution of that work, at least in terms of the learning process?
comment by rmcpherson · 2016-02-02 · in Show HN: 3D Vector Graphics -
…mathgl [2]? Nothing wrong with your decision, I just wanted to hear your thoughts. [1] http://gotools.org/github.com/fogleman/pt/pt [2] http://godoc.org/github.com/go-gl/mathgl/mgl64
comment by shurcooL · 2015-02-06 · in Show HN: I rendered the Go gopher using Go -
Use `go get github.com/fogleman/pt/pt` and the code will be downloaded to $GOPATH/src/github.com/fogleman/pt/pt. Go imports are all absolute paths from $GOROOT or $GOPATH.
comment by jdfellow · 2015-02-06 · in Show HN: I rendered the Go gopher using Go -
It provides access to all the exported types, functions, and variables found in https://github.com/fogleman/pt/tree/master/pt .
comment by mholt · 2015-02-06 · in Show HN: I rendered the Go gopher using Go -
> import "github.com/fogleman/pt/pt" How does this work?
comment by rplnt · 2015-02-06 · in Show HN: I rendered the Go gopher using Go -
…see is the ability to easily parallelize the work. Take a look at the render implementation here - https://github.com/fogleman/pt/blob/master/pt/render.go#L28
comment by jjmanton · 2015-02-06 · in Show HN: I rendered the Go gopher using Go -
▲ 287
Show HN: I rendered the Go gopher using Gostory by fogleman · 2015-02-06 · 48 comments
-
▲ 9
Path tracing in Gostory by fogleman · 2015-01-28 · 0 comments