Access to a single pixel in C#
Posted
by Malki
on Stack Overflow
See other posts from Stack Overflow
or by Malki
Published on 2009-01-24T16:25:19Z
Indexed on
2010/06/08
6:02 UTC
Read the original article
Hit count: 223
Hello, I'm working on a school project right now. It's meant to be a 3D editing software, (like a very minimized version of Maya). I have to write it in C#, using the 'Windows Application Project'. I intend to implement all the 3D stuff myself, from projections to shading. My question is, how can I get direct access to a single pixel in the C# windows application? I know I'm going to have a main view port in the window. But I haven't decided yet how it will be made. Is there a built in object that I can use, that will let me define the boundaries of the view port, and then paint each pixel individually? (I'm just shooting in the dark here, I don't know much about C#. I mostly program in C)
Thanks, Malki.
© Stack Overflow or respective owner