Skip to main content

CST 325 - Module 1

It's the beginning of a new class! In this CST 325, I am going to be learning all about graphics programming and understand the concepts behind generating computer graphics.

This first week involved a lot of trigonometry, geometry, and vector math review. The majority of graphics programming relies on math from these fields, especially vectors, so it's important to understand it even before diving into the basics. I hadn't done trigonometry or vector math in a while so I had some difficulty doing the review assignments at first, but watching 3Blue1Brown's videos on vector math helped me out a lot. 

The second part of this module involved writing a simple 3D vector (Vector3) and sphere API, and performing ray-sphere intersection calculations. I was able to understand and implement Vector3 quickly, but the ray-sphere intersection program/API took me a little longer than I expected because I wasn't familiar yet with some of the built in functions and how to implement the math operations I wanted in Javascript. However, at the end I was able to get both my Vector3 and Sphere code to pass all the unit tests, and I understand how ray-sphere intersections work well enough, I think, to work on the next module, which is writing a basic ray tracer. 

Comments

Popular posts from this blog

CST 499 - Week 7

This week, our group finished recording and editing our capstone project video and prepared our presentation for the capstone festival. Although I wish the capstone festival was held in person (and it could not due to current circumstances), I am excited to show off our project and hard work to other computer science students, friends, and family. I hope they'll enjoy it and learn something cool while doing so. 

The Final Journal

It's the end of a long, four year journey, and what a journey it has been. I never thought I could pull off finishing my second bachelor's degree four years ago when I first went to that introduction to programming class at my community college. I would like to thank all the friends I've made along the way and the people who have helped me through the last two years. Although it was difficult at times taking class while working 40+ hours a week, I'm proud of myself for making it through. I don't think I'll be a student enrolled in classes anytime soon, but I'll always be a lifelong student. See you all around.

CST 499 - Week 3

This week, we finished our ILP portfolios and turned in the final versions of our resume and cover letter. My group also completed the first part of the capstone report. I'll admit that creating a portfolio showcasing my past work was not at the top of my priority list when I first started studying computer science, although at this point in my educational and professional career I've learned how important it is to have such a portfolio. Like other creative professions, having a solid body of work to show to a potential employer, or even for personal documentation is one of the best ways to display your talents as an engineer. Also, all the assignments I've completed during my academic career, both at CSUMB and elsewhere, have given me a good start to my portfolio. I tend to prefer classic, plain styling like  Brian Kernighan's  home page (he has a pretty nice portfolio too), although I've come to appreciate highly stylized portfolios that make use of WebKit ani...