Ray Tracer and Binary Tree Implementation
I posted this in the begginers thread first, sorry, didn't realise there was a graphics section.
I've got the source for a Ray Trace engine (for wii) and I want to optimize it as it is very slow as is, to start I wanted to add a binary tree and I've got the class for the binary tree, but I don't know how to actually use the binary tree to optimize the performace in terms of programming it.
Here's the source code -> http://www.sendspace.com/file/dmsz2d
I don't want anyone to do it for me, I want someone to tell me how to do this otherwise I'm not going to learn... It uses a raw frame buffer and a whole lot of vector functions from the GX API
Anyways, thanks, I would appreciate your help :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement