![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2006
Posts: 2
Rep Power: 0
![]() |
framework help
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! |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Slip over to MSDN and pick up their 'scribble' tutorial, for a start. Generally speaking, you create a device context and blit pixels into it.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Newbie
Join Date: May 2006
Posts: 2
Rep Power: 0
![]() |
hey ppl!
thanks for all the help! sorry i didnt reply sooner, had to complete a college assignment... i think ill go with writing an image util... prob the easiest way to go about it i guess! thanks again! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|