This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ruby -Ku | |
# -*- mode: ruby; coding: utf-8 -*- | |
# Last updated: <2017/03/16 14:03:26 +0900> | |
# | |
# Ruby + gosu + opengl の動作確認 | |
# gosu-examples の opengl_integration.rb を弄ってOpenGL絡みの部分だけを列挙 | |
# | |
# OpenGL 2.0風。GLSLでシェーダを書いて描画するテスト | |
# phongシェーディング + テクスチャマッピング | |
# tinywavefrontobj.rb で出力した json を読んで描画してみる |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ruby -Ku | |
# -*- mode: ruby; coding: utf-8 -*- | |
# Last updated: <2017/03/12 16:50:28 +0900> | |
# | |
# Ruby + gosu + opengl の動作確認 | |
# gosu-examples の opengl_integration.rb を弄ってOpenGL絡みの部分だけを列挙 | |
# | |
# OpenGL 2.0風、GLSLでシェーダを書いて三角形を描画するテスト | |
# | |
# 算譜記録帳: OpenGLでの頂点データの扱いの変化 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ruby -Ku | |
# -*- mode: ruby; coding: utf-8 -*- | |
# Last updated: <2017/03/12 10:27:17 +0900> | |
# | |
# Ruby + gosu + opengl の動作確認 | |
# gosu-examples の opengl_integration.rb を弄ってOpenGL絡みの部分だけを列挙 | |
# | |
# OpenGL 1.5風、VBOを使って書いてみるテスト | |
# | |
# 算譜記録帳: OpenGLでの頂点データの扱いの変化 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ruby -Ku | |
# -*- mode: ruby; coding: utf-8 -*- | |
# Last updated: <2017/03/12 10:33:26 +0900> | |
# | |
# Ruby + gosu + opengl の動作確認 | |
# gosu-examples の opengl_integration.rb を弄ってOpenGL絡みの部分だけを列挙 | |
# | |
# OpenGL 1.1風、頂点配列を使って書いてみるテスト | |
# | |
# 算譜記録帳: OpenGLでの頂点データの扱いの変化 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ruby -Ku | |
# -*- mode: ruby; coding: utf-8 -*- | |
# Last updated: <2017/03/10 19:51:07 +0900> | |
# | |
# gosu + opengl の動作確認 | |
# gosu-examplesの opengl_integration.rb を弄って OpenGL絡みの部分だけを列挙 | |
# wavefront(.obj)を読み込んで描画 | |
# Draw a model of wavefront (.obj) format using gosu + opengl | |
# | |
# gosu-examples |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ruby -Ku | |
# -*- mode: ruby; coding: utf-8 -*- | |
# Last updated: <2017/03/10 14:53:55 +0900> | |
# | |
# wavefront(.obj) read and parse | |
# | |
# use : Ruby 2.2.6 p396 mingw32 | |
# License : CC0 / Public Domain | |
require "pp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python | |
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*- | |
# Last updated: <2016/12/07 20:37:05 +0900> | |
u""" | |
PySideを使って、CGツール用を前提としたRubberBandを実装. | |
蟻の行進(Marching ant)を表示、 | |
かつ、境界線のドラッグでリサイズできる仕様を入れてみた。 | |
動作確認環境 : Windows10 x64 + Python 2.7.12 + PySide 1.2.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python | |
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*- | |
# Last updated: <2016/11/18 07:05:41 +0900> | |
u""" | |
PySide, QToolBar test. | |
ツールバーを作ってみるテスト。 | |
Windows10 x64 + Python 2.7.12 + PySide 1.2.4 で動作確認。 | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python | |
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*- | |
# Last updated: <2016/11/14 22:41:03 +0900> | |
u""" | |
消しゴムツールのテスト. | |
QPixmapに対して働く消しゴムツールを作れそうか実験。 | |
Author : mieki256 | |
License : CC0 / Public Domain. |
