Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   WasVisible: query visibility of scenes and shapes, RobustNegativeScale: support light (https://www.delphipraxis.net/210351-wasvisible-query-visibility-scenes-shapes-robustnegativescale-support-light.html)

DP News-Robot 10. Apr 2022 15:20

WasVisible: query visibility of scenes and shapes, RobustNegativeScale: support light
 
You can easily query whether the scene or shape was (potentially, at least partially) visible in the last rendering event. This accounts for both frustum culling and occlusion culling. Use , for this. Demo is in examples/viewport_and_scenes/test_was_visible. See forum thread for history behind this feature. You can use TCastleRenderOptions.RobustNegativeScale to make lighting work correctly even …


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:14 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz