Giter VIP home page Giter VIP logo

2021graphics's Introduction

보충수업 코드

슬라이더 없는 메시 관찰

키보드에 반응하는 메시 관찰

전진과 후진이 제대로 구현된 관찰

카메라 회전이 추가된 관찰

카메라 회전 방향을 따라 전진 후진

2500개의 메쉬 사이를 다녀 보기

3D 컴퓨터 그래픽스

이 저장소는 2021년 동명대학교 게임공학과 그래픽스 프로그래밍 수업을 위한 저장소입니다.

이 저장소의 코드는 Windows 10 / MacOS Big Sur + Visual Studio Code + Python 3 + PyOpenGL + PyQt5 로 테스트되었습니다.

Big Sur 환경에서는 다음 파일을 수정해야 합니다.

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/OpenGL/platform/ctypesloader.py
수정할 내용

fullName = util.find_library( name )

를 아래와 같이 수정

if name == 'OpenGL':

fullName = '/System/Library/Frameworks/OpenGL.framework/OpenGL'
  • PyQt5를 PyQt6로 업그레이드 하면...

수정할 내용

  1. QOpenGLWidget

PyQt6에서 QOpenGLWidget 클래스의 모듈 이동 from PyQt6.OpenGLWidgets import *

  1. App 실행

exec_() => exec()

강의

강의 0: 수업 오리엔테이션 강의 자료 / 수업소개 강의자료
강의 1: 그래픽스 소개 강의 자료 / 파이썬 소개 강의자료
강의 2: OpenGL + Qt 소개 강의 자료
강의 3: 색 모델의 소개 강의 자료
강의 4: RGB 모델을 이용한 물체 표현 실습 강의 자료
강의 5: OpenGL 프리미티브 강의 자료
강의 6: 카메라의 조작과 Z-버퍼 강의 자료
강의 7: 3차원 객체 만들기 강의 자료
강의 8: 계층적 모델링 강의 자료
강의 9: 조명모델 강의 자료
강의 10: 메시 렌더링 강의 자료

실습

실습 1: Qt 윈도우 생성

Offline 실습 2

실습 2: 컬러 모델

실습 3: 프리미티브를 이용한 그리기

중간고사 답안

실습 4: 간단한 카메라 다루기와 깊이 버퍼 활용

실습 5: 간단한 3차원 공간 객체 그리기

실습 5: 계층적 모델링

실습 5-1: 로봇 제어하기

실습 5-2: 태양계

실습 6: 입체 그리기

실습 단계

조명 다루기

점 광원 실습

방향 광원 실습

집중 광원 실습

- 두 개의 집중 광원 실습

메시 다루기

메시 데이터

메시 데이터 1

메시 데이터 2

메시 데이터 더 구하기

메시 로딩

메시 로딩 전

메시 포인트

메시 Wireframe

메시 면 - flat

메시 면 - smooth

메시 애니메이션 - 저속

메시 애니메이션 - 고속

2021graphics's People

Contributors

dknife avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.