Mail Archives: djgpp/2000/08/30/09:04:54
My advice would be, start simple! Your first program would preferably not
even display the image, just calculate it and save it as a PCX or something.
(But if you're using Allegro, I guess it's not much work to display it just
before you save it...)
The simplest shape is probably a sphere. So when you shoot your ray out of
every pixel, you only need to do a sphere intersection. The colour of the
pixel depends on what part of the sphere you hit.
Anyway, I'm probably not being much help, am I?
> EH> Well, I guess the pov-ray source would be too big to
> EH> start on.
> i have those sources...what's next....hmmm???
>
> EH> But you will need to know quite a bit about rays and
> EH> their intersections with objects. As well as how
> EH> lighting works.
> so...i wanted some direction (on the web)....
- Raw text -