Latest ArticlesEngine Architecture #1
Static Shadows #1
Paint on Mesh
A Tale of the Internet
Sample Programs Plans Apr 20, 2006
I've considered making sample programs for a while. This week I finally began working on one. However, I usually only spend a few hours a week on this blog, so I wasn't able to complete it in time for the weekly update. So next week hopefully I'll have something more substantial =)
I'll use code from the math classes in my previous articles, but other than that I'm starting from scratch. One reason I don't have any downloadable 3D sample programs is it takes time to do a good job, and I'd rather concentrate my programming on Kingdoms Creator. Although I'd like make great samples, I suppose it doesn't hurt if if I start with relatively simple and small example programs that aren't thoroughly tested. Once I have a base to work from, I may eventually reuse most of the code to build something much more complex.
I'm may decide to reinstall my old MSVC++ 6.0. I currently use Visual Studio 2005, which I definitely like better than any of the older versions, but I'm not sure how many people are using it yet, so the project files might be incompatible.
Planned Sample ProgramFor next week, I'm working on a demonstration of line-mesh intersection. Hopefully it will also include a couple of the possible optimizations, such as an subdivision of the mesh into quadrants to use for early exit tests. This is meant to be a supplement to my selection tutorial.