The BVH building code is now largely split out into a separate type, BVHBase. The intent is that this will also be used by the BVH4 when I get around to it. The BVH itself now uses references instead of indexes, allocating and pointing directly into the MemArena. This allows the nodes to all be right next to their bounding boxes in memory.
33 lines
650 B
TOML
33 lines
650 B
TOML
[workspace]
|
|
members = ["mem_arena"]
|
|
|
|
[package]
|
|
name = "psychopath"
|
|
version = "0.1.0"
|
|
authors = ["Nathan Vegdahl <cessen@cessen.com>"]
|
|
|
|
[features]
|
|
simd_perf = ["simd"]
|
|
|
|
[profile.release]
|
|
debug = true
|
|
|
|
[dependencies]
|
|
# Crates.io dependencies
|
|
time = "0.1"
|
|
docopt = "0.6"
|
|
rustc-serialize = "0.3"
|
|
nom = "1.2"
|
|
scoped_threadpool = "0.1"
|
|
crossbeam = "0.2"
|
|
num_cpus = "1.0"
|
|
lodepng = "0.8"
|
|
lazy_static = "0.2"
|
|
simd = { version = "0.1.1", optional = true }
|
|
|
|
# Github dependencies
|
|
openexr = { git = "https://github.com/cessen/openexr-rs", rev = "612fc6c81c031970ffddcab15509236711613de8" }
|
|
|
|
# Local crate dependencies
|
|
[dependencies.mem_arena]
|
|
path = "mem_arena" |