Hacker GitHub

← All repos

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

Mentions per year 12 mentions · busiest year 2015 (7)
20082026
  1. 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.
  2. …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)
  3. …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...
  4. ▲ 6
    Show HN: Path Tracing in Go
    story by fogleman · 2016-08-25 · 0 comments
  5. 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
  6. …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
  7. 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
  8. It provides access to all the exported types, functions, and variables found in https://github.com/fogleman/pt/tree/master/pt .
  9. > import "github.com/fogleman/pt/pt" How does this work?
  10. …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
  11. ▲ 287
    Show HN: I rendered the Go gopher using Go
    story by fogleman · 2015-02-06 · 48 comments
  12. ▲ 9
    Path tracing in Go
    story by fogleman · 2015-01-28 · 0 comments