Texture Mapping - Bitmap
Folks, I got hung up for a long time trying to add a feature to my scene editor that would give me more control and flexibility over my texture maps. Sadly, I still haven't figured out how to solve the problem, and I may have to come up with something else. Fortunately for you, however, I decided there was a feature I could add with relative ease to keep you interested. I added the ability to use a 24-bit bitmap file as a texture in my scenes. It has been fun to put real bitmaps on my table tops. Here is one of my favorites.
A brief story may illustrate just how cool I was. At that time (and for a long time thereafter), I had a roommate named Robert. You may view his photo to the right. He was always a deceiver. In this photo he was trying to convince the photographer that he was his twin brother Juan (who in actuality does not exist).
From time to time, however, he had brief moments of honesty. During one such moment, he informed me that he really liked one particular image I had rendered using my ray tracer. It was the image of spheres above an infinite plane which can be seen below. Robert had recently spent a small fortune on some photo paper for our printer, and to my great honor, he demanded that I print a copy of my spherical artwork on a sheet of his precious paper. Folks, it hardly gets better than that.
In truth, however, it does actually get better than that. In addition to the visual payoff as well as my new-found popularity, I found that I was getting high marks in the class. That was great encouragement. I truly was becoming the master programmer I had always wanted to be. :D
Lest you be persuaded to believe that I actually was a master programmer at that time, I must admit my ray tracer had some serious flaws, certainly not least of which was the fact that in order to render a different scene than the last, I had to recompile my program. Do you know what that means? It means that if I were to send you a copy of my ray tracer from back then, it would always render exactly the same scene every time you ran it. No matter what!
Ok, I'm signing out now with the full realization that the answer to "w
To the right you will see an image I rendered using my very first ray tracer ever. It was called "Project 4", as it was the fourth project I wrote for 