Virtual Machine

OpenGL Teaching Material

Qt

OpenGL Virtual Machine

OpenGL programming learning using Qt over Linux

Qt is a very well known cross-platform framework, used by many high-profile projects (Autodesk Maya, Adobe Photoshop Elements, Skype, VirtualBox and many others). I decided to introduce you to it in Computer Graphics because we needed to work with a framework that allowed you to create a native GUI interface. By using Qt, not only can you use the same tool as the rest of the class regardless of what operating system you use, but you will also be learning some hints on how this framework operates.

Qt is still very much a work in progress, and slight framework changes occur from one version to the next. Since 2010 when I first created my CGMaze example for the Computer Graphics class, I have had students with compilation issues year after year. This is why I created this virtual machine where you can focus on learning Qt and OpenGL rather than on installation problems. However, I allow and promote that you install your own Qt copy on your system without using this virtual machine — this will give you some experience with its installation and problem resolution. Unfortunately, due to time constraints, I will not be able to help you much with such problems.

Qt Creator is Qt's IDE. It is installed, along with Qt's full 300Mb plus documentation in this virtual machine. You can launch it from the obvious desktop shortcuts or with Ctrl+Alt+Q.

There is a folder in the desktop named "cg" which stands for "Computer Graphics". If it's empty, this means there have been recent changes to the teaching materials: please visit the page with my teaching materials for this class and load them here. You'll be guided how to proceed from there, in class.

Read also about how to use the Linux virtual machine.

For other teaching materials (in Portuguese), please follow this link.

Máquina Virtual OpenGL

Aprendizagem de programação em OpenGL usando o Qt sobre Linux

O Qt é uma framework multi-plataforma muito conhecida e usada por projectos que seguramente conheces (Autodesk Maya, Adobe Photoshop Elements, Skype, VirtualBox e muitos outros). Decidi dar-te a conhecer esta framework em Computação Gráfica porque precisamos de trabalhar com uma framework que te permita criar uma interface GUI nativa. Ao usar Qt, não só consegues estar a usar a mesma ferramenta que o resto da turma independentemente do sistema operativo que uses, como também estarás a aprender algo sobre como esta framework funciona.

O Qt é um projecto em desenvolvimento activo e ocorrem pequenas alterações na framework de uma versão para a seguinte. Desde 2010, quando criei o meu exemplo CGMaze para as aulas de Computação Gráfica, que tenho tido alunos com problemas de compilação ano após ano. Foi por isso que criei esta máquina virtual onde te podes focar em aprender Qt e OpenGL em vez de problemas de instalação. No entanto permito e incentivo que instales a tua própria cópia do Qt sem usares esta máquina virtual — isto irá dar-te alguma experiência sobre a instalação da mesma e respectiva resolução de problemas. Infelizmente, por questões de tempo, não te poderei ajudar muito com esses problemas.

O Qt Creator é o IDE do Qt. Está instalado nesta máquina virtual, assim como a documentação completa do Qt com mais de 300Mb. Podes corrê-lo a partir dos atalhos óbvios no ambiente de trabalho (desktop) ou com Ctrl+Alt+Q.

Está uma pasta no ambiente de trabalho com o nome "cg" que significa "Computação Gráfica". Se estiver vazia, isso significa que têm havido alterações recentes ao material de ensino: visita a página com os meus materiais de ensino para esta unidade curricular e carrega-os para essa pasta. Nas aulas serás guiado em como prosseguir.

Vê também como utilizar a máquina virtual Linux.

Para outros materiais de apoio ao ensino, por favor siga esta hiperligação.

Photography by NASA