Richboy
05-23-2006, 05:21 PM
hi,
i want to start writing a software and a raytrace renderer. i know all the howto of software and raytrace rendering now, but i have a problem with the GUI. ive just coded a window using the win API for the first time in my life, i found a really cool tutorial on windows programming by Brook Miles (theForger) and i know how to create a basic window now, well thats all i need to know for my case.
i dont know how im gonna draw specific pixels and stuff into the window, could anyone help me out here? that would be very much appreciated. im not looking into getting into really advanced win api coding, just looking into how i will be able to draw individual pixels etc.
also, where can i put the drawing code??? sorry if i sound like a lamer, im just pretty confused with all this windows api stuff. i mean, its really huge and messy!?!?!?
i just want to know how i can start drawing pixels into an empty window, and maybe some other stuff if its needed? its also my first time to try writing a renderer, ive writen a few apps with openGL using GLUT, but thats a totally different thing...
are there any tutorials that cover this as well??? coz that would be really useful...
hope you can help me out!
much thanks!
i want to start writing a software and a raytrace renderer. i know all the howto of software and raytrace rendering now, but i have a problem with the GUI. ive just coded a window using the win API for the first time in my life, i found a really cool tutorial on windows programming by Brook Miles (theForger) and i know how to create a basic window now, well thats all i need to know for my case.
i dont know how im gonna draw specific pixels and stuff into the window, could anyone help me out here? that would be very much appreciated. im not looking into getting into really advanced win api coding, just looking into how i will be able to draw individual pixels etc.
also, where can i put the drawing code??? sorry if i sound like a lamer, im just pretty confused with all this windows api stuff. i mean, its really huge and messy!?!?!?
i just want to know how i can start drawing pixels into an empty window, and maybe some other stuff if its needed? its also my first time to try writing a renderer, ive writen a few apps with openGL using GLUT, but thats a totally different thing...
are there any tutorials that cover this as well??? coz that would be really useful...
hope you can help me out!
much thanks!