• LF몰 이벤트
  • 파일시티 이벤트
  • 서울좀비 이벤트
  • 탑툰 이벤트
  • 닥터피엘 이벤트
  • 아이템베이 이벤트
  • 아이템매니아 이벤트

glutwindow, Phong Shading (Vertex Shader, Fragment Shader) 을 사용한 3D 주전자 프로그램

*응*
개인인증판매자스토어
최초 등록일
2019.11.27
최종 저작일
2019.07
파일확장자 압축파일
가격 2,000원 할인쿠폰받기
다운로드
장바구니

소개글

glutwindow, Phong Shading (Vertex Shader, Fragment Shader) 을 사용한 3D 주전자 프로그램 프로그램입니다.

대표이미지에서 보시다시피 glut Teapot 을 GLSL 을 이용 (vertex shader, fragment shader) 하여
phong shading 효과를 주는 프로그램입니다. idle 함수에서 주전자가 회전되도록 기능 구현 되있기때문에 glut 및 shading 기초공부하시는 분께는 최적일 듯합니다. 주석도 한글 주석으로 최대한 작성해 놓았습니다.


기본 window size 는 640, 480 로 되있으며, glutIdleFunc 반복적으로 화면이 갱신 됩니다.
코드는 openGL 및 GLSL 을 배우기 시작하시거나, 정리하시기에는 군더더기 없는 소스코드입니다.

모든 소스에는 한글 주석이 달려있어서 보시기에도 도움이 되실겁니다.

Shader Code 는 fragmentshader.txt, vertexshader.txt 파일입니다. (이쪽도 주석처리 해놨습니다.)

개발환경 : Visual Studio 2017 32비트(x86) 빌드하셔야합니다.
OpenGL 관련 lib 가 32비트이기 때문입니다.

잘만들었으니 가져가셔서 많은 도움이 되셨음 좋겠습니다. 감사합니다.

컴파일 실행환경

Visual Studio 2017, 빌드(x86 or win32), C/C++

압축파일 내 파일목록

GLSL_Lighting/Backup/TemplateProject.sln
GLSL_Lighting/copyight-string.txt
GLSL_Lighting/cwc/include/glApplication.h
GLSL_Lighting/cwc/include/glsl.h
GLSL_Lighting/cwc/include/glutwindow.h
GLSL_Lighting/cwc/include/glWindow.h
GLSL_Lighting/cwc/source/glApplication.cpp
GLSL_Lighting/cwc/source/glsl.cpp
GLSL_Lighting/cwc/source/glutwindow.cpp
GLSL_Lighting/cwc/source/glWindow.cpp
GLSL_Lighting/fragmentshader.txt
GLSL_Lighting/freeglut/include/GL/freeglut.h
GLSL_Lighting/freeglut/include/GL/freeglut_ext.h
GLSL_Lighting/freeglut/include/GL/freeglut_std.h
GLSL_Lighting/freeglut/include/GL/glut.h
GLSL_Lighting/freeglut/source/freeglutdll.def
GLSL_Lighting/freeglut/source/freeglut_callbacks.c
GLSL_Lighting/freeglut/source/freeglut_cursor.c
GLSL_Lighting/freeglut/source/freeglut_display.c
GLSL_Lighting/freeglut/source/freeglut_ext.c
GLSL_Lighting/freeglut/source/freeglut_font.c
GLSL_Lighting/freeglut/source/freeglut_font_data.c
GLSL_Lighting/freeglut/source/freeglut_gamemode.c
GLSL_Lighting/freeglut/source/freeglut_geometry.c
GLSL_Lighting/freeglut/source/freeglut_glutfont_definitions.c
GLSL_Lighting/freeglut/source/freeglut_init.c
GLSL_Lighting/freeglut/source/freeglut_internal.h
GLSL_Lighting/freeglut/source/freeglut_joystick.c
GLSL_Lighting/freeglut/source/freeglut_main.c
GLSL_Lighting/freeglut/source/freeglut_menu.c
GLSL_Lighting/freeglut/source/freeglut_misc.c
GLSL_Lighting/freeglut/source/freeglut_overlay.c
GLSL_Lighting/freeglut/source/freeglut_state.c
GLSL_Lighting/freeglut/source/freeglut_stroke_mono_roman.c
GLSL_Lighting/freeglut/source/freeglut_stroke_roman.c
GLSL_Lighting/freeglut/source/freeglut_structure.c
GLSL_Lighting/freeglut/source/freeglut_teapot.c
GLSL_Lighting/freeglut/source/freeglut_teapot_data.h
GLSL_Lighting/freeglut/source/freeglut_videoresize.c
GLSL_Lighting/freeglut/source/freeglut_window.c
GLSL_Lighting/glew/include/GL/glew.h
GLSL_Lighting/glew/include/GL/glxew.h
GLSL_Lighting/glew/include/GL/wglew.h
GLSL_Lighting/glew/source/glew.c
GLSL_Lighting/License.txt
GLSL_Lighting/main.cpp
GLSL_Lighting/TemplateProject.sln
GLSL_Lighting/TemplateProject.vcproj
GLSL_Lighting/TemplateProject.vcxproj
GLSL_Lighting/TemplateProject.vcxproj.filters
GLSL_Lighting/TemplateProject.vcxproj.user
GLSL_Lighting/UpgradeLog.htm
GLSL_Lighting/vertexshader.txt
이미지 28.png

참고 자료

없음
*응*
판매자 유형Bronze개인인증

주의사항

저작권 자료의 정보 및 내용의 진실성에 대하여 해피캠퍼스는 보증하지 않으며, 해당 정보 및 게시물 저작권과 기타 법적 책임은 자료 등록자에게 있습니다.
자료 및 게시물 내용의 불법적 이용, 무단 전재∙배포는 금지되어 있습니다.
저작권침해, 명예훼손 등 분쟁 요소 발견 시 고객센터의 저작권침해 신고센터를 이용해 주시기 바랍니다.
환불정책

해피캠퍼스는 구매자와 판매자 모두가 만족하는 서비스가 되도록 노력하고 있으며, 아래의 4가지 자료환불 조건을 꼭 확인해주시기 바랍니다.

파일오류 중복자료 저작권 없음 설명과 실제 내용 불일치
파일의 다운로드가 제대로 되지 않거나 파일형식에 맞는 프로그램으로 정상 작동하지 않는 경우 다른 자료와 70% 이상 내용이 일치하는 경우 (중복임을 확인할 수 있는 근거 필요함) 인터넷의 다른 사이트, 연구기관, 학교, 서적 등의 자료를 도용한 경우 자료의 설명과 실제 자료의 내용이 일치하지 않는 경우
최근 본 자료더보기
탑툰 이벤트
glutwindow, Phong Shading (Vertex Shader, Fragment Shader) 을 사용한 3D 주전자 프로그램
  • 레이어 팝업
  • 레이어 팝업
  • 레이어 팝업
  • 레이어 팝업
  • 레이어 팝업