c# wpf sharpdx how to make a scene and camera

Zaug 306 Reputation points
2022-02-06T17:32:37.2+00:00

i work a project in c# wpf and sharpdx. but i not know how to create a scen in sharpdx wpf.

my window code is:
<hx:HelixViewport3DX>
</hx:HelixViewport3DX>

*when i write this code, and lights etc.

*my window looks like a black screen
how to create scene in sharpdx?
someone help me_?

Developer technologies Windows Presentation Foundation
0 comments No comments
{count} votes

Accepted answer
  1. Hui Liu-MSFT 48,676 Reputation points Microsoft External Staff
    2022-02-07T06:28:54.207+00:00

    In general, using Direct3D requires a lot of code to get anything to happen on the screen.

    For the usage of SharpDX , you could refer to the examples in the SharpDX repository on GitHub.

    In the SharpDX repository you have the MiniCube sample which contains enough to really get you started, as it has all the elements required to draw a 3d scene.


    If the response is helpful, please click "Accept Answer" and upvote it.
     Note: Please follow the steps in our [documentation][5] to enable e-mail notifications if you want to receive the related email notification for this thread. 

    [5]: https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.