Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 23rd, 2006, 8:40 PM   #1
Richboy
Newbie
 
Join Date: May 2006
Posts: 2
Rep Power: 0 Richboy is on a distinguished road
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!
Richboy is offline   Reply With Quote
Old May 23rd, 2006, 8:47 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old May 28th, 2006, 7:48 AM   #3
Richboy
Newbie
 
Join Date: May 2006
Posts: 2
Rep Power: 0 Richboy is on a distinguished road
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!
Richboy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:12 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC