This is the discussion forum for Helix Toolkit.
For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!
0

Vertex Buffer Optimization

Przemko 9 years ago updated by ไอยดา สุรีวงค์ 4 years ago 1

I looking for option in engine, to turn on Vertex Buffer optimization, or any other optimization.
When i was writing my own engine on SharpDX, I have got 20ms per render on 20,000,000 points and 60,000,000 triangles objects. But with HelixToolkit.SharpDX.WPF I even cant render 2,000,000 points because its laggig to much.

0

Visual Basic version of ModelViewer Example?

Alexander 9 years ago updated by anonymous 6 years ago 1

Hello.

Can someone please provide a Visual Basic version of the ModelViewer example in https://github.com/helix-toolkit/helix-toolkit/tree/master/Source/Examples/WPF/ModelViewer?

0

How to change center target in SharpDX?

Kumaran M 9 years ago 0

In helix toolkit double right click can change the center target. How can I do the same in SharpDX?

0

How can I select 3d elements on ViewPort

Дмитро Шпак 9 years ago updated by Lucas Silva 8 years ago 1

I hawe ViewPort and many "TubeVisual3D" generated on it.

Is there a way to select and delete or edit this visuals?

0

HelixToolkit.Wpf.SharpDX MeshGeometryModel3D bounds size

Igor 9 years ago updated by anonymous 7 years ago 2

Hello guys!

I have one question about bounds property of MeshGeometryModel3D.


When I create new instance of MeshGeometryModel3D it has "bounds" property {Minimum:X:0 Y:0 Z:0 Maximum:X:0 Y:0 Z:0}. If I add to this model some geometry (sphere for example) with center in (500, 500, 0) and radius 5, my MeshGeometryModel3D will have "bounds" property like {Minimum:X:0 Y:0 Z:-5 Maximum:X:505 Y:505 Z:5}!


So my question is: is there any method to set "bounds" property of MeshGeometryModel3D by geometry, which this model contains? To receive in this particular example something like {Minimum:X:495 Y:495 Z:-5 Maximum:X:505 Y:505 Z:5}.


Thanks in advance!

0

Obj files import and cursor position in HelixToolkit.Wpf.SharpDX

Igor 9 years ago updated 9 years ago 2

Hello guys! Thank you for great toolkit!


I have 2 questions, maybe anyone can help me:


First: I want to import obj model (with textures) and display it in Viewport3DX. How to do it correctly?
Now I have next:

ObjReader Reader = new HelixToolkit.Wpf.SharpDX.ObjReader();
List<Object3D> objs = Reader.Read(ModelPath);

After reading objs variable contains near 1000 objects. What shall be the next steps to to display model in viewport?


Second: And one more question: How to receive cursor position in Viewport3DX. Is there some property like CursorPosition in HelixViewport3D?

Thank you in advance!

0

Cutting of LinesVisual3D doesn't word

Tadeusz Wilczek 9 years ago 0

LinesVisual3D doesn't properly cat by cutting plane. In my example code:


<ht:CuttingPlaneGroup x:Name="CuttingGroup" IsEnabled="True">

<ht:CuttingPlaneGroup.CuttingPlanes>

<ht:Plane3D Normal="0,0,1" Position="0,0,0"/>

</ht:CuttingPlaneGroup.CuttingPlanes>

<ht:CubeVisual3D Center="4,4,2" SideLength="8"/>

<ht:LinesVisual3D Points="0,0,-10,0,0,22" Thickness="3" ></ht:LinesVisual3D>

</ht:CuttingPlaneGroup>


When cuttingPlaneGroup is disabled it looks good:

Image 39


When cuttingPlaneGroup is enabled, line is one-side-visible and has wrong size and direction:

Image 38


0

Find mesh in model

Vladimir 9 years ago updated by anonymous 7 years ago 2

Hi all!!

I have the 3d model in Blender. It has several objects (meshes). Image 33


I export the model and load it into helix. How can I get a link to mesh by it's name? GetName() functions retun null.

Image 34

0

Is there a way to set the DepthBuffer for an Element3D?

egon sepp 9 years ago updated 9 years ago 1

Can it be done already?


I would like to add an Element3D to the scene (a CoordinateSystem) when the user selects an object, but it should always be "on top" so it can be seen, even it is in the Element.


Greetings

Egon

0

view panning and the coordinate axis symbol

Frank 9 years ago updated by egon sepp 9 years ago 7

I have a HelixViewport3D window in a WPF app, with Pan and axis coordinate features enabled. I am rendering a 'point-cloud' using PointsVisual3D. When I Pan the point-cloud around, the coordinate axis stays in the center of the view instead of moving with the point cloud, and this seems wrong. I thought that the 'Pan' operation simply translated the camera around in the current viewing plane, which would make everything in the model (including the coordinate axis symbol) move together, but clearly this is not the case.


This screenshot shows the situation: The left-hand HelixViewport3D viewport shows a point collection panned off center, while the right-hand viewport shows the original, unpanned setup.


Image 29


What am I missing, and what do I need to do to make sure the coordinate symbol stays in the same relative position with respect to other model elements when panning the view?


TIA,


Frank