Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,365 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
*.jl.*.cov | ||
*.jl.mem | ||
deps/deps.jl | ||
.stale | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Documenter, RayTracer | ||
|
||
makedocs(modules=[RayTracer], | ||
doctest = false, | ||
sitename = "RayTracer", | ||
authors = "Avik Pal", | ||
# Uncomment below for local build | ||
format = Documenter.HTML(prettyurls = false, | ||
assets = ["assets/documenter.css"]), | ||
pages = ["Home" => "index.md", | ||
"Getting Started" => [ | ||
"Rendering" => "getting_started/rendering.md", | ||
"Inverse Rendering" => "getting_started/optimization.md"], | ||
"API Documentation" => "api.md"]) | ||
|
||
deploydocs(repo = "github.com/avik-pal/RayTracer.jl.git") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# API Documentation | ||
|
||
```@meta | ||
CurrentModule = RayTracer | ||
``` | ||
|
||
## General Utilities | ||
|
||
List of the General Functions and Types provided by the RayTracer. Most of the other functionalities | ||
are built upon these. | ||
|
||
```@autodocs | ||
Modules = [RayTracer] | ||
Pages = ["utils.jl", | ||
"imutils.jl"] | ||
Order = [:type, | ||
:macro, | ||
:function] | ||
``` | ||
|
||
```@docs | ||
get_params | ||
set_params! | ||
``` | ||
|
||
## Differentiation | ||
|
||
The recommended mode of differentation is by Automatic Differentiation using [Zygote](https://github.com/FluxML/Zygote.jl). | ||
Refer to the `Zygote` docs for this. The API listed below is for numerical differentiation and is very | ||
restrictive in its current form. | ||
|
||
```@docs | ||
ngradient | ||
numderiv | ||
``` | ||
|
||
## Scene Configuration | ||
|
||
### Camera | ||
|
||
```@autodocs | ||
Modules = [RayTracer] | ||
Pages = ["camera.jl"] | ||
Order = [:type, | ||
:macro, | ||
:function] | ||
``` | ||
|
||
### Light | ||
|
||
```@autodocs | ||
Modules = [RayTracer] | ||
Pages = ["light.jl"] | ||
Order = [:type, | ||
:macro, | ||
:function] | ||
``` | ||
|
||
### Materials | ||
```@autodocs | ||
Modules = [RayTracer] | ||
Pages = ["material.jl"] | ||
Order = [:type, | ||
:macro, | ||
:function] | ||
``` | ||
|
||
### Objects | ||
|
||
```@autodocs | ||
Modules = [RayTracer] | ||
Pages = ["sphere.jl", | ||
"triangle.jl", | ||
"cylinder.jl", | ||
"disc.jl", | ||
"polygon_mesh.jl", | ||
"objects.jl"] | ||
Order = [:type, | ||
:macro, | ||
:function] | ||
``` | ||
|
||
## Renderers | ||
|
||
```@autodocs | ||
Modules = [RayTracer] | ||
Pages = ["blinnphong.jl"] | ||
Order = [:type, | ||
:macro, | ||
:function] | ||
``` | ||
|
||
## Optimization | ||
|
||
```@autodocs | ||
Modules = [RayTracer] | ||
Pages = ["optimize.jl"] | ||
Order = [:type, | ||
:macro, | ||
:function] | ||
``` | ||
|
Oops, something went wrong.