Irregular Shaped Surface Grid

Need help in implementing some specific function to your LightningChart Ultimate powered application? Post a question and get code snippets from other LightningChart Ultimate community members.

Moderator: Arction_LasseP

SESruss
Posts: 22
Joined: Wed Mar 12, 2014 6:36 pm

Irregular Shaped Surface Grid

Post by SESruss » Fri Jan 05, 2018 7:14 pm

I am inquiring as to whether it is possible to create a SurfaceGridSeries3D or something like it to create the surface of a racetrack. I have made a track using PointLineSeries3D but with 30 series items with 2000 points each it is slow to render and slow to update with user interactions(rotate the track via mouse). Here is snapshot of the track I made using this method for some sort of a visual reference. Thanks

Image

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: Irregular Shaped Surface Grid

Post by ArctionPasi » Sat Jan 06, 2018 10:39 am

Hi,

SurfaceMeshSeries3D is best for this case. Calculate the X, Y and Z values for each node. Keep in mind the adjacency of the nodes. Please take a look at at
- Surface mesh, heat dissipation
- Surface mesh demos

Most extensive demo set is available in WinForms demo app.


Another approach is MeshModels in 3D. You can construct the model programmatically in newest versions, from array of vertices you can calculate.
LightningChart Support Team, PT

SESruss
Posts: 22
Joined: Wed Mar 12, 2014 6:36 pm

Re: Irregular Shaped Surface Grid

Post by SESruss » Tue Jan 09, 2018 8:35 pm

Thank you the SurfaceMeshSeries3D is working out perfect.