1 / 6

Implementing Arcball Algorithm for 3D Object Rotations

This project focuses on implementing the Arcball algorithm to simulate object rotations in 3D computer graphics. Arcball is an input technique that uses a mouse to adjust object orientation. The implementation involves generating vectors, calculating rotation angles, and constructing rotation matrices to achieve desired results.

chelsey
Download Presentation

Implementing Arcball Algorithm for 3D Object Rotations

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Trabalho 03 – Arcball Guilherme Bezerra Zampronio

  2. Sumário • Objetivo • Definição • Implementação • Resultados

  3. Objetivo • Implementar o algoritmo do Arcball que simula rotações de um objeto.

  4. Definição • Arcball é uma técnica de entrada para computação gráfica 3D • Utiliza um mouse para ajustar a orientação do objeto.

  5. Implementação • Dois vetores são gerados partindo da origem até o ponto de entrada do mouse. • Calcula-se um vetor através do produto vetorial entre os dois vetores iniciais. • O ângulo de rotação é calculado através do produto escalar entre os dois vetores iniciais. • Uma matriz de rotação é calculada.

  6. Resultados

More Related