Iwao MISH

注目記事

AMF

詳細
カテゴリー: Uncategorised
公開日:2019年02月06日
作成日:2019年02月06日
最終更新日:2022年03月24日
参照数: 1891
AMF (Additive Manufacturing File Format) wiki
以前調べた時,http://amf.wikispaces.com が存在したが,今はなくなっている?

拡張子は amf で,中身は xml 形式.
または,それを zip 圧縮した形式で.これも拡張子は amf .

    <amf unit="millimeter">
        <object id="1">
            <mesh>
                <volume>
                    <metadata type="name">Tex01</metadata>
                    <triangle>	<v1>0</v1>	<v2>1</v2>	<v3>2</v3>
                                    <texmap	rtexid="1"	gtexid="2"	btexid="3">
                                    	<utex1>-1</utex1>	<vtex1>0</vtex1>
                                    	<utex2>0</utex2>	<vtex2>0</vtex2>	
                                    	<utex3>0</utex3>	<vtex3>1</vtex3>	</texmap>	</triangle>
                    <triangle>	...
                <volume	>
                    ...
                <vertices>
                    <vertex>    <coordinates> 	<x>0</x>	<y>1000</y>	<z>0</z>	</coordinates>
                                <normal>      	<nx>-1</nx>	<ny>0</ny>	<nz>0</nz>	</normal>	</vertex>
                    <vertex>	...
                    </vertices>
                </mesh>
            </object>
        <texture id="1" width="128" height="128">///....//w==</texture>
        <texture ...
        </amf>

  vertices に,座標と法線ベクトルがある.
  triangle には,頂点情報のインデックスと UV ,テクスチャ情報の ID .
  texture は,r ,g ,b のそれぞれを Base64 で.
    base64.hxx
    以前調べた時のメモ AMF texture


6 / 6

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  1. 現在地:  
  2. ホーム
  • Home
  • i_Tools
  • C++
    • GLUT による OpenGL 入門
  • JavaScript
    • 比率計算
  • Linux
  • Python
  • いろいろ
    • NAS
    • メモ
    • その他
    • 未分類
  • .
  • 注目記事

お問い合わせ   

プライバシーポリシー  

ゲスト 111人 と メンバー0人 がオンラインです

  • 記事参照数の表示 211324



Back to Top

© 2025 Iwao MISH