Skip to content

Commit

Permalink
Minor updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
sungiant committed Jan 7, 2020
1 parent 5790cb8 commit 1b98a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Ideally however it would be very useful if we could find the distance from our p
|:---:|
|<img src="/docs/constrained_sdf_query.png" width="320" height="180" />|

Ray constrained SDF queries are an essential tool for working with SDFs and be achieved through a technique known as ray-marching. In this demo a particular optimised specialisation known as sphere tracing is used. Here's how it works:
Ray constrained SDF queries are essential for working with SDFs and be calculated with technique known as ray-marching. In this demo a particular optimised specialisation known as sphere tracing is used. Here's how it works:

* Given a starting point `p0` and a direction (i.e. a ray) begin by querying the SDF as usual to produce a depth result `r0`.
* Next step along the ray from `p0` by a distance of `r0` and query again.
Expand Down

0 comments on commit 1b98a80

Please sign in to comment.