Hi,
I’m learning SciChart, and tried following this tutorial https://www.scichart.com/example/wpf-chart/wpf-3d-chart-example-add-objects-to-3d-chart/. I tried adding a mesh I generated in blender, as well as using the knight piece from the same source as the example. It looks to me like the normal vectors on the objects are inverted. This is definitely not a problem with my model, as multiple other .obj viewers don’t have a problem displaying my mesh, and the knight piece isn’t mine anyway. I exported the example into Visual Studio and it worked fine, all the pieces were solid. Does anyone have any idea what I’ve goofed here?
- Will Wright asked 2 years ago
-
That’s very strange Will! Can you send us the Obj file or attach it to this forum question so we can investigate? Best regards, Andrew
- You must login to post comments
Sure thing. The knight I got from here “pack://application:,,,/SciChart.Examples.ExternalDependencies;component/Resources/Objects/Knight_Low.obj” same as the example. Ground Mesh attached.
- Will Wright answered 2 years ago
- last edited 2 years ago
- You must login to post comments
Hello Will,
I’m glad to inform you that the issue with adding 3D Objects to SciChart3DSurface has been fixed now.
You can now add objects both by setting relative URLs to the ObjectModelSource.Source property and using ObjectModelSource.StreamSource.
The changes are available in SciChart v7.0.1.27097 and newer. Here is how to get our Nightly builds:
https://support.scichart.com/index.php?/Knowledgebase/Article/View/17232/37/getting-nightly-builds-with-nuget
We have also created a custom example demonstrating how 3D objects can be added in XAML and via StreamSource. Here is a link:
https://github.com/ABTSoftware/SciChart.Wpf.Examples/tree/SciChart_v7_Dev/Sandbox/CustomerExamples/AddObjectsToA3DChart
Please try it out and let us know your feedback.
With best regards,
Lex
SciChart Technical Support Engineer
- Lex answered 1 year ago
- You must login to post comments
Please login first to submit.