TechHui

Hawaiʻi's Technology Community

My name is Sebastian Bozlee, and I'm a student at Castle High School.This is my first blog here at Tech Hui. I've been programming by myself for a while, and I hope to find others interested in it. My latest and greatest program is a buzzword compliant, XML-configurable, ray-tracing, 3D renderer written in C++ with support for .bmp textures, spheres, and planes. I've been developing it with Cygwin. Hopefully I can get it compiling for Windows and Linux soon. Here's a picture:

What do you think?

Views: 107

Comment

You need to be a member of TechHui to add comments!

Join TechHui

Comment by Sebastian Bozlee on May 19, 2009 at 7:07pm
Thanks again for the encouragement.

Josiah, I think your raytracer beats mine by quite a bit. I plan on cleaning up the code a bit then adding a way to combine shapes into fancier shapes. After that - refraction.

Well, if anyone is curious or wants to help, I've put up my code on Sourceforge: https://sourceforge.net/projects/sebsraytracer/. It may be a little messy.
Comment by Todd Robertson on May 19, 2009 at 3:01pm
Keep up the great work!!
Comment by Sebastian Bozlee on May 17, 2009 at 10:41am
Paul, the trouble is that the libraries must be configured and compiled for Windows. In my case, I need libxml2 compiled for Windows and probably some things it depends on. I also have to be careful to avoid mixing Cygwin and Windows components. I don't need the Boost library precompiled, so it shouldn't be much trouble.
Comment by Paul Graydon on May 17, 2009 at 8:26am
I'm not particularly great with c++, only started looking at it on and off a month or so ago to handle a specific problem.. Why do you envisage libxml2 and boost to complicate things?
Comment by Sebastian Bozlee on May 16, 2009 at 3:47pm
Thanks for the encouragement. I've been using -mno-cygwin, but the libraries I'm using (Libxml2 and Boost) complicate things. If you're interested in helping, I can email a tarball of the source.
Comment by Daniel Leuck on May 16, 2009 at 2:03pm
Hi Sebastian. I second Laurence's comments. Your C++ work is very impressive. We hope to see more of you on TechHui.
Comment by Laurence A. Lee on May 16, 2009 at 2:00pm
Hi Sebastian,

That's some great work. I'm thoroughly impressed that you're doing this in C++ on Cygwin.

I'm confident that you will be able to port that code over to Linux and Windows (via MinGW, which is a wondows-only subset of Cygwin) with few problems. I'm sure you can find several people (including myself) who would be willing to mentor your porting efforts and get you a head start in C++ development on a Linux machine.

You might be able to get Cygwin to produce a "MinGW" equivalent (windows-only, without needing the Cygwin DLL) by passing "-mno-cygwin" in your CFLAGS.

I have been working on a MinGW on Fedora Linux tutorial, which would allow you to compile C++ code for a Windows machine from a Linux machine, and will publish that shortly after Fedora 11's release on the 26th. It might be a good starting point if you decide to take the plunge into using a Linux machine as your main development environment.

Sponsors

web design, web development, localization

© 2024   Created by Daniel Leuck.   Powered by

Badges  |  Report an Issue  |  Terms of Service