Mesh Modifier Tab for Rocks

Started by Doug, January 23, 2022, 10:46:25 AM

Previous topic - Next topic

Doug

I added a Populatable Object, a Rock. I go into the Mesh Modifier Tab and check Subdivide Mesh. Then increase the Subdivision Level from 3 to 10 and it hangs up I let it run overnight and was still the same.
It goes to about 7% and hangs.

11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz  2.50 GHz
32 GB Ram

Dune

I think 10 is a bit too much for subdivision, so it probably choked on it. Better try small increments first.

Doug

Quote from: Dune on January 23, 2022, 11:21:21 AMI think 10 is a bit too much for subdivision, so it probably choked on it. Better try small increments first.
in the Online Documents it has it going up to 4096 on a 1 Face Rock?

WAS

#3
That's the faces on the rock initially. So if you subdivide 4096 10 times, you're at like 40,960 faces. Waaaaay too much. And that's per rock in your population instance, so if you got a default population at 1000x1000 in size, that's like 372,531,200 faces, just for some rocks. :O That would choke RAM likely on top of the scene if you don't tons of it. Also because these rocks are being computed in TG, I believe they are a bit bigger in RAM than a traditional object from disk.

WAS

PS, the reason the Rock object has so few faces, is because you're making a rock. 4096 faces is making that rock into more of a spheroid. At which point you may just think about importing highly detailed spheres and using mesh warping: https://planetside.co.uk/forums/index.php/topic,28412.0.html

Matt

#5
"Subdivision level" is not to be confused with "Number of faces".

Each subdivision level increases the polygon count by a factor of 4. Level 1 results in 4 times as many polygons; Level 2 results in 16, and so on. Level 6 results in 4096 polygons for each original polygon.

Level 10 is extremely high and would result in over a million times the original number of polygons.

The example renders in the Wiki show subdivision levels 1 to 6:

https://planetside.co.uk/wiki/index.php?title=Rock#Mesh_Modifiers_Tab
Just because milk is white doesn't mean that clouds are made of milk.

WAS

Quote from: Matt on January 25, 2022, 01:32:38 AM"Subdivision level" is not to be confused with "Number of faces".

Each subdivision level increases the polygon count by a factor of 4. Level 1 results in 4 times as many polygons; Level 2 results in 16, and so on. Level 6 results in 4096 polygons for each original polygon.

Level 10 is extremely high and would result in over a million times the original number of polygons.

The example renders in the Wiki show subdivision levels 1 to 6:

https://planetside.co.uk/wiki/index.php?title=Rock#Mesh_Modifiers_Tab
Oh wow 4 times? Not even 3? No wonder it jumps so high in memory.