x


Frustum culling

How unity culling object by frustum, example: I have one object consisting of 10 meshes, will it cull every mesh or whole object only?

more ▼

asked Dec 16 '09 at 02:23 PM

Daniel gravatar image

Daniel
57 4 4 6

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

If, by "object" you mean a single GameObject whose Mesh has a number of SubMeshes, then I think it's done by whole-object only, rather than sub-meshes. This is backed up by the fact that there appears to be only one function to Recalculate the Bounding Volume of your mesh as a whole, not individual sub-meshes.

However, if by "object" you mean a parent GameObject, with multiple child GameObjects, each with their own mesh renderer, then I believe each GameObject will be view-frustum-culled independently.

more ▼

answered Dec 16 '09 at 02:47 PM

duck gravatar image

duck ♦♦
41k 92 148 415

You're correct in saying so. I've seen this in my optimizing for frustum culling on the iPhone. If the g.o. is comprised of several meshes each with individual transform properties it is done on a per-mesh basis.

Dec 16 '09 at 04:15 PM equalsequals
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2097
x1366
x472
x152
x147

asked: Dec 16 '09 at 02:23 PM

Seen: 4421 times

Last Updated: Jan 15 '10 at 02:43 PM