﻿<?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%2FAspects%2FSprite</id>
	<title>利用者:Jwilkins/VFX/Aspects/Sprite - 版の履歴</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%2FAspects%2FSprite"/>
	<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/Aspects/Sprite&amp;action=history"/>
	<updated>2026-08-01T03:24:20Z</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/Aspects/Sprite&amp;diff=143751&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/Aspects/Sprite&amp;diff=143751&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/Aspects/Sprite&amp;diff=143750&amp;oldid=prev</id>
		<title>wiki&gt;Jwilkins: Created page with &quot;= The Sprite Aspect =  Header File: &lt;tt&gt;GPU_sprite.h&lt;/tt&gt;  &lt;source lang=&quot;c&quot;&gt; void GPU_sprite_begin(void); void GPU_sprite_end(void); &lt;/source&gt;  &lt;tt&gt;GPU_sprite_begin&lt;/tt&gt; will bot...&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/Aspects/Sprite&amp;diff=143750&amp;oldid=prev"/>
		<updated>2013-09-23T23:36:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= The Sprite Aspect =  Header File: &amp;lt;tt&amp;gt;GPU_sprite.h&amp;lt;/tt&amp;gt;  &amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt; void GPU_sprite_begin(void); void GPU_sprite_end(void); &amp;lt;/source&amp;gt;  &amp;lt;tt&amp;gt;GPU_sprite_begin&amp;lt;/tt&amp;gt; will bot...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= The Sprite Aspect =&lt;br /&gt;
&lt;br /&gt;
Header File: &amp;lt;tt&amp;gt;GPU_sprite.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;
void GPU_sprite_begin(void);&lt;br /&gt;
void GPU_sprite_end(void);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;GPU_sprite_begin&amp;lt;/tt&amp;gt; will both switch to &amp;lt;tt&amp;gt;GPU_ASPECT_SPRITE&amp;lt;/tt&amp;gt; and also prepares for &amp;lt;tt&amp;gt;GPU_sprite&amp;lt;/tt&amp;gt; calls to be made.&lt;br /&gt;
&amp;lt;tt&amp;gt;GPU_sprite_end&amp;lt;/tt&amp;gt; undoes this and switches back to &amp;lt;tt&amp;gt;GPU_ASPECT_BASIC&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Currently the appropriate &amp;lt;tt&amp;gt;GPU_immediate_format&amp;lt;/tt&amp;gt; call must be made before any calls to &amp;lt;tt&amp;gt;GPU_sprite&amp;lt;/tt&amp;gt; and&lt;br /&gt;
&amp;lt;tt&amp;gt;GPU_immediate_unformat&amp;lt;/tt&amp;gt; should be called after all sprites are drawn.  Since no emulation of point sprites is done on&lt;br /&gt;
systems that do not support it, no texture coordinate is required.  ''This is subject to change.''&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
void GPU_point_size (float size);&lt;br /&gt;
void GPU_sprite_size(float size);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A distinction has to be made between ''points'' and ''sprites''.&lt;br /&gt;
The ''GPU_sprite_size'' function controls the size of sprites that are drawn using the &amp;lt;tt&amp;gt;GPU_ASPECT_SPRITE&amp;lt;/tt&amp;gt;,&lt;br /&gt;
while &amp;lt;tt&amp;gt;GPU_point_size&amp;lt;/tt&amp;gt; function controls the size of points that are drawn using &amp;lt;tt&amp;gt;POINT&amp;lt;/tt&amp;gt; with any other aspect.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
enum GPUSpriteShaderOption {&lt;br /&gt;
    GPU_SPRITE_CIRCULAR   = (1&amp;lt;&amp;lt;0),&lt;br /&gt;
    GPU_SPRITE_TEXTURE_2D = (1&amp;lt;&amp;lt;1)&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
These options can be set on &amp;lt;tt&amp;gt;GPU_ASPECT_SPRITE&amp;lt;/tt&amp;gt; by using &amp;lt;tt&amp;gt;GPU_aspect_enable(GPU_ASPECT_SPRITE, ...)&amp;lt;/tt&amp;gt; and disabled by using &amp;lt;tt&amp;gt;GPU_aspect_disable(GPU_ASPECT_SPRITE, ...)&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;GPU_SPRITE_CIRCULAR&amp;lt;/tt&amp;gt; has the same effect as the legacy &amp;lt;tt&amp;gt;POINT_SMOOTH&amp;lt;/tt&amp;gt;, that is, it makes points round.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;GPU_SPRITE_TEXTURE_2D&amp;lt;/tt&amp;gt; enables texture mapping and is not implemented yet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Issuing Sprites ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
void GPU_sprite_2f (float x, float y);&lt;br /&gt;
void GPU_sprite_2fv(const float v[2]);&lt;br /&gt;
&lt;br /&gt;
void GPU_sprite_3f (float x, float y, float z);&lt;br /&gt;
void GPU_sprite_3fv(const float v[3]);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These functions act the same as &amp;lt;tt&amp;gt;Vertex&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;POINT&amp;lt;/tt&amp;gt; mode and issue sprites to be drawn.&lt;/div&gt;</summary>
		<author><name>wiki&gt;Jwilkins</name></author>
		
	</entry>
</feed>