Notifications
Clear all
[Closed] Performance-Problems and MaterialIDs
Page 2 / 2
Prev
Sep 23, 2011 10:59 am
here is another style to do the same:
mapped fn findByIDs node &list id:1 =
(
mesh = snapshotasmesh node
count = mesh.numfaces
notFound = on
for f=1 to count while notFound where (getfacematid mesh f) == id do
(
append list node
free mesh
notFound = off
)
)
list = #()
findByIDs (geometry as array) &list id:2
technically it has to be a little faster and has to use less memory
Page 2 / 2
Prev