Skip to content

ObjectInstance has influence on scene bound (used by e.g. InfiniteAreaLight) #63

Closed
@wahn

Description

@wahn

The scene gitlab/rs-pbrt-test-scenes/pbrt/pbrt_vw_van/vw-van.pbrt (on GitLab rs-pbrt-test-scenes) contains 240 ObjectInstance lines:

$ pwd
/home/jan/git/gitlab/rs-pbrt-test-scenes/pbrt/pbrt_vw_van
$ grep ObjectInstance vw-van.pbrt | wc -l
240

So far the Rust code seems to ignore them (because I didn't see any geometry missing), but it seems to mess up the scene bound, which is used in InfiniteAreaLight:

$ tail gdb.txt -n 6
world_center
x = -500, y = 177.225449, z = 850 C++
x = -500, y = 177.264572, z = 850 Rust
world_radius
2730.18994 C++
2730.18726 Rust

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions