Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@taiko1

Qt OpenGLプログラム 3D 立方体表示

実行サンプル

機能は以下
・マウス移動で図形回転
・マウスホイールで図形ズーム
image.png

実行環境

windows10
Qt5.15
VisualStudio2019

実行手順

特記なし、通常通りの手順。(QtCreaterでビルドして、実行。)

ソースコード

※プログラム作成中です。動作はします。(必要ないコードが入っていたり整ってませんが。。)
https://github.com/sakurataiko1/Cplus_openGL/tree/main/Qt_openGL_QtTutorial_3D_shader_cube/MyOpenGL2_my01shader

関連資料

■ OpenGLコードの参考 Qt公式プログラム
http://ftp.jaist.ac.jp/pub/qtproject/learning/developerguides/qtopengltutorial/
ソースコード: opengl_src.zip
解説: OpenGLTutorial.pdf

■ GUI参考 (widget の格上げ設定なども)
https://www.bogotobogo.com/Qt/Qt5_OpenGL_QGLWidget.php

■ Qtの設定参考。(シェーダプログラムの追加とリソースファイルへの登録.vsh, fsh)
https://armadillo.atmark-techno.com/blog/1562/1988

0
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?