Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
profiling
05-21-2010, 12:09 PM,
#14
 
Ah cool, very interesting. Their raycast is actually way faster than the one I was doing, so getting it faster still would be really cool.

We could probably use some frame coherence to speed up the bezier raycasts. Right now they are accelerated using an r-tree sort of data structure (aabb_space_partitioning.h) and we could probably start from the last frame leaf and traverse up the tree and then back down to the new leaf. Also, this data structure needs to be cache-optimized. I never dynamically add objects to it, and each level has only 2 branches, so it could easily be stored as a vector (like is commonly done with binary heaps). This would also speed up the object culling, which uses the same data structure.
Reply


Messages In This Thread
profiling - by NaN - 03-25-2010, 08:47 PM
[No subject] - by NaN - 03-25-2010, 08:50 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-25-2010, 10:20 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-25-2010, 10:37 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-25-2010, 10:47 PM
[No subject] - by NaN - 03-26-2010, 03:33 AM
[No subject] - by NaN - 03-28-2010, 06:18 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-28-2010, 11:48 AM
[No subject] - by NaN - 03-28-2010, 07:28 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-30-2010, 10:22 AM
[No subject] - by NaN - 05-19-2010, 06:57 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-20-2010, 06:42 PM
[No subject] - by NaN - 05-21-2010, 03:49 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-21-2010, 12:09 PM
[No subject] - by NaN - 07-19-2010, 04:25 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-19-2010, 10:36 AM
[No subject] - by NaN - 12-23-2010, 09:32 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-23-2010, 09:08 PM
[No subject] - by thelusiv - 12-24-2010, 10:42 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-24-2010, 01:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)