SharpDX - Viewport3DX inside WPF ViewBox crash
See original GitHub issueHello,
I have an issue putting the Viewport3DX of HelixToolkit.Wpf.SharpDX 2.13.1 inside a System.Windows.Controls.ViewBox. The ViewPort3DX is flickering and showing the 3D model multiple times. After some seconds the view port crashes followed by this exception:
This is the content of my main window, the rest of my project is a default .Net Framework 4.7.1 WPF application:
<Grid>
<Viewbox>
<hx:Viewport3DX>
<hx:Viewport3DX.EffectsManager>
<hx:DefaultEffectsManager />
</hx:Viewport3DX.EffectsManager>
<hx:Viewport3DX.Camera>
<hx:PerspectiveCamera />
</hx:Viewport3DX.Camera>
<hx:AmbientLight3D />
</hx:Viewport3DX>
</Viewbox>
</Grid>
Regards
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Newest 'sharpdx' Questions - Page 3
I am using HelixToolkit.Wpf.SharpDX to display a mesh in the 3D viewport. A requirement I have is to display any given mesh as...
Read more >bodxp/helix-toolkit
Fixed keybinding issue in Viewport3DX. Ref #1390 (WPF.SharpDX). Fixed UWP runtime error due to dependency property naming conflicts. #1365. In order to fix ......
Read more >Release 2.16.0
Fixed viewport crash during display configuration change #1531. · Fixed cursor is wrong after pressing multiple mouse button simultaneously (WPF.
Read more >Viewbox Class (Windows.UI.Xaml.Controls) - UWP
Gets or sets a property that declares alternate composition and blending modes for the element in its parent layout and window. This is...
Read more >helix-toolkit
Hi! HelixToolkit.Wpf has a DataTemplate demo project. There is ItemsVisual3D container class for 3D objects which is a simplified version of ItemsControl. It ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for your reply. I uploaded by minimal example. Sometimes my machine is stucking for some seconds. I have a Ryzen 3700X and a RTX 2070.
https://github.com/Borck/HelixWPFTest.git
Hope this helps.
I’m getting a blank black screen even after setting the height and width of Viewport3DX