The code is this:
//we need to render locations.
ILArray<float> ourPositions = ourSimulator.getStars();
var scene = new ILScene();
var plotCube = scene.Add(new ILPlotCube(twoDMode: false));
var ourPosBuffer = new ILPoints();
ourPosBuffer.Positions = ourPositions;
plotCube.Add(ourPosBuffer);
plotCube.FieldOfView = 120;
plotCube.LookAt = new Vector3(0, 0, 0);
iLStarChart.Scene.Configure();
Now, an earlier version of this code (in a different solution) still uses 3.3.2, and
var plotCube = scene.Add(new ILPlotCube(null, false) )
I've tried both on a 3.3.3 version, and neither displays a 3d plot. Instead, it's a 2d grid. What am I doing wrong here?
(the points are:
<Single> [3,4]
-32.00000 37.00000 36.00000 38.00000
54.00000 107.00000 106.00000 130.00000
-81.00000 -16.00000 -124.00000 -226.00000
)
EDITED: Missing ) on the 3.3.2 example
EDITED: Reduced some of the non critical code out of the example.
The expected result is that I have a 3d plot with x,y and z axis. I'm getting a 2d plot. No z axis. I've verified the points (the is a ToString)
A sample run provides this: https://www.dropbox.com/s/imiw8tbe0lh8q9x/2DPlot.png