Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TheProff

Pages: [1]
1
DotNet / How to show an image on a window?
« on: April 20, 2019, 12:51:03 pm »
I am making a program to explore the Mandelbrot set in C#. The function I have (called renderset) works fine and spits out an image of the specific area you want. I would like to display this onscreen but I can't figure out how. I have tried to make it into a texture and then convert that into a sprite and display it but that doesn't work. (My window opens but is completely black)  Does anybody know a better way to do this or how to fix my current method.

Thanks for any help  :)

Link to code: https://pastebin.com/0jNnJY9A

Pages: [1]
anything