Is there a way to get primitives using a point?
Started by magneto, Jun 23 2012 08:32 PM
27 replies to this topic
#25
Posted 24 June 2012 - 09:49 PM
Thanks alot man, I understand your technique now
#26
Posted 24 June 2012 - 10:22 PM
I made also test on my spider rig model, where there are different polygons with 3,4, 5 or more points. Model = 198,610 polygons/204,156 points.
Mantragora's Python version = 10970 ms
Mantragora's inlineCpp = 234 ms
Gaham's Python = 17865 ms
Graham's inlineCpp = 40 ms
Now starts more interesting part. With Graham's trick, with accessing geometry from another node instead of directly from PythonSOP, there is one surprise:
Mantragora's Python = 14968 ms
Mantragora's inlineCpp = 198 ms
Graham's Python = 27828 ms
Graham's inlineCpp = 5 ms
Both inlineCpp versions speeded-up.. BUT... clear Python solution slowed down by almost half. Now why is that ?
Mantragora's Python version = 10970 ms
Mantragora's inlineCpp = 234 ms
Gaham's Python = 17865 ms
Graham's inlineCpp = 40 ms
Now starts more interesting part. With Graham's trick, with accessing geometry from another node instead of directly from PythonSOP, there is one surprise:
Mantragora's Python = 14968 ms
Mantragora's inlineCpp = 198 ms
Graham's Python = 27828 ms
Graham's inlineCpp = 5 ms
Both inlineCpp versions speeded-up.. BUT... clear Python solution slowed down by almost half. Now why is that ?
Edited by mantragora, 26 June 2012 - 12:00 AM.
#27
Posted 24 June 2012 - 11:27 PM
edward, on 24 June 2012 - 08:23 PM, said:
I think Graham's inlinecpp wrapper for getPrimitivesReferencingPoint() should be faster.
So it comes to down to reading the manual first?!
The Industrial Parametrization of the World
http://rdg.preset.de/
http://rdg.preset.de/
#28
Posted 27 June 2012 - 09:05 PM
Well, I don't know if reading GEO_Detail.h counts as a "manual".
don't panic!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











