dskv02, dskn02, etc

DSK “Low Level API”

The calling sequence into the API would typically be as below.

API
dasopr Open the DSK kernel.
dlabfs Search for the first segment record.
dskz02 Determine how many vertices and indices.
dskv02 Get the vertex data.
dskp02 Get the indices/triangle data.
dskn02 For each vertex, calculate a surface normal.
dascls Close the DSK kernel.
dskv02 and dskp02 read arrays of Vertices and “Plates”

dskv02 and dskp02 read arrays of Vertices and “Plates”

Copy Blueprint Sample to Clipboard

3 key Blueprint actions

dskv02

dskv02
Abstract
Fetch vertices from a type 2 DSK segment.

dskp02

dskp02
Abstract
Fetch triangular plates from a type 2 DSK segment.

dskn02

dskn02
Abstract
Compute the unit normal vector for a specified plate from a type 2 DSK segment.

Example

phobos512.bds
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.

Still Didn’t Find Your Answer?

We’d love to hear from you, whether you’re looking for an answer
or just had a really good day and want to tell someone about it.

Reach Out