<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hi-farm blog &#187; 未分類</title>
	<atom:link href="http://blog.hi-farm.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hi-farm.net</link>
	<description>ActionScript 3.0 , AIR , FLEXからCocoa, OpenGL</description>
	<lastBuildDate>Sat, 07 Jan 2012 14:26:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OpenNIのUnityWrapper</title>
		<link>http://blog.hi-farm.net/2011/12/24/openni%e3%81%aeunitywrapper/</link>
		<comments>http://blog.hi-farm.net/2011/12/24/openni%e3%81%aeunitywrapper/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 13:15:23 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[OpenNI]]></category>
		<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=564</guid>
		<description><![CDATA[
			
				
			
		
このエントリはOpenNI Advent Calendar 2011 : ATNDの12月24日分です!!

さてクリスマスイブですが、
少し前からOpenNIにはUnityWrappe [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F12%2F24%2Fopenni%25e3%2581%25aeunitywrapper%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F12%2F24%2Fopenni%25e3%2581%25aeunitywrapper%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>このエントリは<a href="http://atnd.org/events/22725" target="_blank">OpenNI Advent Calendar 2011</a> : ATNDの12月24日分です!!</p>
<hr />
さてクリスマスイブですが、<br />
少し前からOpenNIにはUnityWrapper版が存在していますのでそれについて紹介します。</p>
<p><img src="http://blog.hi-farm.net/wp-content/uploads/2011/12/unity_screenshot-300x205.png" alt="unity_screenshot" title="unity_screenshot" width="300" height="205" class="aligncenter size-medium wp-image-566" /></p>
<p>最近話題になっている、ゲームの開発環境のUnity3Dというものがあり、OpenNIのサイトからUnity3Dで使うためのUnityWrapperをダウンロードできます。</p>
<p><img src="http://blog.hi-farm.net/wp-content/uploads/2011/12/opennidownload.png" alt="opennidownload" title="opennidownload" width="362" height="271" class="aligncenter size-full wp-image-567" /></p>
<hr />
<h2>Unity3Dについて：</h2>
<p>Unity3D ( <a href="http://unity3d.com/unity/" target="_blank">http://unity3d.com/unity/</a> ) とはゲーム開発ツールであり、WindowsとMacのどちらでも開発する事が可能です。<br />
IDEがあるのでステージの画面を見ながら次々とオブジェクトを配置するだけでゲームの世界を簡単に作る事ができます。<br />
プログラムはJavascriptとC#（mono）で書く事ができるのでweb開発者や.NETの開発者にも取っ付きやすいのではないでしょうか。<br />
MacでもC#で記述する事ができます。</p>
<p>また、一人でグラフィックやサウンドやモデリング、プログラムを行うのは大変ですが、Unity3DではAsset Storeというものが用意されており、これを利用する事で必要な素材を入手する事ができるので気軽にゲーム開発を進める事ができます。</p>
<h3>Unity3Dの無料版、有料版、ライセンスについて</h3>
<p>無料版と有料版があり、無料版では制限はいくつかありますが、WindowsとMacで実行できますし、有料版にアップグレードする事でAndroidやiOSに対応させる事も可能です。<br />
詳しいライセンスなどはUnity3Dのサイト( <a href="http://unity3d.com/unity/licenses" target="_blank">http://unity3d.com/unity/licenses</a> )か、「強火で進め」さまのサイトが詳しいです。（ <a href="http://d.hatena.ne.jp/nakamura001/20110710/1310292561" target="_blank">http://d.hatena.ne.jp/nakamura001/20110710/1310292561</a> ）</p>
<hr />
<h3>Unityのダウンロードからインストール</h3>
<p>それでは、Unityをダウンロードしましょう。<br />
 <a href="http://unity3d.com/unity/download/" target="_blank">http://unity3d.com/unity/download/</a>より、Unityをダウンロードし、流れに沿ってインストールしてください。<br />
インストール後、先ほどOpenNIのサイトからダウンロードしたファイル（Unity OpenNI toolkit 0.9.7.1.unitypackage ）をダブルクリックしImport Packageより一式をunityにインポートします。<br />
importが完了すると、Projectタブにこのようなファイル群が表示されます。<br />
<img src="http://blog.hi-farm.net/wp-content/uploads/2011/12/unity_project.png" alt="unity_project" title="unity_project" width="141" height="124" class="aligncenter size-full wp-image-576" /></p>
<p>OpenNI/Sample Scenes以下にすぐに試せるようなサンプルシーンが入っていますのでダブルクリックしてシーンを開き、三角の再生ボタンを押して次々と試してみるとUnity3D+OpenNIの可能性を試せると思います。<br />
<a rel="lightbox" href="http://blog.hi-farm.net/wp-content/uploads/2011/12/Unity_IDE.png"><img src="http://blog.hi-farm.net/wp-content/uploads/2011/12/Unity_IDE-300x190.png" alt="Unity_IDE" title="Unity_IDE" width="300" height="190" class="aligncenter size-medium wp-image-581" /></a></p>
<p>私はライブなどで使ったりしていますが、骨格をちゃんと映していれば問題なく現場でも使えます。今のUnityWrapperだと全身映す前提のコードになっているので、上半身だけ認識などに変更する事でより柔軟なアプリケーションが開発できます。</p>
<p>ではそれぞれのサンプルのキャプチャやサンプル動画をのせておきます。</p>
<hr />
<h3>サンプルのシーンについて</h3>
<dl>
<dt>MultipleSkeletons：</dt>
<dd>僕は一人なので試せませんでしたが、複数人のスケルトンを認識できるサンプルだと思います。<br />
<a rel="lightbox" href="http://blog.hi-farm.net/wp-content/uploads/2011/12/MutipleSkeletons.png"><img src="http://blog.hi-farm.net/wp-content/uploads/2011/12/MutipleSkeletons-300x192.png" alt="MutipleSkeletons" title="MutipleSkeletons" width="300" height="192" class="aligncenter size-medium wp-image-568" /></a>
</dd>
</dl>
<dl>
<dt>NIGUIControl：</dt>
<dd>
<a rel="lightbox" href="http://blog.hi-farm.net/wp-content/uploads/2011/12/NIGUIControl.png"><img src="http://blog.hi-farm.net/wp-content/uploads/2011/12/NIGUIControl-300x190.png" alt="NIGUIControl" title="NIGUIControl" width="300" height="190" class="aligncenter size-medium wp-image-569" /></a>
</dd>
</dl>
<dl>
<dt>NIInputControl:</dt>
<dd>すごく地味なのですが、手を動かすと黒い四角が追従します。XBoxでもあるような、手で操作するゲームはこれを使うと作れそうですね。</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/K-CYkHA5Tcc" frameborder="0" allowfullscreen></iframe>
</dd>
</dl>
<dl>
<dt>SimpleGame:</dt>
<dd>
上からふってくるボールにタッチするゲームです。実際に動いたりジャンプするとそれにあわせて画面も動きます。一番運動している感じになりそうですね。</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/U1976PIagRY" frameborder="0" allowfullscreen></iframe>
</dd>
</dl>
<dl>
<dt>SingleSkeleton:</dt>
<dd>
スケルトンの情報をもとに画面のキャラクターが動きます。</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/gmJlFLVKjls" frameborder="0" allowfullscreen></iframe>
</dd>
<p>せっかくなのでスケルトンをサンタにかえてみましたよ。サンタ気分で小さく踊ってみました。<br />
あ、サンタのデータはAsset Storeで購入可能ですよ！</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/JUE-8fyGju0" frameborder="0" allowfullscreen></iframe></p>
<p>※この記事は、下記の環境で確認しました。</p>
<table>
<tr>
<td>OpenNI</td>
<td>1.5.2.7</td>
</tr>
<tr>
<td>NITE</td>
<td>1.5.2.7</td>
</tr>
<tr>
<td>Unity3D</td>
<td>3.4.2f3</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2011/12/24/openni%e3%81%aeunitywrapper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenNIをOpenframeworksで使う</title>
		<link>http://blog.hi-farm.net/2011/12/24/openni%e3%82%92openframeworks%e3%81%a7%e4%bd%bf%e3%81%86/</link>
		<comments>http://blog.hi-farm.net/2011/12/24/openni%e3%82%92openframeworks%e3%81%a7%e4%bd%bf%e3%81%86/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 23:17:38 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=537</guid>
		<description><![CDATA[
			
				
			
		
このエントリはOpenNI Advent Calendar 2011 : ATNDの12月23日分です!!

OpenframeworksでOpenNIの連携について書きます。
Open [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F12%2F24%2Fopenni%25e3%2582%2592openframeworks%25e3%2581%25a7%25e4%25bd%25bf%25e3%2581%2586%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F12%2F24%2Fopenni%25e3%2582%2592openframeworks%25e3%2581%25a7%25e4%25bd%25bf%25e3%2581%2586%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>このエントリは<a href="http://atnd.org/events/22725" target="_blank">OpenNI Advent Calendar 2011</a> : ATNDの12月23日分です!!</p>
<p><img src="http://openframeworks.cc/images/ofw-logo.png"/></p>
<p>OpenframeworksでOpenNIの連携について書きます。</p>
<p>Openframeworks ( <a href="http://www.openframeworks.cc/" target="_blank">http://www.openframeworks.cc/</a> )（以下、oF）とは、メディアアート界隈で使われている描画や動画の扱いやプログラムの書き方がprocessingっぽく作られている、クロスプラットフォームで動作するC++のフレームワークです。<br />
oFはたくさんの有志により様々なアドオンが配布されており、それを使うとソケットやOSC、OpenCVなどの機能を簡単に使う事ができます。</p>
<h2>oFで使えるアドオン</h2>
<p>oFで使えるKinect関連のアドオンがいくつか、下記のものがあります。<br />
・ofxKinect： ( <a href="https://github.com/ofTheo/ofxKinect" target="_blank">https://github.com/ofTheo/ofxKinect</a> )<br />
→深度情報とRGBが取得できます。スケルトンの取得機能はありません。<br />
・ofxOpenNI：( <a href="https://github.com/gameoverhack/ofxOpenNI" target="_blank">https://github.com/gameoverhack/ofxOpenNI</a> )<br />
→OpenNIをoFで使えるように作ったもの。</p>
<p>ただ、OpenNI自体バージョンアップが早い事もあるので今回は普通のOpenNIをoFで使う方法を紹介します。</p>
<h2>oFを使えるようにする</h2>
<p>oFのWebサイトから必要なファイルをダウンロードします。私の場合はMacなのでosxバージョンをダウンロードします。<br />
<a href="http://www.openframeworks.cc/download/" target="_blank">http://www.openframeworks.cc/download/</a></p>
<p>ダウンロードしたファイルを解凍すると下記のフォルダ構成になっています。</p>
<ul>
<li>add ons / oFのアドオンが格納されています。</li>
<li>apps / サンプルプログラムがたくさん入っています。実際にoFでアプリを開発する場合はこの中のexamples/EmptyExampleをベースにします。</li>
<li>libs / oF自体のライブラリやoFが使っているライブラリが格納されています。</li>
</ul>
<p><a rel="lightbox" href="http://blog.hi-farm.net/wp-content/uploads/2011/12/of_directory.png"><img src="http://blog.hi-farm.net/wp-content/uploads/2011/12/of_directory-155x300.png" alt="of_directory" title="of_directory" width="155" height="300" class="aligncenter size-medium wp-image-549" /></a></p>
<p>では、oFの基本を理解するために EmptyExampleをみてみます。</p>
<p>testApp.cppをみてみましょう。<br />
はじめに定義されているメソッドの実装を進めて開発を進めます。</p>
<dl style="background-color: #ccc;">
<dt>setup() ：</dt>
<dd>アプリケーションの起動時あるいはnewした直後に呼ばれる関数です。初期化などはここで行います。</dd>
<dt>update()：</dt>
<dd>毎フレーム毎draw()の前に呼ばれます。ここでデータや座標計算の更新をすると良いでしょう。</dd>
<dt>draw()：</dt>
<dd>毎フレーム毎、update()の後に呼ばれます。ここには描画処理をかきます。</dd>
</dl>
<p>基本的にはこれらを使うのですが、マウスやキーボードのユーザー入力にも対応しています。</p>
<dl>
<dt>keyPressed, keyReleased：</dt>
<dd>キーボードを押したとき、離したときに呼ばれます。</dd>
<dt>mouseMoved, mouseDragged, mousePressed, mouseReleased：</dt>
<dd>マウスの移動、ドラッグ、マウスダウン、マウスを離した時に呼ばれます。</dd>
</dl>
<h2>OpenNIの設定：</h2>
<h3>準備</h3>
<p>今回はとにかく簡単に使えるようになる事を考えて説明します。<br />
まず、OpenNIのIncludeとLibフォルダをプロジェクト直下に”OpenNI”というフォルダを作成し、そこに移動します。</p>
<p>次にプロジェクトにヘッダー参照パスとライブラリパスの設定をします。<br />
プロジェクト設定の “Build Settings” → “Search Paths”の</p>
<p style="background-color: #ddd;">
Header Search Pathsに以下を設定します。<br />
&#8220;$(SRCROOT)/../OpenNI/Include<br />
Library Search Pathsに以下を設定します。<br />
&#8220;$(SRCROOT)/../OpenNI/Lib
</p>
<p>※設定後、自動的に別の項目に変更される場合がありますが、ビルドが通れば問題はありません。<br />
私の環境では、<br />
HEADER_SEARCH_PATHS_QUOTED_FOR_TARGET_1<br />
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1<br />
の項目が追加されていました。</p>
<p>さて、それではOpenNIのコードを書いてみましょう。NiSimpleViewerをパク、、いやもとにして、深度情報を表示させてみましょう。<br />
表示にはoFTextureクラスを使い、テクスチャとして表示させます。</p>
<p>今回は簡単に移植するため、NiSimpleViewerからコピペする事にします。<br />
まず、</p>
<h4>testApp.h</h4>
<p>testApp.hに下記を追加します。</p>
<pre class="brush: cpp; title: ; notranslate">
#include &lt;XnCppWrapper.h&gt;
using namespace xn;
</pre>
<pre class="brush: cpp; title: ; notranslate">
//---------------------------------------------------------------------------
// Defines
//---------------------------------------------------------------------------
#define SAMPLE_XML_PATH &quot;../../../data/SamplesConfig.xml&quot;

#define DISPLAY_MODE_DEPTH		2
#define DEFAULT_DISPLAY_MODE	DISPLAY_MODE_DEPTH

#define MAX_DEPTH 10000
</pre>
<p>SamplesConfig.xmlはbin/data/以下に設置したため、<br />
SAMPLE_XML_PATHを変更しています。</p>
<p>&#8212;&#8212;-</p>
<h4>testApp.cpp</h4>
<p>testApp.cppに”Globals”の内容をもとに移植します。</p>
<pre class="brush: cpp; title: ; notranslate">
//---------------------------------------------------------------------------
// Globals
//---------------------------------------------------------------------------
float g_pDepthHist[MAX_DEPTH];
XnRGB24Pixel* g_pTexMap = NULL;
unsigned int g_nTexMapX = 0;
unsigned int g_nTexMapY = 0;

unsigned int g_nViewState = DEFAULT_DISPLAY_MODE;

Context g_context;
ScriptNode g_scriptNode;
DepthGenerator g_depth;
DepthMetaData g_depthMD;
</pre>
<p>&#8212;&#8212;&#8211;<br />
NiSimpleViewerのmain関数が初期化に関する内容なので、setupに移植します。</p>
<pre class="brush: cpp; title: ; notranslate">
	XnStatus rc;

	EnumerationErrors errors;
	rc = g_context.InitFromXmlFile(SAMPLE_XML_PATH, g_scriptNode, &amp;errors);
	if (rc == XN_STATUS_NO_NODE_PRESENT)
	{
		XnChar strError[1024];
		errors.ToString(strError, 1024);
		printf(&quot;%s\n&quot;, strError);
		return ;
	}
	else if (rc != XN_STATUS_OK)
	{
		printf(&quot;Open failed: %s\n&quot;, xnGetStatusString(rc));
		return;
	}

	rc = g_context.FindExistingNode(XN_NODE_TYPE_DEPTH, g_depth);
	if (rc != XN_STATUS_OK)
	{
		printf(&quot;No depth node exists! Check your XML.&quot;);
		return;
	}

	g_depth.GetMetaData(g_depthMD);

	// Texture map init
	g_nTexMapX = (((unsigned short)(g_depthMD.FullXRes()-1) / 512) + 1) * 512;
	g_nTexMapY = (((unsigned short)(g_depthMD.FullYRes()-1) / 512) + 1) * 512;
	g_pTexMap = (XnRGB24Pixel*)malloc(g_nTexMapX * g_nTexMapY * sizeof(XnRGB24Pixel));
</pre>
<p>&#8212;&#8212;-<br />
setup関数の最後にofTextureクラスとofTextureで表示させるためのunsigned char*のデータをを初期化します。</p>
<pre class="brush: cpp; title: ; notranslate">
	pixels = (unsigned char*)malloc(640*480*3*sizeof(unsigned char));
	tex.allocate(640, 480, GL_RGB);
</pre>
<p>&#8212;&#8212;-<br />
OpenNIでのデータを更新する処理をupdateに移植します。</p>
<pre class="brush: cpp; title: ; notranslate">
	XnStatus rc = XN_STATUS_OK;

	// Read a new frame
	rc = g_context.WaitAnyUpdateAll();
	if (rc != XN_STATUS_OK)
	{
		printf(&quot;Read failed: %s\n&quot;, xnGetStatusString(rc));
		return;
	}

	g_depth.GetMetaData(g_depthMD);
	//g_image.GetMetaData(g_imageMD);

	const XnDepthPixel* pDepth = g_depthMD.Data();

	// Calculate the accumulative histogram (the yellow display...)
	xnOSMemSet(g_pDepthHist, 0, MAX_DEPTH*sizeof(float));

	unsigned int nNumberOfPoints = 0;
	for (XnUInt y = 0; y &lt; g_depthMD.YRes(); ++y)
	{
		for (XnUInt x = 0; x &lt; g_depthMD.XRes(); ++x, ++pDepth)
		{
			if (*pDepth != 0)
			{
				g_pDepthHist[*pDepth]++;
				nNumberOfPoints++;
			}
		}
	}
	for (int nIndex=1; nIndex&lt;MAX_DEPTH; nIndex++)
	{
		g_pDepthHist[nIndex] += g_pDepthHist[nIndex-1];
	}
	if (nNumberOfPoints)
	{
		for (int nIndex=1; nIndex&lt;MAX_DEPTH; nIndex++)
		{
			g_pDepthHist[nIndex] = (unsigned int)(256 * (1.0f - (g_pDepthHist[nIndex] / nNumberOfPoints)));
		}
	}

	xnOSMemSet(g_pTexMap, 0, g_nTexMapX*g_nTexMapY*sizeof(XnRGB24Pixel));

	// check if we need to draw depth frame to texture
	const XnDepthPixel* pDepthRow = g_depthMD.Data();
	XnRGB24Pixel* pTexRow = g_pTexMap + g_depthMD.YOffset() * g_nTexMapX;

	for (XnUInt y = 0; y &lt; g_depthMD.YRes(); ++y)
	{
		const XnDepthPixel* pDepth = pDepthRow;
		XnRGB24Pixel* pTex = pTexRow + g_depthMD.XOffset();

		for (XnUInt x = 0; x &lt; g_depthMD.XRes(); ++x, ++pDepth, ++pTex)
		{
			int idx = (x + y * g_depthMD.XRes()) * 3;
			if (*pDepth != 0)
			{
				int nHistValue = g_pDepthHist[*pDepth];

				pixels[idx] = nHistValue;
				pixels[idx+1] = nHistValue;
				pixels[idx+2] = nHistValue;
			}
			else
			{
				pixels[idx] = 0;
				pixels[idx+1] = 0;
				pixels[idx+2] = 0;
			}
		}

		pDepthRow += g_depthMD.XRes();
		pTexRow += g_nTexMapX;
	}

	tex.loadData(pixels, 640, 480, GL_RGB);
</pre>
<p>ofTextureのloadDataメソッドを使い、深度データをテクスチャとして読み込ませます。<br />
&#8212;&#8212;<br />
最後にdrawメソッドにofTexetureのdrawを使って実際に描画します。</p>
<p>引数は、x座標、y座標、幅、高さを示しています。<br />
&#8212;&#8211;</p>
<p>これでビルドすると表示できるようになります。<br />
たくさんの警告はありますが、ライブラリ内部的なものもあるので無視する事にします。</p>
<p><img src="http://blog.hi-farm.net/wp-content/uploads/2011/12/advant_of-300x229.png" alt="advant_of" title="advant_of" width="300" height="229" class="aligncenter size-medium wp-image-538" /></p>
<p>ファイル一式をこちらにアップしましたのでダウンロードして試してみてください。<br />
<a href="https://github.com/mmlemon/OpenNI_Advent_oFSample" target="_blank">https://github.com/mmlemon/OpenNI_Advent_oFSample</a></p>
<p>※OpenNIは1.4.0.2、oFは007で記述しています。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2011/12/24/openni%e3%82%92openframeworks%e3%81%a7%e4%bd%bf%e3%81%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[iOS] 間違ったバージョンのdylibを追加してはまる</title>
		<link>http://blog.hi-farm.net/2011/11/15/ios-%e9%96%93%e9%81%95%e3%81%a3%e3%81%9f%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%81%aedylib%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%af%e3%81%be%e3%82%8b/</link>
		<comments>http://blog.hi-farm.net/2011/11/15/ios-%e9%96%93%e9%81%95%e3%81%a3%e3%81%9f%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%81%aedylib%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%af%e3%81%be%e3%82%8b/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 19:29:49 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[Cocoa(Objective-C)]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[未分類]]></category>
		<category><![CDATA[adlantis]]></category>
		<category><![CDATA[libz.dylib]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=502</guid>
		<description><![CDATA[
			
				
			
		
iOSアプリの開発で、adlantisの広告を入れて試すにはlibz.dylibが必要なのですが、プロジェクトにファイルを追加するのを横着して、間違ってsdk4.3のものを追加してしまっ [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F11%2F15%2Fios-%25e9%2596%2593%25e9%2581%2595%25e3%2581%25a3%25e3%2581%259f%25e3%2583%2590%25e3%2583%25bc%25e3%2582%25b8%25e3%2583%25a7%25e3%2583%25b3%25e3%2581%25aedylib%25e3%2582%2592%25e8%25bf%25bd%25e5%258a%25a0%25e3%2581%2597%25e3%2581%25a6%25e3%2581%25af%25e3%2581%25be%25e3%2582%258b%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F11%2F15%2Fios-%25e9%2596%2593%25e9%2581%2595%25e3%2581%25a3%25e3%2581%259f%25e3%2583%2590%25e3%2583%25bc%25e3%2582%25b8%25e3%2583%25a7%25e3%2583%25b3%25e3%2581%25aedylib%25e3%2582%2592%25e8%25bf%25bd%25e5%258a%25a0%25e3%2581%2597%25e3%2581%25a6%25e3%2581%25af%25e3%2581%25be%25e3%2582%258b%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>iOSアプリの開発で、adlantisの広告を入れて試すにはlibz.dylibが必要なのですが、プロジェクトにファイルを追加するのを横着して、間違ってsdk4.3のものを追加してしまった後、ビルドするとわけのわからないエラーが出て、どれだけ戻してもエラーが解消されなかったのですが、下記の画像のように Library Search Pathsに赤枠の&#8221;DeviceSupport/4.3.5&#8243;が追加されていることが原因でした。</p>
<p>これが現行のsdkと衝突して問題を起こしていたのかな？</p>
<p><img src="http://blog.hi-farm.net/wp-content/uploads/2011/11/library_searchpath.png" alt="library_searchpath" title="library_searchpath" width="513" height="297" class="aligncenter size-full wp-image-501" /></p>
<p>この赤枠の参照を外すと無事動作するようになりました。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2011/11/15/ios-%e9%96%93%e9%81%95%e3%81%a3%e3%81%9f%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%81%aedylib%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%81%af%e3%81%be%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3アニメーションをjavascriptで起動する</title>
		<link>http://blog.hi-farm.net/2011/09/05/css3%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92javascript%e3%81%a7%e8%b5%b7%e5%8b%95%e3%81%99%e3%82%8b/</link>
		<comments>http://blog.hi-farm.net/2011/09/05/css3%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92javascript%e3%81%a7%e8%b5%b7%e5%8b%95%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 16:27:11 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=466</guid>
		<description><![CDATA[
			
				
			
		
時間が空いてしまいました。
さて、今回はCSS3アニメーションをjavascriptで設定、制御する例を残しておきます。
CSS3アニメーションはSafari（Windowsは未検証）、 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F09%2F05%2Fcss3%25e3%2582%25a2%25e3%2583%258b%25e3%2583%25a1%25e3%2583%25bc%25e3%2582%25b7%25e3%2583%25a7%25e3%2583%25b3%25e3%2582%2592javascript%25e3%2581%25a7%25e8%25b5%25b7%25e5%258b%2595%25e3%2581%2599%25e3%2582%258b%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F09%2F05%2Fcss3%25e3%2582%25a2%25e3%2583%258b%25e3%2583%25a1%25e3%2583%25bc%25e3%2582%25b7%25e3%2583%25a7%25e3%2583%25b3%25e3%2582%2592javascript%25e3%2581%25a7%25e8%25b5%25b7%25e5%258b%2595%25e3%2581%2599%25e3%2582%258b%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>時間が空いてしまいました。</p>
<p>さて、今回はCSS3アニメーションをjavascriptで設定、制御する例を残しておきます。<br />
CSS3アニメーションはSafari（Windowsは未検証）、Mobile SafariではプロパティによってはGPUで動作するため、通常のアニメーションと比較すると非常に滑らかに動作します。</p>
<p>例えば矩形を動かしてみましょう。</p>
<p><script type="text/javascript" src="http://jsdo.it/blogparts/MzrN/js?view=design"></script>
<p class="ttlBpJsdoit" style="width: 465px; margin: 0; text-align: right; font-size: 11px;"><a href="http://jsdo.it/mmlemon/MzrN" title="css3アニメーションサンプル（webkit用）">css3アニメーションサンプル（webkit用） &#8211; jsdo.it &#8211; share JavaScript, HTML5 and CSS</a></p>
<p>idがrectであるdivをアニメーションさせています。</p>
<pre class="brush: css; title: ; notranslate">
@-webkit-keyframes rectanimation
{
    0%{
	-webkit-transform: translate(0px, 0px) scale(0.5);
    }
    30%{
	-webkit-transform: translate(300px, 200px) scale(2);
    }
    100%{
	-webkit-transform: translate(300px, 100px) scale(1.0);
    }
}

#rect
{
    background-color: #f00;
    width: 100px;
    height: 100px;

    -webkit-animation-name: rectanimation;
    -webkit-animation-duration: 1400ms;
    -webkit-animation-iteration-count: 100;
    -webkit-animation-timing-funciton: ease-in-out;
}
</pre>
<p>では、これと同じコードをjsで書いてみましょう。せっかくなので、onclickでアニメーションを起動させてみましょう。<br />
基本的には通常のcss->jsのルールと同様です。</p>
<p><script type="text/javascript" src="http://jsdo.it/blogparts/nRwX/js?view=design"></script>
<p class="ttlBpJsdoit" style="width: 465px; margin: 0; text-align: right; font-size: 11px;"><a href="http://jsdo.it/mmlemon/nRwX" title="CSS3アニメーション（javascriptで制御）">CSS3アニメーション（javascriptで制御） &#8211; jsdo.it &#8211; share JavaScript, HTML5 and CSS</a></p>
<pre class="brush: jscript; title: ; notranslate">
var tar = document.getElementById(&quot;rect&quot;);
    tar.style.webkitAnimationName = kfname;
    tar.style.webkitAnimationDuration = &quot;1400ms&quot;;
    tar.style.webkitAnimationIterationCount = 100;
    tar.style.webkitAnimationTimingFunction = &quot;ease-in-out&quot;;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2011/09/05/css3%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92javascript%e3%81%a7%e8%b5%b7%e5%8b%95%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>再びフリーランスになりました。</title>
		<link>http://blog.hi-farm.net/2011/07/01/%e5%86%8d%e3%81%b3%e3%83%95%e3%83%aa%e3%83%bc%e3%83%a9%e3%83%b3%e3%82%b9%e3%81%ab%e3%81%aa%e3%82%8a%e3%81%be%e3%81%97%e3%81%9f%e3%80%82/</link>
		<comments>http://blog.hi-farm.net/2011/07/01/%e5%86%8d%e3%81%b3%e3%83%95%e3%83%aa%e3%83%bc%e3%83%a9%e3%83%b3%e3%82%b9%e3%81%ab%e3%81%aa%e3%82%8a%e3%81%be%e3%81%97%e3%81%9f%e3%80%82/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 16:01:58 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[報告]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=425</guid>
		<description><![CDATA[
			
				
			
		
タイトルの通りなんですが、会社を退職し、再びフリーランスとして活動することになりましたのでご報告致します。
先日までおよそ3年半、会社員としてつとめさせていただき、そのときはまだまだ力不 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F07%2F01%2F%25e5%2586%258d%25e3%2581%25b3%25e3%2583%2595%25e3%2583%25aa%25e3%2583%25bc%25e3%2583%25a9%25e3%2583%25b3%25e3%2582%25b9%25e3%2581%25ab%25e3%2581%25aa%25e3%2582%258a%25e3%2581%25be%25e3%2581%2597%25e3%2581%259f%25e3%2580%2582%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F07%2F01%2F%25e5%2586%258d%25e3%2581%25b3%25e3%2583%2595%25e3%2583%25aa%25e3%2583%25bc%25e3%2583%25a9%25e3%2583%25b3%25e3%2582%25b9%25e3%2581%25ab%25e3%2581%25aa%25e3%2582%258a%25e3%2581%25be%25e3%2581%2597%25e3%2581%259f%25e3%2580%2582%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>タイトルの通りなんですが、会社を退職し、再びフリーランスとして活動することになりましたのでご報告致します。</p>
<p>先日までおよそ3年半、会社員としてつとめさせていただき、そのときはまだまだ力不足で御迷惑をかける事もありましたし、自分なりに悩んだり苦労したりという事もありました。<br />
ただ、結果的には控えめというか、「おれはすごい」なんて思える性格ではない僕でも少しは成長もできたのではないかと思っています。<br />
また、仕事の面では今まで想像もつかなかったような面白い仕事を沢山経験させていただきました。</p>
<p>おかげさまで今までだったらただビックリするだけの様な新しいものをみて憧れだけじゃなく実装方法や技術の活かし方まで意識できるようになりました。<br />
また、性格を理解していただいて仕事しやすいように進めていただいた皆様にも感謝しております。</p>
<p>今後は人が触りたくなる、体験したくなるようなアプリって何だろう？という事を考えつつ作って行ければと考えています。</p>
<p>皆様今後ともよろしくお願いします。</p>
<p>※お仕事絶賛募集中です！よろしくお願いします１</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2011/07/01/%e5%86%8d%e3%81%b3%e3%83%95%e3%83%aa%e3%83%bc%e3%83%a9%e3%83%b3%e3%82%b9%e3%81%ab%e3%81%aa%e3%82%8a%e3%81%be%e3%81%97%e3%81%9f%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[OpenGL] 画像をテクスチャで使う</title>
		<link>http://blog.hi-farm.net/2011/05/17/opengl-%e7%94%bb%e5%83%8f%e3%82%92%e3%83%86%e3%82%af%e3%82%b9%e3%83%81%e3%83%a3%e3%81%a7%e4%bd%bf%e3%81%86/</link>
		<comments>http://blog.hi-farm.net/2011/05/17/opengl-%e7%94%bb%e5%83%8f%e3%82%92%e3%83%86%e3%82%af%e3%82%b9%e3%83%81%e3%83%a3%e3%81%a7%e4%bd%bf%e3%81%86/#comments</comments>
		<pubDate>Mon, 16 May 2011 23:25:48 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[Texture]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=397</guid>
		<description><![CDATA[
			
				
			
		
OpenGLでは画像をテクスチャとしてマッピングする事が多々あるとは思うのですが、やり方を残しておきます。
なお、これはC++のプロジェクトを使った場合で、Cocoaは使えない状況を想定しています。
画像の読み込み
画像の読み込みには、OpenCVを使いました。ただし、IplImageはRGBではなく、BGRの順番で色データを格納しているので注意が必要です。

 // IplImageとして画像をロード
 IplImage* image = cvLoadImage(&#34;/events/mo1.png&#34;);

    int w = image-&#62;width;
    int h = image-&#62;height;
    int channels = image-&#62;nChannels;

    GLubyte* imageData = (GLubyte*)malloc(w*h*channels);

    for(int i = 0; i &#60; w*h*channels; i+=channels)
    {
      [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F05%2F17%2Fopengl-%25e7%2594%25bb%25e5%2583%258f%25e3%2582%2592%25e3%2583%2586%25e3%2582%25af%25e3%2582%25b9%25e3%2583%2581%25e3%2583%25a3%25e3%2581%25a7%25e4%25bd%25bf%25e3%2581%2586%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2011%2F05%2F17%2Fopengl-%25e7%2594%25bb%25e5%2583%258f%25e3%2582%2592%25e3%2583%2586%25e3%2582%25af%25e3%2582%25b9%25e3%2583%2581%25e3%2583%25a3%25e3%2581%25a7%25e4%25bd%25bf%25e3%2581%2586%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>OpenGLでは画像をテクスチャとしてマッピングする事が多々あるとは思うのですが、やり方を残しておきます。</p>
<p>なお、これはC++のプロジェクトを使った場合で、Cocoaは使えない状況を想定しています。</p>
<h3>画像の読み込み</h3>
<p>画像の読み込みには、OpenCVを使いました。ただし、IplImageはRGBではなく、BGRの順番で色データを格納しているので注意が必要です。</p>
<pre class="brush: cpp; title: ; notranslate">
 // IplImageとして画像をロード
 IplImage* image = cvLoadImage(&quot;/events/mo1.png&quot;);

    int w = image-&gt;width;
    int h = image-&gt;height;
    int channels = image-&gt;nChannels;

    GLubyte* imageData = (GLubyte*)malloc(w*h*channels);

    for(int i = 0; i &lt; w*h*channels; i+=channels)
    {
        imageData[i] = image-&gt;imageData[i+2];        // R
        imageData[i+1] = image-&gt;imageData[i+1];   // G
        imageData[i+2] = image-&gt;imageData[i];       //  B
        if(channels &gt; 3)
        {
            imageData[i+3] = image-&gt;imageData[i+3]; // Aが存在する場合
        }
    }
</pre>
<p>以上で画像データをOpenGLで使える形式に読み込む事ができました。<br />
次に、テキスチャとしてバインドします。</p>
<pre class="brush: cpp; title: ; notranslate">
 // テキスチャの生成
    glGenTextures(1, &amp;g_imageTex);
    // テキスチャと変数をバインド（関連付け）
    glBindTexture(GL_TEXTURE_2D, g_imageTex);
    // 各種フィルタの設定
    glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_TRUE);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);

    // 実際のテキスチャを設定
    glTexImage2D(GL_TEXTURE_2D, // テキスチャの種類。
                 0,             // level: 解像度が単一の場合は0
                 GL_RGB,       // どの成分が画像のテクセルに使用されているか
                 w, h,          // サイズ
                 0,             // border: 境界の幅
                 GL_RGB,       // 描画フォーマット
                 GL_UNSIGNED_BYTE, // データの型
                 imageData          // 実際のデータ
    );
 </pre>
<p>実際にテキスチャを表示させる処理。（display関数内部）</p>
<pre class="brush: cpp; title: ; notranslate">
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
    glEnable(GL_TEXTURE_2D);

    glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
    //glBindTexture(GL_TEXTURE_2D, texName);
    glBindTexture(GL_TEXTURE_2D, g_imageTex);

    glBegin(GL_QUADS);
    // OpenGLの座標とテキスチャの座標をマッピングする
    glTexCoord2f(0.0f, 0.0f); glVertex3f(-1.0f,  1.0f, 0.0f);
    glTexCoord2f(0.0f, 1.0f); glVertex3f(-1.0f, -1.0f, 0.0f);
    glTexCoord2f(1.0f, 1.0f); glVertex3f( 1.0f, -1.0f, 0.0f);
    glTexCoord2f(1.0f, 0.0f); glVertex3f( 1.0f,  1.0f, 0.0f);

    glEnd();

    glFlush();

    glDisable(GL_TEXTURE_2D);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2011/05/17/opengl-%e7%94%bb%e5%83%8f%e3%82%92%e3%83%86%e3%82%af%e3%82%b9%e3%83%81%e3%83%a3%e3%81%a7%e4%bd%bf%e3%81%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Word Pressの自動アップデート</title>
		<link>http://blog.hi-farm.net/2009/07/13/word-press%e3%81%ae%e8%87%aa%e5%8b%95%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/</link>
		<comments>http://blog.hi-farm.net/2009/07/13/word-press%e3%81%ae%e8%87%aa%e5%8b%95%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 17:30:24 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=209</guid>
		<description><![CDATA[
			
				
			
		
連続Postですみません。
最近WordPress上でアップデートが可能になってとても便利だな〜なんてのんびり喜んでいたのですが、google analysisのプラグインの設定が消えて [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2009%2F07%2F13%2Fword-press%25e3%2581%25ae%25e8%2587%25aa%25e5%258b%2595%25e3%2582%25a2%25e3%2583%2583%25e3%2583%2597%25e3%2583%2587%25e3%2583%25bc%25e3%2583%2588%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2009%2F07%2F13%2Fword-press%25e3%2581%25ae%25e8%2587%25aa%25e5%258b%2595%25e3%2582%25a2%25e3%2583%2583%25e3%2583%2597%25e3%2583%2587%25e3%2583%25bc%25e3%2583%2588%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>連続Postですみません。</p>
<p>最近WordPress上でアップデートが可能になってとても便利だな〜なんてのんびり喜んでいたのですが、google analysisのプラグインの設定が消えてしまう、という問題が起こりました。</p>
<p>実際このサイトは誰が見ているんだろう、という位なのでpvとかあまり意識していなかったのですが、ある日を境にアクセス数が0になってたので、さすがにこれはおかしいと思い調べてみると、UA-00000-0というような値になってしまっていました。。。。</p>
<p>メニュー下部のここをクリックして設定を確認してみるとよいと思います。</p>
<div id="attachment_210" class="wp-caption aligncenter" style="width: 175px"><a rel="lightbox" href="http://blog.hi-farm.net/wp-content/uploads/2009/07/plugin.png"><img class="size-full wp-image-210" title="plugin" src="http://blog.hi-farm.net/wp-content/uploads/2009/07/plugin.png" alt="wpの環境設定" width="165" height="428" /></a><p class="wp-caption-text">wpの環境設定</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2009/07/13/word-press%e3%81%ae%e8%87%aa%e5%8b%95%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2009/07の近況</title>
		<link>http://blog.hi-farm.net/2009/07/01/200907%e3%81%ae%e8%bf%91%e6%b3%81/</link>
		<comments>http://blog.hi-farm.net/2009/07/01/200907%e3%81%ae%e8%bf%91%e6%b3%81/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 13:06:39 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=176</guid>
		<description><![CDATA[
			
				
			
		
かなり投稿回数が少なくなってしまっているブログですが、つい先日までは本業で時間をいっぱいいっぱい使ってて、全く動けない状態でした。
だけど、これからは時間ができたのでiPhone開発合宿 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2009%2F07%2F01%2F200907%25e3%2581%25ae%25e8%25bf%2591%25e6%25b3%2581%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2009%2F07%2F01%2F200907%25e3%2581%25ae%25e8%25bf%2591%25e6%25b3%2581%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>かなり投稿回数が少なくなってしまっているブログですが、つい先日までは本業で時間をいっぱいいっぱい使ってて、全く動けない状態でした。</p>
<p>だけど、これからは時間ができたのでiPhone開発合宿の予定を再調整したいです。<a href="http://123.writeboard.com/8464cc38ec43064f5" target="_blank">http://123.writeboard.com/8464cc38ec43064f5</a> pass:ipdc09</p>
<p>とてもありがたいことに今月は結構休みを頂けることになったので、この間にflashとiPhoneの一人合宿？も行って成長しないと！</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2009/07/01/200907%e3%81%ae%e8%bf%91%e6%b3%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>メモ FMDatabaseについて</title>
		<link>http://blog.hi-farm.net/2009/05/01/%e3%83%a1%e3%83%a2-fmdatabase%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/</link>
		<comments>http://blog.hi-farm.net/2009/05/01/%e3%83%a1%e3%83%a2-fmdatabase%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 20:17:01 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=169</guid>
		<description><![CDATA[
			
				
			
		
自分への備忘録的なメモです。
iPhoneアプリ開発で、sqliteに対してFMDataBaseを使う場合、
select : executeQuery
他（delete, update [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2009%2F05%2F01%2F%25e3%2583%25a1%25e3%2583%25a2-fmdatabase%25e3%2581%25ab%25e3%2581%25a4%25e3%2581%2584%25e3%2581%25a6%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2009%2F05%2F01%2F%25e3%2583%25a1%25e3%2583%25a2-fmdatabase%25e3%2581%25ab%25e3%2581%25a4%25e3%2581%2584%25e3%2581%25a6%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>自分への備忘録的なメモです。</p>
<p>iPhoneアプリ開発で、sqliteに対してFMDataBaseを使う場合、</p>
<p>select : executeQuery</p>
<p>他（delete, update, create table, insert..） : extecuteUpdate</p>
<p>です。</p>
<p>さっき間違って使っていて、[db close]しようとするとそこでロックしたような状態で動かなくなってしまいました。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2009/05/01/%e3%83%a1%e3%83%a2-fmdatabase%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>湯河原でiPhoneアプリ開発合宿#2を行いました。</title>
		<link>http://blog.hi-farm.net/2009/05/01/%e6%b9%af%e6%b2%b3%e5%8e%9f%e3%81%a7iphone%e3%82%a2%e3%83%97%e3%83%aa%e9%96%8b%e7%99%ba%e5%90%88%e5%ae%bf2%e3%82%92%e8%a1%8c%e3%81%84%e3%81%be%e3%81%97%e3%81%9f%e3%80%82/</link>
		<comments>http://blog.hi-farm.net/2009/05/01/%e6%b9%af%e6%b2%b3%e5%8e%9f%e3%81%a7iphone%e3%82%a2%e3%83%97%e3%83%aa%e9%96%8b%e7%99%ba%e5%90%88%e5%ae%bf2%e3%82%92%e8%a1%8c%e3%81%84%e3%81%be%e3%81%97%e3%81%9f%e3%80%82/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 15:31:23 +0000</pubDate>
		<dc:creator>hi-farm.net</dc:creator>
				<category><![CDATA[iPhone勉強]]></category>
		<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.hi-farm.net/?p=150</guid>
		<description><![CDATA[
			
				
			
		
結構前になってしまうのですが、4/18-4/19の2日間、湯河原にてiPhoneアプリ開発合宿#2を行いました。
メンバーは、kara_dさん、gnueさん、allnightappsさん [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.hi-farm.net%2F2009%2F05%2F01%2F%25e6%25b9%25af%25e6%25b2%25b3%25e5%258e%259f%25e3%2581%25a7iphone%25e3%2582%25a2%25e3%2583%2597%25e3%2583%25aa%25e9%2596%258b%25e7%2599%25ba%25e5%2590%2588%25e5%25ae%25bf2%25e3%2582%2592%25e8%25a1%258c%25e3%2581%2584%25e3%2581%25be%25e3%2581%2597%25e3%2581%259f%25e3%2580%2582%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.hi-farm.net%2F2009%2F05%2F01%2F%25e6%25b9%25af%25e6%25b2%25b3%25e5%258e%259f%25e3%2581%25a7iphone%25e3%2582%25a2%25e3%2583%2597%25e3%2583%25aa%25e9%2596%258b%25e7%2599%25ba%25e5%2590%2588%25e5%25ae%25bf2%25e3%2582%2592%25e8%25a1%258c%25e3%2581%2584%25e3%2581%25be%25e3%2581%2597%25e3%2581%259f%25e3%2580%2582%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>結構前になってしまうのですが、4/18-4/19の2日間、湯河原にてiPhoneアプリ開発合宿#2を行いました。</p>
<p>メンバーは、kara_dさん、gnueさん、allnightappsさん、kirara_397さんと僕（mmlemon）の5名で、幹事はkara_dさんでした。</p>
<p>宿泊先近辺はこんな感じです。</p>
<p><img class="aligncenter size-thumbnail wp-image-157" title="宿泊地" src="http://blog.hi-farm.net/wp-content/uploads/2009/04/img_0434-150x150.jpg" alt="宿泊地" width="150" height="150" /></p>
<p>宿泊地の岩本旅館。とても風情のあるところでした。</p>
<p><img class="aligncenter size-thumbnail wp-image-159" title="img_0436" src="http://blog.hi-farm.net/wp-content/uploads/2009/04/img_0436-150x150.jpg" alt="img_0436" width="150" height="150" /><img class="aligncenter size-thumbnail wp-image-163" title="img_0440" src="http://blog.hi-farm.net/wp-content/uploads/2009/04/img_0440-150x150.jpg" alt="img_0440" width="150" height="150" /></p>
<p>今回は当然ですが、ネット（e-mobile）が使える環境でした。</p>
<p>今回も各自自分の作りたいアプリを作るという形式で、実際にアプリを作られて操作感などをテストされていた方、ウェブと連携させるアプリを作られている方で、サーバー側のロジックを作られた方、またはiPhone OS 3.0の機能について技術調査されていた方、これから作ろうとするアプリのコンセプトを考えるかた、と本当に一人一人がいろんな事をやっていて日頃一人で開発している時はあまり意識していなかったところに気づかされることもあり、大変有意義な時間を過ごす事ができました。</p>
<p>僕はというと、最近どはまりしていたところがあったのですが、allnightappsさん、gnueさんの力を借りて簡単に解決できました。</p>
<p>やっぱりこうやって同じところに集まって合宿することは明日からも頑張ろう！という良い刺激にもなるし、合宿の日までに或る程度形にしないといけない！と自分を追い込むこともできるので、これからも続けたいな、と思いました。</p>
<p>で、月も変わった事ですので、第三回の予定を立てようと思います。</p>
<p><a href="http://123.writeboard.com/8464cc38ec43064f5/v/show/6745677" target="_blank">http://123.writeboard.com/8464cc38ec43064f5/v/show/6745677</a></p>
<p>pass: ipdc09</p>
<p>です。</p>
<p>ご興味もたれた方はtwitterのアカウントなどご連絡先などを添えて追記して下さい。</p>
<p>あるいは、twitterで@mmlemonまでDMいただければと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hi-farm.net/2009/05/01/%e6%b9%af%e6%b2%b3%e5%8e%9f%e3%81%a7iphone%e3%82%a2%e3%83%97%e3%83%aa%e9%96%8b%e7%99%ba%e5%90%88%e5%ae%bf2%e3%82%92%e8%a1%8c%e3%81%84%e3%81%be%e3%81%97%e3%81%9f%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

