So, I'm developing a small program in C# that involves rendering a structure. I started by using Graphics()
but because of certain limitations and for the sake of learning, I created my own 3D engine class (or sort of).
That class stores and manipulates the pixels in a matrix of:
public class pixel {
public Color cor = new Color();
public int z = Int32.MinValue;
}
where z is used for visibility check.
Now that I've checked the results (by creating a bitmap file from the matrix), I want to draw and manipulate that matrix directly into a element in my WPF. So i want to know if there's a simple way to do this.
I'm very fresh on all this, so if there is something that i might be missing please tell me, sometimes i don't know what i should really search for.