Probably the Hardest Part of My Project has been achieved, I have Created a few Algorithms to accomplish this, First the FindPointsOnACircle Function, returns a list of points around a point given in a circle, given amount of points wanted, Once that is done I then Use the CreatePolys Function to draw cylinders between each point using the list of points given from the FindPoints Function, I loop through this function until all the tree is done, I have also added a Scale to the function to scale the tree depending on its height. There are some apparent flaw, like the base being missing (its height being zero), open ended cylinders. I hope to have these fixed by the end of the project. Until Next Time!
0 Comments
Another attempt at looking for the draw line function in AIEs Direct X Framework has yielded results, I Went through my text book, and searched the whole project until I found the AIE Function it was attached to, this took longer to figure out than i would have like,but at least i Have Found it in the end, And I works As well as could be expected, but if i iterate the L system too much, i will run out of lines to draw from the buffer, so as long as i keep the amount of line to a bare minimum, there should be no problem. Until the next post! I have succeeded in moving the L System setup into Direct X, and it seemed very easy and no problems have popped up, I Hope to have an OSD of the L system as I work on a Mesh Generator. Good News Everyone!
As I ended my work with the framework, i wanted to see the progress i had made with my l system. As It Turned out, I had made it far, although it was in gamebryo and used a separate nifs for each segment, I knew it would be a quick from there on in. I Had already made my own definitions and axoim and i felt that was a good starting point, and when i had the chance i would find a Better Lsystem Algorithm. Till the next post! |