├── .gitignore ├── .goreleaser.yml ├── LICENSE ├── README.md ├── dolly ├── dolly.go └── examples │ ├── dolly.json │ ├── dolly_in.gif │ └── dolly_out.gif ├── examples ├── finaleScene.json ├── fiveSpheres.json ├── fiveSpheresWithLights.json ├── renderedFinaleScene.png └── renderedFiveSpheres.png ├── go.mod ├── go.sum ├── main.go ├── models ├── camera.go ├── hitable.go ├── material.go ├── pixel.go ├── ray.go ├── spec.go ├── sphere.go └── vector.go ├── net ├── agent │ └── agent.go ├── constants │ ├── constants.go │ └── message.go └── master │ ├── agents.json │ └── master.go ├── sample_world.json ├── scripts └── generateScene.go ├── tracer └── tracer.go └── utils └── utils.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/.gitignore -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/.goreleaser.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/README.md -------------------------------------------------------------------------------- /dolly/dolly.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/dolly/dolly.go -------------------------------------------------------------------------------- /dolly/examples/dolly.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/dolly/examples/dolly.json -------------------------------------------------------------------------------- /dolly/examples/dolly_in.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/dolly/examples/dolly_in.gif -------------------------------------------------------------------------------- /dolly/examples/dolly_out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/dolly/examples/dolly_out.gif -------------------------------------------------------------------------------- /examples/finaleScene.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/examples/finaleScene.json -------------------------------------------------------------------------------- /examples/fiveSpheres.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/examples/fiveSpheres.json -------------------------------------------------------------------------------- /examples/fiveSpheresWithLights.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/examples/fiveSpheresWithLights.json -------------------------------------------------------------------------------- /examples/renderedFinaleScene.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/examples/renderedFinaleScene.png -------------------------------------------------------------------------------- /examples/renderedFiveSpheres.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/examples/renderedFiveSpheres.png -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/main.go -------------------------------------------------------------------------------- /models/camera.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/models/camera.go -------------------------------------------------------------------------------- /models/hitable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/models/hitable.go -------------------------------------------------------------------------------- /models/material.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/models/material.go -------------------------------------------------------------------------------- /models/pixel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/models/pixel.go -------------------------------------------------------------------------------- /models/ray.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/models/ray.go -------------------------------------------------------------------------------- /models/spec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/models/spec.go -------------------------------------------------------------------------------- /models/sphere.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/models/sphere.go -------------------------------------------------------------------------------- /models/vector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/models/vector.go -------------------------------------------------------------------------------- /net/agent/agent.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/net/agent/agent.go -------------------------------------------------------------------------------- /net/constants/constants.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/net/constants/constants.go -------------------------------------------------------------------------------- /net/constants/message.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/net/constants/message.go -------------------------------------------------------------------------------- /net/master/agents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/net/master/agents.json -------------------------------------------------------------------------------- /net/master/master.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/net/master/master.go -------------------------------------------------------------------------------- /sample_world.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/sample_world.json -------------------------------------------------------------------------------- /scripts/generateScene.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/scripts/generateScene.go -------------------------------------------------------------------------------- /tracer/tracer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/tracer/tracer.go -------------------------------------------------------------------------------- /utils/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DheerendraRathor/GoTracer/HEAD/utils/utils.go --------------------------------------------------------------------------------