#193 prep time slowing down

performance
open-works-for-me
nobody
Raytrace (49)
5
2008-11-13
2008-11-13
Lee Butler
No

prep times for modest geometry seem to have gotten out of hand in recent releases. Modest geometry which can be displayed in mged in 6 seconds takes over a minute to "prep" before raytracing starts now. Ray tracing runs relatively quickly once the prep phase is done. This was measured on Mac OS X running Leopard.

Discussion

  • Sean Morrison

    Sean Morrison - 2008-11-13

    Is this primarily/only with large BoT geometry? Or with geometry that has pipes?

    I've not seen this problem with my own testing or on the benchmarks. The times have actually gotten overall slightly faster over the past year due to a handful of minor optimizations. The only thing that comes to mind that relate to prep time is an optimization/fix that were made to the pipe primitive to move a dynamic memory allocation from shot() to prep().

    A simple reproducible sample geometry that exhibits the problem would of course help profile the problem too..

     
  • Sean Morrison

    Sean Morrison - 2008-11-13
    • status: open --> open-works-for-me
     
  • Sean Morrison

    Sean Morrison - 2008-11-13

    AH! .. I think I might know what's causing the slowdown -- iff the problem was specific to BoTs. There is a todo entry I have pending to optimize bitv indexing now that it's no longer hard-coded (machine.h was killed).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks