فهرست منبع

Update notes about culling models;

bjorn 10 ماه پیش
والد
کامیت
c970abdeb9
2فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 0 0
      api/init.lua
  2. 2 3
      api/lovr/graphics/Pass/setViewCull.lua

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
api/init.lua


+ 2 - 3
api/lovr/graphics/Pass/setViewCull.lua

@@ -60,9 +60,8 @@ return {
     - `Pass:mesh`
 
     `Model` objects only compute their bounding box when they're loaded, using the initial node
-    transforms. If a node's transform changes, either manually with `Model:setNodeTransform` or from
-    an animation, then the bounding box will become out of sync and culling will not work properly.
-    View culling should be disabled when rendering these models.
+    transforms.  If a model is animated, then the bounding box will become out of sync and culling
+    will not work properly.  View culling should be disabled when rendering animated models.
 
     `Mesh` objects will not have a bounding box by default.  Meshes with a storage type of `cpu` can
     compute their bounding boxes using `Mesh:computeBoundingBox`, which should be called after

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است