From 7d0aef9f4e3536110959e5b6b6da85f8750ac91e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 28 Feb 2026 15:08:14 +0000 Subject: Billboard foliage Partition the instances by within/without the view frustum, then by proximity to the view point and within/without the sunlight shadow frustum. Use billboards for far away/out of view instances. --- test/test-assetFactory.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test-assetFactory.cpp b/test/test-assetFactory.cpp index 8dbe53d..fee1822 100644 --- a/test/test-assetFactory.cpp +++ b/test/test-assetFactory.cpp @@ -154,6 +154,7 @@ BOOST_AUTO_TEST_CASE(Tree, *boost::unit_test::timeout(5)) auto plant2 = std::make_shared(tree011, Location {.pos = {3000, -4000, 0}, .rot = {0, 1, 0}}); auto plant3 = std::make_shared(tree011, Location {.pos = {-2000, -4000, 0}, .rot = {0, 2, 0}}); auto plant4 = std::make_shared(tree011, Location {.pos = {3000, 2000, 0}, .rot = {0, 3, 0}}); + auto plant5 = std::make_shared(tree011, Location {.pos = {500'000, -500'000, -400'000}, .rot = {0, 3, 0}}); objects.emplace(tree011); render(6000); -- cgit v1.3