Some eval questions
#5
(11-03-2021, 03:16 PM)abenedik Wrote: GetClosestHitObject uses the DXEngine's hit testing. The DXEngine automatically generates OctTree structures for meshes there have more than **** (this is defined by a static ****). This hit testing works very fast even on meshes with many triangles.

But when you use EventManager3D that is defined in Ab3d.PowerToys library this uses the WPF's objects and its hit testing. This hit testing is much slower.

If you want to use the mouse events that are provided by EventManager3D please use the DXEventManager3D - see the "Ab3d.DXEngine hit testing / DXEventManager3D" sample for more info.

You are obviously absolutely correct about this, thanks.  I will note I was concerned that even though the performance of the hit testing is clearly much faster with this than the PowerToys class, it seems odd that the diagnostics window was still showing my CPU usage of 25%-50% (on my 8C/16T CPU).  However, testing in Process Explorer (from Microsoft SysInternals) showed this not to the be the case - CPU usage of the entire system never exceeded 8%.
  


Messages In This Thread
Some eval questions - by mjtrainor - 10-28-2021, 07:34 PM
RE: Some eval questions - by abenedik - 10-29-2021, 08:59 AM
RE: Some eval questions - by mjtrainor - 11-02-2021, 10:20 PM
RE: Some eval questions - by abenedik - 11-03-2021, 03:16 PM
RE: Some eval questions - by mjtrainor - 11-04-2021, 01:42 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)