How to draw a barrel or a circle in WPF Viewport3D?

Abdalrohman AL HAJ ALI 21 Reputation points
2022-02-16T11:10:31.767+00:00

I have a WPF project that contains a 3D models. I did search a lot about Viewport3D but didn't found any helpful results to draw a barrel in 3D. Also the Camera move is kinda bad, how can I edit it too?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,755 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,819 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 84,281 Reputation points
    2022-02-16T12:13:15.8+00:00

    Maybe you can see articles/samples like Walking Robot Series In WPF -- Part 2: Circles, Cylinders, Flat And Smooth Shading
    (not tested, I just tested MS samples (Animation Example Gallery), but they use cubes)

    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.