In directx 12, what is the expected range of local coordinates.

I have downloaded a 3D model of the planet Jupiter from the NASA website, in the form of a glb file. When I try to display it using the header only library cgltf, I get a huge white blob. When I look at the vertices in the debugger, I see a range of values from -300 to +300. I thought local coordinates were in the range -1 to +1. Am I supposed to be doing something to convert these vertices to Normalized Device Coordinates?

What I have tried:

When I import the file into blender, it more than fills the entire window. But if I set the x, y and z scaling parameters to 0.01, then I get a sphere taking up about half the client area. The 3D viewer app that comes with Windows 10 displays it perfectly.

Read more here: Source link