For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!
Click Event not working anymore when using Helixtoolkit.SortingVisual3D
I want to add transparency to Objects (without loosing the Click-Event). Google told me to try SortingVisual3D. Without SortingVisual3D everything (except transparency) worked well, Click-Events also.Now i tried to implement it (simplified code):
Public SV3d As New HelixToolkit.Wpf.SortingVisual3DPublic
Model3DUI As New ModelUIElement3D
'Apply geometry
Model3DUI.Model = geometry 'skipped geometry code in this post
'Add Click Event
AddHandler Model3DUI.MouseLeftButtonUp, AddressOf ClickEvent
'Add to SortingVisual3D
SV3d.Children.Add(Model3DUI)
'Add to ViewPort
Viewport.Children.Add(SV3d)
'Setup SortingVisual3D
SV3d.SortingFrequency = 2
SV3d.Method = HelixToolkit.Wpf.SortingMethod.BoundingBoxCorners
SV3d.IsSorting = True
Basically it works fine, everything renders as it should and transparency is working too. But for some reason now the Click Event doesn't work. Anybody has an idea what i'm doing wrong?I'm not very experienced with Helixtoolkit, so it could be that my way is completely wrong.
Missing File: Plückers conoid.txt build error
kwcoffee1 wrote at 2014-02-10 15:13:
How such I workaround this error?
King
Updating 153600 spheres (GeometryModel3D) to display kinect depth data in real-time
pyrrhicpk wrote at 2012-11-04 13:05:
Hi,
I am using Helix 3D toolkit to display kinect depth data, an attempt to display the point cloud in the helix viewport3d. For this, I am creating spheres for each point as a GeometryModel3D and update their positions in the depthframe ready event. However, this method only works for upto 150 points. A depth format of 320x240 corresponds to 153600 points, and updating the positions of 153600 spheres freezes up the UI. In the depthframe ready event, I am simply updating the positions using
geometryPoints[i].Transform = new TranslateTransform3D(x[i], y[i], z[i]);
where geometryPoints is an array of 153600 GeometryModel3D and x, y, z are the depth data from the depth stream.
Any suggestions to avoid the UI freezing. Or simply its not possible to update this amount of sphere geometries in helix viewport 3d at 30fps?
Please advise.
Thanks
objo wrote at 2012-11-06 19:36:
That sounds like millions of triangles. I don't think you can update that fast on the ui thread, even if you just update the transforms of the Model3Ds...
see also http://msdn.microsoft.com/en-us/library/bb613553.aspx
pyrrhicpk wrote at 2012-11-08 09:37:
Is it possible to do this using PointsVisual3D instead of adding spheres? I can draw the whole point cloud using PointsVisual3D containing a list of all the points, but I dont know how to update the points. Any idea?
Thanks
How to store 3d models aspecially STL files in database?
I'am reading an STL file in my WPF c# application. I want to store it to database. All database connections are done but I don't know how to store 3d model in database. What kind of converting needed for this purpose? And later similarly I want to get that information from database to turn it 3d models.Is there any basic function for STL converting to binaries then merging it again?
facematerial manipulator in code
FaceMaterial default's color is blue , I need to change facematerial color by C#
I coding...
main.FaceMaterial = Materials.Red
and try to set transparent
main.FaceMaterial = nothing
it's not happen anything. 'main' it still 'Blue'
Please help. How can I change this property?
and Thanks to all answer and suggestion.
Performance
everytimer wrote at 2013-11-09 11:20:
Thanks.
P.D.: I wanted to use this library because I've used OxyPlot in the same application and it works marvelously.
a5r wrote at 2013-11-09 11:50:
everytimer wrote at 2013-11-09 11:56:
Other components:
i7-3820 (10MB Cache), 16GB DDR3 RAM, 250GB SDD SATA3
everytimer wrote at 2013-11-10 12:49:
http://www.youtube.com/watch?v=U0nASDcXJoY&feature=youtu.be
a5r wrote at 2013-11-10 13:38:
objo wrote at 2013-11-11 12:37:
Are you rotating with touch or mouse gestures?
- Do you see this lag in other WPF3D applications? Try https://3dmoleculeviewer.codeplex.com/
- Have you tried to run the example applications outside Visual Studio?
3d model light problem?
pertican2010 wrote at 2014-08-10 14:41:
I open my 3d model created by 3dmax in helixviewport3d all thing good but the lighting is high.
how I can low it?
my original model photo
http://www.uploadax.com/images/12976526694693013660.png
my 3dmax model
http://www.uploadax.com/images/36200050022924773294.png
helixviewport3d
http://www.uploadax.com/images/55643347555770947663.png
best regards
objo wrote at 2014-08-18 13:29:
Mouse Move Performance
BCBlanka wrote at 2014-01-10 13:42:
https://www.youtube.com/watch?v=QysWHudOvdQ
I would like to be able to add more 3D models to my viewport and I am looking for a way of reducing the CPU load. Is there some functionality which can be "sacrificed" to get better performance?
Thanks,
Blanka
govert wrote at 2014-01-17 13:15:
-Govert
SharpDX fork compilation error: Missing PepitaGet.Targets
luca82 wrote at 2013-04-16 09:29:
I downloaded the SharpDX fork and launched HelixToolkit.SharpDX.Wpf_NET40.sln
But when I compile, I receive these errors:
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\HelixToolkit.SharpDX.Wpf\HelixToolkit.SharpDX.Wpf_NET40.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\HelixToolkit.SharpDX.Wpf\HelixToolkit.SharpDX.Wpf_NET40.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\SimpleDemo\SimpleDemo.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\SimpleDemo\SimpleDemo.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\LightingDemo.SharpDX\LightingDemo.SharpDX.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\LightingDemo.SharpDX\LightingDemo.SharpDX.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\EnvironmentMapDemo\EnvironmentMapDemo.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\EnvironmentMapDemo\EnvironmentMapDemo.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\LineShadingDemo\LineShadingDemo.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\LineShadingDemo\LineShadingDemo.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\TemplateDemo\TemplateDemo.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\TemplateDemo\TemplateDemo.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\ManipulatorDemo\ManipulatorDemo.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\ManipulatorDemo\ManipulatorDemo.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\InstancingDemo\InstancingDemo.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\InstancingDemo\InstancingDemo.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\ShadowMapDemo\ShadowMapDemo.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\ShadowMapDemo\ShadowMapDemo.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\DeferredShadingDemo\DeferredShadingDemo.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\DeferredShadingDemo\DeferredShadingDemo.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\ImageViewDemo\ImageViewDemo.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Examples\SharpDX.Wpf\ImageViewDemo\ImageViewDemo.csproj
E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\HelixToolkit.SharpDX.Wpf\HelixToolkit.SharpDX.Wpf_NET40.csproj : error : The imported project "E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita\PepitaGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. E:\helixtoolkit\forks_objo_sharpdx_f924bc5e5a58\Source\HelixToolkit.SharpDX.Wpf\HelixToolkit.SharpDX.Wpf_NET40.csproj
I think I'm missing PepitaGet.Targets... where can I get it?
Thanks in advance!
objo wrote at 2013-04-18 09:45:
(I think there is a
.. missing in the path for the pepitaget target. There may also be a problem with the weaving task target.)przem321 wrote at 2013-04-25 23:26:
from
..\forks_objo_sharpdx_f924bc5e5a58\Tools\NotifyPropertyWeaver
..\forks_objo_sharpdx_f924bc5e5a58\Tools\NuGet
..\forks_objo_sharpdx_f924bc5e5a58\Tools\Pepita
to
..\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\NotifyPropertyWeaver
..\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\NuGet
..\forks_objo_sharpdx_f924bc5e5a58\Source\Tools\Pepita
that should to it for the moment.
luca82 wrote at 2013-04-26 09:49:
It did compile like a charm!
I only received these warning, but i suppose you ust know it :)
D:\helix\forks_objo_sharpdx_f924bc5e5a58\Source\HelixToolkit.SharpDX.Wpf\Controls\ViewportExtensions.cs(368,24,368,29): warning CS0618: 'HelixToolkit.SharpDX.Wpf.Ray3D' is obsolete: 'We do not need own structures, since SharpDX does it all for us.'
Customer support service by UserEcho