[Bf-committers] profiling subsurf
Ton Roosendaal
ton at blender.org
Sat Nov 25 16:55:08 CET 2006
Hi Brecht, Ben,
I've done some profiling tests, and found out that subsurf is slowest
in generating UV maps and in subdividing vertexgroups. That's both
features we could make optional... and probably the same for Sticky and
other custom layers. This is usually not needed for 3d editing.
Problem is that sometimes you do require vertexgroups, like for
particle (hair) systems.
Nevertheless, also for hair you want to get interactive editing in a 3D
window.
Derivedmesh already has flags to indicate 'render quality', so probably
we can use this flag for triggering subdivision of custom layers (apart
from vertex locations).
To facilitate modifiers to keep working on subsurf levels, you then can
just copy the layer info (from nearest vertex or so).
So, could this work? I've tried to get into the subsurf code myself,
but it's scary :)
-Ton-
------------------------------------------------------------------------
--
Ton Roosendaal Blender Foundation ton at blender.org
http://www.blender.org
More information about the Bf-committers
mailing list