Our assignment was to generate 9 spheres in a grid, each of a different material (the various values and coefficients for the materials were given to us). There were to be four lights: one white, and one of each of the primary colors (red, green, blue). After fiddling with positions for a long time, this is what I eventually got. The problem with ray-tracing is that each iteration takes a long time to render, especially when it's OpenGL, which likes rendering things multiple times before it considers itself done. Still, it works, and it looks kinda nice. Admittedly, it's just nine spheres, but it's pretty nifty.
This was generated with a ray-tracer written in C, using OpenGL for graphics.
The spheres, from the upper-left and working right, row by row, are Black Plastic, Brass, Bronze, Chrome, Copper, Gold, Pewter, Silver, and finally Polished Silver.
I think it looks kinda weird since they're just kinda floating in space but it is kinda pretty. And you do have to use your imagination to accept that they're all made out of different materials. *^_^*;;
Hm, I think putting them on a lighter background would probably make it look prettier, since they're all kind of darkish in color. Either that or making the lights brighter..
He specified the brightness of the lights, so it's not something I could change. As for the background, yeah, I probably could have made it a bit brighter than off-black. The main thing is that I didn't really know what color to make it, and I'm not sure how much it would add. The focus of the picture, after all, is the nine balls floating in space!
Well, it's not going to be uberrealistic. The metals, actually, aren't metallic enough, as metals reflect light differently, and require a different relfection algorithm to draw. I didn't use that algorithm.
What's interesting is that, from a computer science perspective, the only difference in a lot of materials is just a lot of coefficients relating to how it reflects light.
DeviantART and Wacom are proud to present the second Intuos4 "Bring Your Vision To Life" contest! Open to all artists all over the world, we challenge you to show us your dreams and aspirations for the future. Get drawing!
DeviantART and the martial arts action film, Ninja Assassin, have teamed up to allow ALL deviants the ability to install Journal Skins! Select an awesome Ninja Assassin skin or choose the skin of your choice.
New deals posted everyday, starting Black Friday and running through the holiday season! No hassles, no lines - just awesome savings on art, deviantWEAR, Premium Memberships and more!
As part of the BETA release of Groups, deviantART is exploring changes in its Terms of Service and Etiquette Policy. We'd like to share these proposed changes with you and get your feedback. Please read on!
^Ikue has been a devious member of our community for almost 7 years and in this time he has proven to be nothing short of dedicated and devoted. Whilst volunteering his time over the last 22 months as a Gallery Moderator within the Community Relations Team, Chris has brought the Vector gallery and many vector artists directly into the spotlight. ^Ikue's commitment to the community is evident in everything he touches and you can always find him reaching out to others with an encouraging word. Chris is a natural leader with a vibrant and empathic personality, and is a role model for deviants everywhere. It's ev... Read More
Comments
What's interesting is that, from a computer science perspective, the only difference in a lot of materials is just a lot of coefficients relating to how it reflects light.
--
"Works of art are created by those who are prepared to go to the limit." - Hayao Miyazaki
--Icon by *SoloPlush
Previous PageNext Page