URGENT!!! PLEASE HELP... *whimpers*, Need Help With system.drawing and the color, brush and
Hi i'm building a raytracing application in VB.Net 2005 EE, and my raytracing app does the following:
- Divide A View Window Into A 'Grid' 1 Pixel = 1 Cell/Square
- Builds Virtual 3D-SPACE Points On X Y Z Axis, And Adds Them To Lists
- Sends A Virtual 'Ray' Of Light Out Of The Grid's Cell
- Ray 'Bounces' Off Of The Objects From The 3D Points, Picks Up Red,Green & Blue Colour Values As It Goes Along
- When The Ray Returns To The View Window, The Colour Associated With The Cell, Then Becomes The Same As The Colour The Ray Now Has.
- The Process Is Repeated With Every Cell.
The Challenge Is This:
Drawing Pixels On The Image, To Match The Colour.
As there is no pixel draw in the graphics base, you have to use the drawellipse, but this requires a pen.
i don't know how to convert a colour which i have specified using color.fromargb(), into a pen.
If anybody could tell me how to convert a colour into a pen, i would really be thankful.
With this piece of info, i will be able to add the completingn parts to the project.

