|
WMPIO SDK
#439380
04/01/14 18:22
04/01/14 18:22
|
Joined: Sep 2003
Posts: 9,859
FBL
OP
Senior Expert
|
OP
Senior Expert
Joined: Sep 2003
Posts: 9,859
|
Hi,
I have a few questions concerning the WMP lib.
Looking at the face of a block. It seems to be accompanied by a plane. e.g. plane: n (0.000000, 0.000000, 1.000000), pt (0.000000, 0.000000, 2.000000) d=2.000000
What exactly are those values? n seems to be the normal, and d some distance (whatis it used for?), but what is pt? Is this information mandatory or can WED recreate it from the face data?
Same goes for textures... texture_vecs: (1.000000,0.000000,0.000000,0.000000) (0.000000,-1.000000,0.000000,0.000000) texture_abs_vecs: (1.000000,0.000000,0.000000,0.000000) (0.000000,-1.000000,0.000000,0.000000) What are those numbers and are they mandatory?
Basically I have a D3DXmesh with skin id and UV coordinates (everything needed to ent_setmesh/skin a nice model instance) and want to drop that info to a WMP as concave block. Besides some ambient and albedo values I don't need anything fancy - it can be applied in WED later.
But I'm unsure which attributes are mandatory (is there a list?). A description of these values would help me a lot.
Thanks.
|
|
|
Re: WMPIO SDK
[Re: jcl]
#442847
07/04/14 16:55
07/04/14 16:55
|
Joined: Sep 2003
Posts: 9,859
FBL
OP
Senior Expert
|
OP
Senior Expert
Joined: Sep 2003
Posts: 9,859
|
|
|
|
|