﻿<?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=Dev%3ASource%2FModeling%2FBmesh_Integration</id>
	<title>Dev:Source/Modeling/Bmesh Integration - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ASource%2FModeling%2FBmesh_Integration"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Source/Modeling/Bmesh_Integration&amp;action=history"/>
	<updated>2026-05-11T16:41:41Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Source/Modeling/Bmesh_Integration&amp;diff=54702&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Source/Modeling/Bmesh_Integration&amp;diff=54702&amp;oldid=prev"/>
		<updated>2018-06-28T17:51:32Z</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日 (木) 17:51時点における版&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=Dev:Source/Modeling/Bmesh_Integration&amp;diff=54701&amp;oldid=prev</id>
		<title>wiki&gt;Ansimionescu: /* Introduciton */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Source/Modeling/Bmesh_Integration&amp;diff=54701&amp;oldid=prev"/>
		<updated>2012-06-14T07:11:22Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Introduciton&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Note|Note|This page is outdated.  See [[Dev:Source/Modeling/BMeshDocMirror|the official doc mirror]] for more information.}}&lt;br /&gt;
&lt;br /&gt;
This page documents the progress of the bmesh integration project.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
Bmesh is a nice new mesh kernel for blender to use.  It supports ngons and all kinds of cool things.&lt;br /&gt;
&lt;br /&gt;
=Integration=&lt;br /&gt;
&lt;br /&gt;
==Mesh DNA==&lt;br /&gt;
&lt;br /&gt;
Mesh dna has been changed so faces are stored with the following two structs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
typedef struct MPoly {&lt;br /&gt;
	unsigned int firstloop, totloop;&lt;br /&gt;
	char flag, mat_nr, pad1, pad2;&lt;br /&gt;
	float no[3]; int pad3;&lt;br /&gt;
} MPoly;&lt;br /&gt;
&lt;br /&gt;
typedef struct MLoop {&lt;br /&gt;
	unsigned int edge, v, poly;&lt;br /&gt;
	unsigned int flag;&lt;br /&gt;
} MLoop;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MPolys are stored in mesh-&amp;gt;mpoly, and loops are stored in mesh-&amp;gt;mloop.&lt;br /&gt;
&lt;br /&gt;
Note that mloops are stored in the order they appear in mpolys in mesh-&amp;gt;mloop.&lt;br /&gt;
&lt;br /&gt;
==DerivedMesh API==&lt;br /&gt;
&lt;br /&gt;
The DerivedMesh api has been extended to deal with mloops/mpolys&lt;br /&gt;
&lt;br /&gt;
==Customdata==&lt;br /&gt;
&lt;br /&gt;
Both mloops and mpolys are now supported in the customdata system.&lt;br /&gt;
&lt;br /&gt;
==Editmode==&lt;br /&gt;
&lt;br /&gt;
BMesh is used as a replacement for editmesh.  The main stuff happens in src/editbmesh_interface.c, which has the basic editmode conversion stuff based on two generic functions that convert BME_Meshs to Meshs and Meshs to BME_Meshs.&lt;br /&gt;
&lt;br /&gt;
==Drawing==&lt;br /&gt;
&lt;br /&gt;
Current CDDM has been patched to deal with the new mesh structure, and (extreamly buggily) can draw the default cube (which is automatically converted to the new mesh dna in do_versions() in readfile.c on startup).&lt;br /&gt;
&lt;br /&gt;
Currently no editmode drawing has been coded, the plan is to use a cache drawing API.&lt;br /&gt;
&lt;br /&gt;
==Cache Drawing API==&lt;br /&gt;
&lt;br /&gt;
The cache drawing API is an API to draw stuff with vertex arrays.  Drawing with vertex arrays isn't really more difficult then without, once you get the hang of them.&lt;br /&gt;
&lt;br /&gt;
More info once actual coding of this begins.&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Ansimionescu</name></author>
		
	</entry>
</feed>