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/17 18:33:36 +0900> | |
# | |
# DXRuby 1.5.21dev以降で追加された CustomRenderTarget の動作確認 | |
# 公式サンプル spheretest.rb を改造 | |
require 'dxruby' | |
require 'json' | |
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
#!ruby -Ku | |
# -*- mode: ruby; coding: utf-8 -*- | |
# Last updated: <2017/03/17 21:26:25 +0900> | |
# | |
# DXRuby 1.5.21dev以降で追加された CustomRenderTarget の動作確認 | |
# 公式サンプル spheretest.rb を改造 | |
# テクスチャ描画もしてみる | |
# uv指定されてない3Dモデルデータには非対応 | |
require 'dxruby' |
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/18 21:20:19 +0900> | |
# | |
# DXRuby 1.5.21dev以降で追加された CustomRenderTarget の動作確認 | |
# 公式サンプル spheretest.rb を改造 | |
# テクスチャ描画もしてみる | |
# uv指定されてない3Dモデルデータには非対応 | |
# tinywavefrontobj.rb を使って Wavefront形式(.obj) を直接読んで使ってみる | |
# |
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/04/02 16:12:04 +0900> | |
# | |
# DXRuby 1.5.21dev以降で追加された CustomRenderTarget の動作確認 | |
# 公式サンプル spheretest.rb を改造 | |
# | |
# tinydaeparser.rb や tinywavefrontobj.rb を使って | |
# COLLADA形式(.dae) や Wavefront形式(.obj .mtl)を直接読んで使ってみる | |
# |
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/04/18 15:50:22 +0900> | |
# | |
# tinypixelartgen_take4.rb | |
# | |
# generate pixelart take4 | |
# | |
# usage: ruby tinypixelartgrad.rb | |
# |
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
#!/usr/bin/env python | |
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*- | |
# Last updated: <2017/04/21 18:35:47 +0900> | |
u""" | |
Python-Fu cairo draw example | |
usage: Filter -> Python-Fu -> Cairo draw example | |
Author : mieki256 |
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: <2017/04/27 09:46:11 +0900> | |
u""" | |
tinypixelargrad.py - generate tiny pixelart. | |
Drawing with cairo(pycairo). | |
testing environment : |
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
#!/usr/bin/env python | |
# -*- mode: python; Encoding: utf-8; coding: utf-8 -*- | |
# Last updated: <2017/04/28 16:43:08 +0900> | |
u""" | |
Python-Fu : Generate tiny pixelart. | |
usage: Filter -> Render -> Tiny Pixelart | |
Author : mieki256 |
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
-- title: stg sample 5 | |
-- author: mieki256 | |
-- desc: short description | |
-- script: lua | |
scrw,scrh=240,136 | |
-- -------------------- | |
-- Player class |