[CSC 415] More Code Examples

Andrew J. Pounds pounds_aj at mercer.edu
Fri Jan 17 13:17:20 EST 2025


Alright -- I have four code examples for you not to explore in the CSC 
415 Group.

1. Introduction to the GLFW Window Manager with OpenGL Shaders

This is the code we went over the first time we met in the Chemistry 
conference room

2. OpenGL VBO Example

This is the example of how to tie the VBO and VAO together

3. First Animation

This is code that uses a UNIFORM variable that is shared between the CPU 
and the GPU -- make sure you go over this first before you do the next one.

4.  Second Animation - The Pipeline

Okay -- now we are getting serious.  In this one I demonstrate how to 
use the glm library and uniforms to build the modelview, projection, and 
lookAt matrices and pass them between the CPU and the GPU.  This is the 
foundational code you will need to start your first project.


And with that, the FIRST PROJECT is now up on CANVAS.  Let me know if 
you have any questions.


-- 
*Andrew J. Pounds, Ph.D.*
/Professor of Chemistry and Computer Science/
/Director of the Computational Science Program/
/Mercer University, Macon, GA, 31207 (478) 301-5627 /
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc415/attachments/20250117/77b09115/attachment.htm>


More information about the csc415 mailing list