﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AJwilkins%2FVFX%2FCommon%2FMatrix</id>
	<title>利用者:Jwilkins/VFX/Common/Matrix - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AJwilkins%2FVFX%2FCommon%2FMatrix"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jwilkins/VFX/Common/Matrix&amp;action=history"/>
	<updated>2026-07-31T23:23:28Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jwilkins/VFX/Common/Matrix&amp;diff=143763&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jwilkins/VFX/Common/Matrix&amp;diff=143763&amp;oldid=prev"/>
		<updated>2018-06-28T21:04:27Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 21:04時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jwilkins/VFX/Common/Matrix&amp;diff=143762&amp;oldid=prev</id>
		<title>wiki&gt;Jwilkins: Created page with &quot;= Matrixes =  Header File: &lt;tt&gt;GPU_matrix.h&lt;/tt&gt;  &lt;source lang=&quot;c&quot;&gt; uniform mat4 b_ModelViewMatrix; uniform mat4 b_ProjectionMatrix; uniform mat4 b_ModelViewProjectionMatrix; uni...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jwilkins/VFX/Common/Matrix&amp;diff=143762&amp;oldid=prev"/>
		<updated>2013-09-24T00:01:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Matrixes =  Header File: &amp;lt;tt&amp;gt;GPU_matrix.h&amp;lt;/tt&amp;gt;  &amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt; uniform mat4 b_ModelViewMatrix; uniform mat4 b_ProjectionMatrix; uniform mat4 b_ModelViewProjectionMatrix; uni...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Matrixes =&lt;br /&gt;
&lt;br /&gt;
Header File: &amp;lt;tt&amp;gt;GPU_matrix.h&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
uniform mat4 b_ModelViewMatrix;&lt;br /&gt;
uniform mat4 b_ProjectionMatrix;&lt;br /&gt;
uniform mat4 b_ModelViewProjectionMatrix;&lt;br /&gt;
uniform mat4 b_TextureMatrix[b_MaxTextureCoords];&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The common matrix library is designed based on the legacy ''OpenGL'' matrix stack.&lt;br /&gt;
&lt;br /&gt;
In addition it contains re-implementations of ''GLU'' functions, some convenience functions, and some functions that are useful for ''Blender''.&lt;br /&gt;
&lt;br /&gt;
Where there is normally a float and double version of the function, only the floating point version is provided and no 'f' suffix is needed.&lt;br /&gt;
&lt;br /&gt;
== ''OpenGL'' Replacements ==&lt;br /&gt;
&lt;br /&gt;
Where a GLenum is called for, it has the same value as from ''OpenGL'' with the same meaning.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
void gpuPushMatrix(void);&lt;br /&gt;
void gpuPopMatrix(void);&lt;br /&gt;
&lt;br /&gt;
void gpuMatrixMode(GLenum mode);&lt;br /&gt;
&lt;br /&gt;
void gpuLoadMatrix(const GLfloat* m);&lt;br /&gt;
void gpuLoadIdentity(void);&lt;br /&gt;
&lt;br /&gt;
void gpuMultMatrix(const GLfloat*m);&lt;br /&gt;
void gpuMultMatrixd(const double *m);&lt;br /&gt;
&lt;br /&gt;
void gpuTranslate(GLfloat x, GLfloat y, GLfloat z);&lt;br /&gt;
void gpuScale(GLfloat x, GLfloat y, GLfloat z);&lt;br /&gt;
void gpuOrtho(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearVal, GLfloat farVal);&lt;br /&gt;
void gpuFrustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearVal, GLfloat farVal);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ''Get'' Replacements ==&lt;br /&gt;
&lt;br /&gt;
State is queried without using deprecated ''GLenum'' values.  For example, ''glGetFloatv(GL_MODELVIEW_MATRIX, ...)'' is replaced with ''gpuGetMatrix(GL_MODELVIEW_MATRIX, ...)''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
GLenum         gpuGetMatrixMode(void);&lt;br /&gt;
const GLfloat* gpuGetMatrix(GLenum type, GLfloat* m);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ''GLU'' Replacements ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
void gpuLookAt(GLfloat eyeX, GLfloat eyeY, GLfloat eyeZ, GLfloat centerX, GLfloat centerY, GLfloat centerZ, GLfloat upX, GLfloat upY, GLfloat upZ);&lt;br /&gt;
void gpuProject(const GLfloat obj[3], const GLfloat model[4][4], const GLfloat proj[4][4], const GLint view[4], GLfloat win[3]);&lt;br /&gt;
GLboolean gpuUnProject(const GLfloat win[3], const GLfloat model[4][4], const GLfloat proj[4][4], const GLint view[4], GLfloat obj[3]);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== No ''OpenGL'' or ''GLU'' Equivalent ==&lt;br /&gt;
&lt;br /&gt;
Angles are still given in degrees, not radians.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
void gpuRotateVector(GLfloat deg, GLfloat vector[3]);&lt;br /&gt;
void gpuRotateAxis(GLfloat deg, char axis);&lt;br /&gt;
void gpuRotateRight(char type);&lt;br /&gt;
&lt;br /&gt;
void gpuLoadOrtho(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearVal, GLfloat farVal);&lt;br /&gt;
void gpuLoadFrustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearVal, GLfloat farVal);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;Jwilkins</name></author>
		
	</entry>
</feed>