Search found 49 matches

by decai
08 Sep 2021, 15:56
Forum: General Discussion
Replies: 16
Views: 4963

Re: How to optimize performance using DrawingContext to draw 10000 lines?

Does MeshGeometry support 3 dimensions point?
by decai
08 Sep 2021, 14:19
Forum: General Discussion
Replies: 16
Views: 4963

Re: How to optimize performance using DrawingContext to draw 10000 lines?

Is that said every line we should draw 2 triangles?
by decai
04 Sep 2021, 06:21
Forum: General Discussion
Replies: 16
Views: 4963

Re: How to optimize performance using DrawingContext to draw 10000 lines?

Hi, Using meshGeometry with Path, we want to just draw the edge lines, if we set Path attributes as bellow there will draw nothing. <Path Fill="Transparent" Stretch="None" Stroke="Black" StrokeThickness="1"/> If we set Fill="Black", it will draw a black region on the screen. And there is a DYNAMIC_V...
by decai
02 Sep 2021, 10:04
Forum: General Discussion
Replies: 9
Views: 5440

Re: 3.1.0 Background color with alpha render diffent as 3.0.12 in linear color space

Hi,
When will you release the Version 3.1.1? Thanks.
by decai
02 Sep 2021, 09:37
Forum: General Discussion
Replies: 16
Views: 4963

Re: How to optimize performance using DrawingContext to draw 10000 lines?

We tested StreamGeometry, if we did not update geometry every frame the performance is OK, but if update geometry data every frame it slower than drawLines.

We did not make draw MeshGeometry with DrawingContenxt::DrawGeometry work well.
by decai
31 Aug 2021, 14:30
Forum: General Discussion
Replies: 16
Views: 4963

Re: How to optimize performance using DrawingContext to draw 10000 lines?

We have a scene with more than 50000 lines, if you have interest the attachment file contains the data we dump from our app. Each line of the file present the start point and end point of one line. lines test data . As we can't upload zip file as attachment, we give a link to download it, if you can...
by decai
31 Aug 2021, 12:51
Forum: General Discussion
Replies: 16
Views: 4963

Re: How to optimize performance using DrawingContext to draw 10000 lines?

We combine some lines to a geometry and use drawGeometry for render, drawGeometry is slower than drawLine.
Actually the lines are wireframe of objects project to 2d canvas, we cannot use drawRectangle , but we'll try it.
by decai
31 Aug 2021, 11:55
Forum: General Discussion
Replies: 16
Views: 4963

Re: How to optimize performance using DrawingContext to draw 10000 lines?

Yes, we are not create pens or brushes every frame.
by decai
31 Aug 2021, 11:24
Forum: General Discussion
Replies: 16
Views: 4963

Re: How to optimize performance using DrawingContext to draw 10000 lines?

We using Noesis 3.1 with DrawLine. The lines may changing position by interactive with mouse every frame.
by decai
31 Aug 2021, 09:25
Forum: General Discussion
Replies: 16
Views: 4963

How to optimize performance using DrawingContext to draw 10000 lines?

Hi, our app has a feature to render objects as lines, when add more lines the performance is slow down, is there any way to optimize it? Thanks.