Pre loader

3D Objects

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

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?

Version
Probably the most recent
Attachments
  • Andrew Burnett-Thompson
    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 to post comments
1
0

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.

Attachments
  • You must to post comments
0
0

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

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies