-1

I want to use the C# fillpolygon to fill a complete cube in a 3D world. What I notice is that the fillpolygon function receives an array of points, but in my case, for each point I have (x, y, z). Is there anyway out I could try solve this limitations. Or is there any simple algorithm I could use to fill a cube or any object.

Evy Lino
  • 19
  • 1
  • 7

1 Answers1

0

This kind of things is best achieved via some library OpenGL, DirectX - take a look at http://www.opentk.com/ or http://sharpdx.org/. If you insist you'll do it yourself, isometric projection is fairly easy to calculate, or take a look on How to convert a 3D point into 2D perspective projection?

Community
  • 1
  • 1
Ondrej Svejdar
  • 21,349
  • 5
  • 54
  • 89