I am using Embree under Windows and I have noticed that the displayedevaluation of the memory consumption of the BVH did not match its actual size in memory. Digging a bit deeper, I have found that the implementation of the functionalignedRealloc() of platform.cpp did not do anything (it just returns the pointer). So the BVH's memory footprint is not reduced at the end of the build as it is supposed to. Why did you not use the win32 function _aligned_malloc() for its implementation. Is there something wrong with it or is it just an omission ? Thanks.
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione