DSK “Low Level API”
The calling sequence into the API would typically be as below.
||Open the DSK kernel.|
||Search for the first segment record.|
||Determine how many vertices and indices.|
||Get the vertex data.|
||Get the indices/triangle data.|
||For each vertex, calculate a surface normal.|
||Close the DSK kernel.|
Copy Blueprint Sample to Clipboard
3 key Blueprint actions
Fetch vertices from a type 2 DSK segment.
Fetch triangular plates from a type 2 DSK segment.
Compute the unit normal vector for a specified plate from a type 2 DSK segment.
3 million vertices
4.5 million indices
1.5 million triangles
This will trigger Unreal Engine’s maximum iteration safeguard. The user must increase the maximum allowable iterations in the project’s settings or distribute the iterations across multiple invocations.
Clearly, a more targetted method would be useful when working with DSK data as Mesh Data.