« 一通り触ってみて | Main | Willcomから書き込み »
October 07, 2006
ドワーフの髭テクスチャ
昨日のドワーフ顔モデルがあまりにも予想外というか、個人的にガッカリだったんでデータ調べてみました。
![]()
なかなかステキな髭みたいでちょっとやる気が出てきましたよ!
それでそのままモデル関係を調べてみました。
モデルの拡張子が.mdbという新しい形式。テクスチャは.ddsですがNWN1とは違っています(どうやらNWN1はスタンダードなDDSではなかったみたいです。NWN2は標準DDS形式らしい)。
http://nwn2forums.bioware.com/forums/viewtopic.html?forum=100&topic=500159&highlight=
Jason Keeney
Kommander Keeney03 Oktober 2006 01:30
The MDB file is our own proprietary, new, binary model format. I *believe* it is our intention to eventually release the details of this format as well as our own MAX exporter plugin that creates the MDBs.
http://nwn2forums.bioware.com/forums/viewtopic.html?topic=501592&forum=100
rtrifts
Game OwnerLegal issues aside - no. Not without changing the format of the file (which is doable through Photoshop by:
NWN2 DDS to NWN1: convert to .tga in Photpshop and then use Bioware dds util to dds it
NWN1 DDS to NWN2 DDS: Extract to TGA via NWNExplorer - convert to DDS via Photoshop or Irfanview.The NWN1 dds files are not in actual dds standard format. The NWN2 files are DDS standard and NVidias plug-in for Photoshop (and irfanview 's plugin too) will work with the NWN2 dds files.
DumpMDB
http://nwvault.ign.com/View.php?view=NWN2Tools.Detail&id=1
MDBをASCIIに変換。GMAXでは読み込めず……まあ、まだ当たり前ですね。
スケルトンのBodyは読み込み切れず、Headを読もうとしたらメモリを1ギガほど食って表示できなかった。
骨頭部モデルのASCIIを見てみると
# Dumped by mdbbdump Sat Oct 07 12:58:11 2006 (GMT) # Code by Adinos, partially based on analysis by MrXXS.Name: C_Skel_Head03
Meshes
Mesh (Skin 0)
Name: C_Skel_Head03
Skeleton: P_HHM_skel
Texture: C_Skel_Head01
Normal: C_Skel_Head01_N
Tint: C_Skel_Head01_t
Diffuse: R: 1.000000 G: 1.000000 B: 1.000000
Specular: Value: 0.800000 Power: 22.000000 R: 1.000000 G: 1.000000 B: 1.000000
Flags: ALPHATEST UNKNOWN_FLAG_10
Vertex list (1103):
0: -0.03371755 0.02695260 1.94005668
N: -0.36338899 0.84409064 0.39428335
T: -0.61452371 -0.55289280 0.56273448
B: -0.71755892 0.03133490 -0.69579256
UVW: 0.18350418 -0.83727801 1.00000000
Bone0: 1.00000000 80
Bone1: 0.00000000 95
Bone2: 0.00000000 72
Bone3: 0.00000000 72
Bones: 4.00000000
1: 0.00113484 0.03547610 1.92991912
N: -0.00000021 0.95903760 0.28327852
T: -1.00000000 -0.00000021 -0.00000003
B: -0.00000004 0.04998749 -0.99874985
UVW: 0.13932808 -0.89255559 1.00000000
Bone0: 1.00000000 80
Bone1: 0.00000000 95
Bone2: 0.00000000 72
Bone3: 0.00000000 72
Bones: 4.00000000
~~~~~~~
とかなり続いています。
テクスチャはTexture,Nomal,Tintと三種類使うことになってます。
今回も色々とファイルフォーマットなどを情報公開してくれそうだし、またユーザーの力を期待できそうです。
Posted by geshi at October 7, 2006 10:21 PM [EDIT]
Trackback Pings
TrackBack URL for this entry:
http://ptow.juzem.com/mt/mt-tb.cgi/206