For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!

How to Configure HelixToolkit in our project
GhufranZahidi wrote at 2012-11-15 06:59:
Hi I am New to WPF 3D please tell me How to Build Helixtooll kit with our project
objo wrote at 2012-11-15 19:53:
I recommend using the Nuget package!
The main solution has been ugraded to VS2012 and .NET 4.5, but there is also a solution for VS2010 and .NET 4.0.

HelixToolkit.Wpf 'System.OutOfMemoryException' was thrown
Moez_rebai wrote at 2014-07-16 14:28:
Sometimes i tried to add a Mesh3D to the Mesh property of a MeshVisual3D, I get this exception:
'System.OutOfMemoryException' was thrown'
The code
MeshGeometry3D modeltodraw = new MeshGeometry3D();
// fill modeltodraw
var originalMesh = new Mesh3D(modeltodraw.Positions, modeltodraw.TriangleIndices);
var bounds = originalMesh.GetBounds();
var l = Math.Max(bounds.Size.X, Math.Max(bounds.Size.Y, bounds.Size.Z));
model1.Mesh = null;
try
{
model1.Mesh = originalMesh;
}
catch (System.Exception ex)
{
System.Windows.Forms.MessageBox.Show( ex.Message);
}
The Mesh3D seems to be a little bit huge : Edges Count = 125631
Faces Count = 612956
Vertices Count = 125631
Any idea why i got this exception
Best Regards,
everytimer wrote at 2014-07-16 21:22:
If you really need to see your mesh I recommend LinesVisual3D. It's not the best but you will be able to see your huge mesh with that. Good luck
Moez_rebai wrote at 2014-07-17 09:25:
BogusException wrote at 2014-07-18 00:08:
Do you run Anvir, or even Task Manager to see which resources are expended? I think there is a memory debugger built into VS I read about, but never used. I use the threading one all the time, though. I think you can 'profile' your app, and it will show you over time how it is performing.
Check out the "ANALYZE" pull-down menu in VS, too!
pat
:)

Exporting images from diffrent views of a 3D object
Hello,
I'm using ModelViewer example to view 3D objects and extract PNG images for them. Is there a way to modify it so that when I extract an image it automatically rotates the object for 45 degrees , export another image and so on untill it completes 360 degrees? I.e. 8 images will be automatically produced for different views for the object.
Sincerly,
Samuel Farid

Best way to draw a line
baucez wrote at 2012-04-30 16:38:
Which is the best way to draw a line (with highest performances)?
PipeVisual3D
LinesVisual3D
Something else..
objo wrote at 2012-04-30 17:26:
it depends on what you need:
LinesVisual3D is using two triangles per line segment. But it needs to update the vertices every time you change your camera. Remember this visual is working in 'screen space'.
PipeVisual3D is using more triangles per segment, but does not need to update the vertices (it is defined in 'model space').
The 'screen space' visuals can handle a few thousand points, but I think it gets too expensive with really high number of points. Then I think it is better to let the gpu handle more triangles in 'model space'. Does anyone know a better way to solve this? It's too bad WPF 3D does not support line primitives.

Adding color to point in mesh
VishwaPrasad wrote at 2014-07-23 14:17:
I am using the wpf sharpDX libraries of Helix, I want to render the mesh with colore. I want add color to each point of mesh, I don't want to use the material for mesh.
Please help me, how to do that.
Thanks
Vishwa

AddPolygon wrong number of normals
murray_b wrote at 2012-01-30 05:07:
Hi
I am trying to display a mesh created from a polygon.
But when I run the toMesh I am getting the message "Wrong number of normals" And I am not sure what that message is referring to.
List<Point3D> vrt = new List<Point3D>(); // Create a list of Points for (int i = 0; i < set.Count(); i++) { vrt.Add( new Point3D ( (double)set[i].X, (double)set[i].Y, (double)set[i].Z )); } var surface = new MeshBuilder(); surface.AddPolygon(vrt); var mesh = surface.ToMesh();
Any help will be greatly appreciated. I am very new to WPF 3D and am finding the learning curve quite steep.
Thanks a lot
Murray
objo wrote at 2012-01-30 08:41:
hi Murray,
I see this can be a bit confusing, it should be improved..
The parameterless MeshBuilder constructor will create a mesh with both normals and texture coordinates. The AddPolygon will currently only add vertices, not normals and texture coordinates.
I think changing the constructor to
new MeshBuilder(false,false)
should work.
I think there are two possible improvements here
a. Let AddPolygon calculate normals and texture coordinates if this is requested
b. Remove the parameterless constructor of MeshBuilder - so you _have to_ specify if normals/texture coordinates should be generated
murray_b wrote at 2012-01-31 09:07:
Thanks for the quick reply Objo
That fixed the error I was getting.
Great work!
murray_b wrote at 2012-01-31 09:34:
Objo
When the meshbuilder now creates the mesh I can only see it from one side.
How do I get the meshbuilder to generate a mesh that I can rotate around and see from both sides?
Regards
Murray
objo wrote at 2012-01-31 10:01:
Remember to set the BackMaterial, it can be the same as the (front) Material.

Helix Sharpdx
eonxxx wrote at 2014-01-30 22:54:
i tried to integrate parts of source code from deferred shading demo into my own app.
cproject compiles well. but at runtime i get following error:
error registering effect: sharpdx_direct3d11_effects_x86.dll
where in the project path should the file located and how shuld i register it to my project?
thanks
eonxxx
objo wrote at 2014-02-02 12:06:
http://www.microsoft.com/en-us/download/details.aspx?id=6812
http://sharpdx.org/download/
This is a fork and I am not sure about the build requirements for it at the moment.
eonxxx wrote at 2014-02-02 21:38:
Examples (whole fork) compiled well and all the examples run fine.
eonxxx wrote at 2014-02-28 22:52:
thanks eonxxx
VishwaPrasad wrote at 2014-07-25 13:37:
I was also got the same error in my standalone application, I have copied sharpdx_direct3d11_effects_x86.dll file in bin folder. and issue has resolved.
But , when I test SharDX on XBAP, same issue occur, even I copied the dlls also , but issue still persist.
Can anyone help on this.
Thanks
Vishwa

Samples
saphua wrote at 2011-02-24 09:14:
I can't find any downloads for the samples?
Edit: Never mind, found them in the source code. Personally, i think that's a little confusing. But then again I can understand making sepperate downloads of each sample is a lot of work.
objo wrote at 2011-02-24 13:57:
you are right, the examples are changed/added frequently - so I haven't made any downloads yet. I'll make a download for the examples at release 1.0!

how to make chart like this

Has anyone tried to load Helix WPF into an Open Inventor project
Obviously devil will be in the details. Has anyone tried to do this?
Thanks,
Customer support service by UserEcho