question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

With PointGeometryModel3D in SharpDX how do I update a single point ?

See original GitHub issue

Hi. With the code below I can display my cloudpoint on wpf,

var cloudpoints = new PointGeometryModel3D { Color = Colors.White, Size = new Size(1, 1) }; cloudpoints.Geometry = new PointGeometry3D() { Positions = MY_POINTS, Indices = MY_IDS }; viewport.Items.Add(cloudpoints);

Then I can update the cloud point by reassign all positions :

cloudpoints.Geometry.Positions = MY_NEW_POINTS

But is it posible to update Z value for only one of points in MY_POINTS?

Thank you !

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
holancecommented, Jan 23, 2020

Hmm, maybe some event is not being hook up properly. You can keep the this open, I will do some debugging later.

0reactions
holancecommented, Feb 2, 2020

Fixed. Also make sure to call Geometry3D.UpdateBounds if necessary, otherwise the bound may not match the model after updating vertices.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to display PointGeometryModel3D using Helix.Toolkit. ...
I have a problem displaying a 3D pointcloud in my WPF application. I want to display the corner points of a 2x2x2 box,...
Read more >
Jins/helix-toolkit
Upgrade minimum Windows SDK version to 10.0.17763 on shader builder project. (Required by Visual Studio 2019). Fixed. Fixed single point hit test in...
Read more >
Announcements · Helix Toolkit
Unify dependency property types. All WPF.SharpDx model's dependency properties are using class under System.Windows.Media. Such as Vector3D and ...
Read more >
PointGeometryModel3D, HelixToolkit.Wpf.SharpDX ...
public static GeometryModel3D[] GetModels(NViewMatch nvm) { List<GeometryModel3D> models = new List<GeometryModel3D>(); foreach (var cameraPosition in nvm.
Read more >
Announcements · Helix Toolkit
TextureModel with same Guid will be treated as same texture.(WPF.SharpDX/UWP/Core); Aggregate hit test function parameters into single hit test context.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found