For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!
Is there a method to reset viewport to fit all the model?
chinh_nguyen wrote at 2013-01-10 15:35:
Hi,
I have with me all the Points3D's min, max X,Y,Z value. Is there a method to reset viewport to fit all the model?
Need help to set CuttingPlane group to cut models
terry_513 wrote at 2014-03-29 08:01:
<helix:CuttingPlaneGroup x:Name="cuttingGroup1">
<helix:CuttingPlaneGroup.CuttingPlanes>
<helix:Plane3D Normal="1,0,4" />
</helix:CuttingPlaneGroup.CuttingPlanes>
<ModelVisual3D x:Name="model" >
</ModelVisual3D>
</helix:CuttingPlaneGroup>
With above code, 1st pipe cuts properly, but then other pipes are not cut properly from center and possibly last pipe may not be cut at all. The below image shows the output result of the code and what I am trying to explain :https://drive.google.com/file/d/0B60M7Kj_SwHZS2ZFTXVqNHhoMGc/edit?usp=sharing
Can anyone help me know, how can I make all pipes cut from center. In the above case, their are 4 pipes, do I need to add 4 CuttingPlanes in the group ? If so, then how do I specify the x, y and the angle in which it has to cut ?
I searched a lot for the above problem on net, but couldn't find any solution or way for the same. Can you please help or guide me know how can I achieve what I am looking for ? I believe it should be possible, just that don't know how !!!
Any help is highly appreciated. Thanks.
objo wrote at 2014-04-29 10:39:
Camera LookDirection Automatically
I adding to my viewport3d a model (STL file) using ModelImport function but first nothing show up. To see added 3DModel I have to do zoom out. My question is, are there any way to do dynamically/programmatically zoom out or rotate camera to the newly added model or anything needed to show it immediately.
I am using C# WPF.
Helix/SharpDX/WPF few questions
andyag wrote at 2014-07-27 00:47:
I'm looking for a 3D visualization library for WPF that provides a high-level API (at least higher-level than Vertex Buffers and shaders). I'm considering HelixToolkit.Wpf.SharpDX at the moment and absolutely impressed with what it does and how flawlessly it integrates with WPF/MVVM. I have 2 questions to clarify:
- As of today, is it possible to somehow disable antialiasing completely? I've checked the code and it looks like there's no way to configure it: there's logic that dynamically decides whether or not to enable it.
- I also see that there's a render loop - even if there are no changes to the scene, everything gets redrawn. Is it possible to somehow disable this behavior and instead trigger updates manually?
przem321 wrote at 2014-08-05 17:28:
Regarding 1:
In the current sharpdx version you can disable anti-aliasing by removing the conditional compilation symbol MSAA prior to compiling the code. This applies to the forward renderer, if you want to disable anti-aliasing for the deferred renderer remove the symbol DEFERRED_MSAA. You will find the symbols by right-click on the HelixToolkit.Wpf.SharpDX project->properies->build->general.
Regarding 2: this is a direct3d renderer, there is a render loop, which cannot be removed.
andyag wrote at 2014-08-05 20:06:
p.2 - Direct3D doesn't require a render loop. Even though it's a common approach in games (where things happen quite often), there's a bunch of scenarios when you only need to update the picture on demand.
przem321 wrote at 2014-08-07 15:28:
objo wrote at 2014-08-08 12:39:
Regarding the conditional compilation - can we get rid of this? Could it be possible to change the anti-aliasing at runtime?
andyag wrote at 2014-08-08 20:09:
- As objo said, just make it possible to disable automatic updates and provide a method to trigger updates manually.
- Keep render loop, but add extra logic to only have it running as long as there are view model updates. The easiest would be just to enable the loop when view model is updated and then keep it running for next N (=1) seconds. If there are more updates while
loop is enabled, keep it running for N more seconds. Then, after first N seconds without view model updates, stop the loop.
How to change default world coordinates
How to read facets one by one from already loaded STL file?
I am loading STL file into viewport and then I want to read each facet in that model. In helixtoolkit STLReader class it is done from reading stream, but this methods is private so I can't call it in my program. Is there any public method for reading facets or should I override this existing methods?
Newbie. Getting started.
tfarnham wrote at 2014-04-27 04:56:
I am having difficulty getting started with the Helix 3D Toolkit. I have cloned the repo and using Visual Studio Express 2013, I attempt to open the HelixToolkit.WPF.sln solution. Upon load, I receive the "Unsuported" notice which indicates that there is some sort of issue loading the HelixToolkit.csproj file. I'm not sure what I might be missing or the reasons for this file not being able to load. Please Help.
Thanks.
objo wrote at 2014-04-29 10:09:
Adding models/content to the HelixViewport3D in Helix 3D Toolkit
Rogad wrote at 2013-12-04 21:38:
I figured some of us are not so advanced and may well encounter the same, or I am just an idiot !
http://stackoverflow.com/questions/20386519/adding-models-content-to-the-helixviewport3d-in-helix-3d-toolkit
Rogad wrote at 2013-12-05 14:22:
Load fbx file in helix 3D
charismatubagus wrote at 2013-01-18 11:32:
Hi All,
I am newbie in helix toolkit. I would like to load fbx file programmatically by using helix toolkit. How can I do that? So far this is my xaml file look like:
<Window x:Class="WPFHelixToolkit.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525" xmlns:h="http://helixtoolkit.codeplex.com"> <Grid> <h:HelixViewport3D Height="311" HorizontalAlignment="Left" Name="helixViewport3D1" VerticalAlignment="Top" Width="503" > <h:FileModelVisual3D x:Name="model3D" > </h:FileModelVisual3D> </h:HelixViewport3D> </Grid> </Window>
Please help me. Thank you.
objo wrote at 2013-01-18 13:05:
Sorry, this library does not read fbx files. Try Autodesk's SDK at http://usa.autodesk.com/fbx/
Customer support service by UserEcho