Jump to content

FEATURE: OpenGL 3 Renderer


Recommended Posts

@@Archangel35757 I would have thought that you would have Softimage installed considering you're trying to check for errors against files coming from max with all your exporter work.

I do... but I don't trust myself to add the tangent space data correctly.

 

I'm searching the sdk help and docs now... would be nice if you could email me your 3.5 file with the customPset data.

Link to comment

@@Psyk0Sith - good job.  Ok... so those dotXSI 3.0 files were produced with the v1.9 exporter, correct?  What export vertex normals option did you use?  What were your xNormal settings?

 

 

-XSI exporter 1.9

-Normals set to smoothing groups

-Xnormal baked with a cage and checked the binormals box in the mikkt plugin. Swizzle was set to -Y just because its standard for max shader, don't know what rend2 uses.

 

Download the box here

 

Type npc spawn xnbox to load.

 

Shader will need to be written added for normals and AO and swizzle changed if needed.

 

 

models/players/XNbox/diffuse

{

    {

     map models/players/XNbox/diffuse

     rgbGen lightingdiffuse

    }

{

stage normalmap

map models/players/XNbox/normals

     normalScale 1 1

}

}

Link to comment

@@minilogoguy18 - so I loaded the sample jaiqua female mesh in Softimage and applied a Tangent Property to the mesh...

 

jaiqua_zpsnnlvurlt.png

 

It gives options to pick different sources for UVs and Tangents-- I'm not sure how that aspect works and what you would pick from (...the Hi-Poly mesh?  I don't know...)

...

Like you said, it writes out a CustomPSet template denoting it has tangent data (as stored in the vertex COLOR parameter):

                XSI_CustomPSet Jaiqua_Mod.low-res.Tangent {
                    "NODE",
                    2,
                    "Texcoord","Text","Texture_Support",
                    "Tangents","Text","Tangents",
                }

...and it wrote these tangent vectors under the SI_Mesh templates vertex "COLOR" parameter.  Like so:

                        8438,
                        "COLOR",
                        -0.298336,0.047644,-0.953271,0.342933,
                        -0.681604,-0.195287,-0.705180,0.304814,
                        -0.879368,-0.230859,-0.416431,0.342933,
                        -0.565923,-0.497810,-0.657203,0.342933,
                                *
                                *
                                *

...and in the SI_TriangleList where it stores the vertex ID reference it added the COLOR parameter as well.

                    SI_TriangleList Jaiqua_Mod.low-res {
                        4130,
                        "NORMAL|COLOR|TEX_COORD_UV0",
                        "DefaultLib.Material1",

So I exported the file out again as dotXSI 3.0 (same settings) and it fails to write the Tangent CustomPSet template... however, it DOES include the COLOR parameter in the SI_Mesh and SI_TriangleList... it just writes the values as zeroes.  So on the 3ds Max side of things... the minimal effort would be to simply add the CustomPSet template and fill in the COLOR data correctly.  Because it's a shit-load of work to rework the exporter to overhaul the material templates due to major changes in the dotXSI 3.5 materials.

 

I do recall seeing xNormal options for using vertex color-- but I don't know if this is how xNormal knows to use that data for the tangent basis vectors or if it's expecting something else... @@Psyk0Sith, @@Almightygir?

 

EDIT:  @@minilogoguy18... ok, I went back and also saw the Binormal property like you pointed out; so I added it, re-exported dotXSI 3.5, and it generated the following custom template:


                XSI_CustomPSet Jaiqua_Mod.low-res.Binormal {
                    "NODE",
                    2,
                    "Texcoord","Text","Texture_Support",
                    "Binormals","Text","Binormals",
                }


However, when I compared the two dotXSI 3.5 files... this "Binormal" change did not modify the numbers at all written under the "COLOR" info.  So I find this a bit disconcerting (of course I don't know what I'm doing or if you are suppose to use the "pick" features, etc.)

Edited by Archangel35757
Link to comment

No vertex color has nothing to do with normal maps. It's used for baking colors from polypainting.Irrelevant!

 

Then please tell me how xNormal knows to use tangent basis vectors stored in FBX (or dotXSI) format?  Can you take a screenshot of that?  Because I just looked thru the options and plugin configuration settings and nothing jumps out at me that says "use mesh tangent data" ...in the Tangent Basis Calculator config settings, I only see a checkbox for "Compute binormal on the fly in the shader."

 

All I see that might be relevant is the "Ignore per-vertex-color" checkbox in the Hi-Def mesh's section (but you say that's not applicable).  And "Match UVs" and "Highpoly normals override tangent space" checkboxes in the Low-Def mesh's section.

Link to comment

@@Psyk0Sith

 

Here's a shader for your test box:

models/players/XNbox/diffuse
{
    	{
    	    map models/players/XNbox/diffuse
    	    rgbGen lightingdiffuse
    	}
        {
            stage normalmap
            map models/players/XNbox/normals
	    normalScale 1 1
        }
}

ONLY use the .mtr extension IF there is already a .shader of the same name. So in this case, use .shader.

 

If the normals need to be flipped, use "normalScale". First value is red channel, second value is green channel.

 

"1"  will leave the normals 'as-is'

"-1" will invert the channel

 

You can also increase/decrease the intensity of the normals by changing the "1" to a higher or lower value.

Archangel35757 likes this
Link to comment

@@Archangel35757 those 2 options are really only for using secondary UV maps and such, the default settings are usually fine in most cases, it mainly applies to models that use more than 1 texture where you have separate clusters controlling UV islands. You also should apply the binormal custom pSet in the same menu as tangents only applies to the U coordinates or X where binormal controls the Y or X and your standard polygon normals which you're most familiar with editing by way of smoothing groups is Z. The reason these properties are needed is to accurately compute which direction the normal map displaces the mesh so there isn't a completely inverted area.

 

If you want to smooth out all the awkwardness just go into the clusters under the object in the explorer and find the tangents, a PPG will open with a slider that will allow some smoothing.

 

I'm having a tough time remembering every little detail since it has been years since I've used this stuff as I'm not modding games anymore that use normal maps. At that time I wasn't even using xNormal, just the Mental Ray renderer in Softimage with the Ultimapper baking tools.

Link to comment

@@Archangel35757 those 2 options are really only for using secondary UV maps and such, the default settings are usually fine in most cases, it mainly applies to models that use more than 1 texture where you have separate clusters controlling UV islands. You also should apply the binormal custom pSet in the same menu as tangents only applies to the U coordinates or X where binormal controls the Y or X and your standard polygon normals which you're most familiar with editing by way of smoothing groups is Z. The reason these properties are needed is to accurately compute which direction the normal map displaces the mesh so there isn't a completely inverted area.

 

If you want to smooth out all the awkwardness just go into the clusters under the object in the explorer and find the tangents, a PPG will open with a slider that will allow some smoothing.

 

I'm having a tough time remembering every little detail since it has been years since I've used this stuff as I'm not modding games anymore that use normal maps. At that time I wasn't even using xNormal, just the Mental Ray renderer in Softimage with the Ultimapper baking tools.

By "options" I assume you are referring to the 2 "Pick" buttons. I did apply the Binormal option just above the tangent option... it created a "binormal" CustomPSet... but like I said... doing a pre-/post- comparison of the two resulting XSI 3.5 files... adding Binormal didn't change any values under "COLOR" parameter. Should it have?

Link to comment

Well I haven't looked at the file in a text editor or anything but just simply exported it and reimported it and both properties were brought back into Softimage. How it stores them in the dotXSI file I can't say. As for the options, no, there are some other options stored under the texture coordinates cluster.

 

TEMHZQd.png

 

http://softimage.wiki.softimage.com/xsidocs/tangents_binormals_EditingTangentsandBinormals.htm

 

You might wanna ignore some of the clusters I have in there, I need to do some scene clean up.

Link to comment

Then please tell me how xNormal knows to use tangent basis vectors stored in FBX (or dotXSI) format?  Can you take a screenshot of that?  Because I just looked thru the options and plugin configuration settings and nothing jumps out at me that says "use mesh tangent data" ...in the Tangent Basis Calculator config settings, I only see a checkbox for "Compute binormal on the fly in the shader."

 

All I see that might be relevant is the "Ignore per-vertex-color" checkbox in the Hi-Def mesh's section (but you say that's not applicable).  And "Match UVs" and "Highpoly normals override tangent space" checkboxes in the Low-Def mesh's section.

 

xNormal loads FBX files the same way every other piece of software does, FBX stores vertex data as a struct, with multiple vectors as entries in that struct, one of which is tangents, another is binormals. It just accesses each entry in the struct as needed.

 

You absolutely should NOT store tangents or binormals in vertex colors as those are often capped at half precision.

DT. likes this
Link to comment

@@Almightygir - so from looking at XSIFTK docs... the "COLOR" property is stored as floats- so that's single-precision, yes?

 

Also, check your PMs.

 

@@minilogoguy18 - I did not see a "Binormal" property in XSI Mod Tool 6-- only a "Tangents" property. Can you confirm? Maybe this only stores the tangent vector in "COLOR" and they expect you to compute binormal from cross product of face normal and tangent???

Link to comment

I don't think I see what I'm looking for, you might wanna download 7.5 and do whatever experiments you need to make your exporter work.

 

 

xsi 0350txt 0032

SI_FileInfo { 
	"", 
	"Alex", 
	"Sun Feb 26 22:07:02 2017", 
	"Autodesk Softimage Version 7.5.203.0", 
}

SI_Scene Scene { 
	"FRAMES", 
	1.000000, 
	100.000000, 
	29.970030, 
}

SI_CoordinateSystem { 
	1, 
	0, 
	1, 
	0, 
	2, 
	5, 
}

SI_Angle { 
	0, 
}

SI_Ambience { 
	0.200000, 
	0.200000, 
	0.200000, 
}

SI_MaterialLibrary MATLIB-Scene { 
	1, 
	XSI_Material DefaultLib.Scene_Material { 
		12, 
		"surface","Phong",
		"volume","",
		"environment","",
		"contour","",
		"displacement","",
		"shadow","Phong",
		"Photon","Phong",
		"PhotonVolume","",
		"normal","",
		"Lightmap","",
		"RealTime","",
		"material","",
		XSI_Shader Phong { 
			"Softimage.material-phong.1", 
			4, 
			54, 
			28, 
			"Name","STRING","Phong",
			"ambient.red","FLOAT",0.300000,
			"ambient.green","FLOAT",0.300000,
			"ambient.blue","FLOAT",0.300000,
			"ambient.alpha","FLOAT",0.000000,
			"diffuse.red","FLOAT",0.700000,
			"diffuse.green","FLOAT",0.700000,
			"diffuse.blue","FLOAT",0.700000,
			"diffuse.alpha","FLOAT",0.000000,
			"specular.red","FLOAT",1.000000,
			"specular.green","FLOAT",1.000000,
			"specular.blue","FLOAT",1.000000,
			"specular.alpha","FLOAT",0.000000,
			"shiny","FLOAT",50.000000,
			"transparency.red","FLOAT",0.000000,
			"transparency.green","FLOAT",0.000000,
			"transparency.blue","FLOAT",0.000000,
			"transparency.alpha","FLOAT",0.000000,
			"trans_glossy","FLOAT",0.000000,
			"transparent_samples","INTEGER",0,
			"reflectivity.red","FLOAT",0.000000,
			"reflectivity.green","FLOAT",0.000000,
			"reflectivity.blue","FLOAT",0.000000,
			"reflectivity.alpha","FLOAT",0.000000,
			"reflect_glossy","FLOAT",0.000000,
			"reflect_samples","INTEGER",0,
			"index_of_refraction","FLOAT",1.000000,
			"translucency","FLOAT",0.000000,
			"incandescence.red","FLOAT",1.000000,
			"incandescence.green","FLOAT",1.000000,
			"incandescence.blue","FLOAT",1.000000,
			"incandescence.alpha","FLOAT",0.000000,
			"inc_inten","FLOAT",0.000000,
			"bump.x","FLOAT",0.000000,
			"bump.y","FLOAT",0.000000,
			"bump.z","FLOAT",0.000000,
			"notrace","BOOLEAN",0,
			"diffuse_inuse","BOOLEAN",1,
			"specular_inuse","BOOLEAN",1,
			"reflect_inuse","BOOLEAN",1,
			"refract_inuse","BOOLEAN",1,
			"incand_inuse","BOOLEAN",1,
			"translucent_inuse","BOOLEAN",1,
			"radiance.red","FLOAT",1.000000,
			"radiance.green","FLOAT",1.000000,
			"radiance.blue","FLOAT",1.000000,
			"radiance.alpha","FLOAT",1.000000,
			"radiance_filter","BOOLEAN",1,
			"scaletrans","FLOAT",1.000000,
			"inverttrans","BOOLEAN",0,
			"usealphatrans","BOOLEAN",0,
			"scalerefl","FLOAT",1.000000,
			"invertrefl","BOOLEAN",0,
			"usealpharefl","BOOLEAN",0,
			"ambient","","",
			"diffuse","","",
			"specular","","",
			"shiny","","",
			"transparency","","",
			"trans_glossy","","",
			"reflectivity","","",
			"reflect_glossy","","",
			"index_of_refraction","","",
			"translucency","","",
			"incandescence","","",
			"inc_inten","","",
			"bump","","",
			"notrace","","",
			"diffuse_inuse","","",
			"specular_inuse","","",
			"reflect_inuse","","",
			"refract_inuse","","",
			"incand_inuse","","",
			"translucent_inuse","","",
			"radiance","","",
			"radiance_filter","","",
			"scaletrans","","",
			"inverttrans","","",
			"usealphatrans","","",
			"scalerefl","","",
			"invertrefl","","",
			"usealpharefl","","",
		}

	}

}

SI_Model MDL-Rhombicosidodecahedron { 
	SI_GlobalMaterial { 
		"DefaultLib.Scene_Material", 
		"BRANCH", 
	}

	SI_Transform SRT-Rhombicosidodecahedron { 
		1.000000, 
		1.000000, 
		1.000000, 
		0.000000, 
		0.000000, 
		0.000000, 
		0.000000, 
		0.000000, 
		0.000000, 
	}

	SI_Visibility { 
		1, 
	}

	XSI_CustomPSet Rhombicosidodecahedron.Binormal { 
		"NODE", 
		2,
		"Texcoord","Text","Texcoord", 
		"Binormals","Text","Binormals", 
	}

	XSI_CustomPSet Rhombicosidodecahedron.Tangent { 
		"NODE", 
		2,
		"Texcoord","Text","Texcoord", 
		"Tangents","Text","Tangents", 
	}

	XSI_CustomPSet Rhombicosidodecahedron.Mesh_Subdivision_Info { 
		"NODE", 
		1,
		"Subdivision","Small Integer Number",0, 
	}

	SI_Mesh MSH-Rhombicosidodecahedron { 
		SI_Shape SHP-Rhombicosidodecahedron-ORG { 
			4, 
			"ORDERED", 

			60, 
			"POSITION", 
			2.423008,1.043519,1.993318,
			1.147007,1.043519,2.920387,
			1.935619,-0.298148,2.664151,
			2.423008,2.249553,0.041912,
			1.935619,2.249553,-1.458117,
			1.147007,3.078749,-0.372686,
			2.423008,-2.249553,-0.041912,
			1.935619,-2.249553,1.458117,
			1.147007,-3.078749,0.372686,
			2.423008,-1.043519,-1.993318,
			1.147007,-1.043519,-2.920387,
			1.935619,0.298148,-2.664151,
			-2.423008,1.043519,1.993318,
			-1.935619,-0.298148,2.664151,
			-1.147007,1.043519,2.920387,
			-2.423008,2.249553,0.041912,
			-1.147007,3.078749,-0.372686,
			-1.935619,2.249553,-1.458117,
			-2.423008,-2.249553,-0.041912,
			-1.147007,-3.078749,0.372686,
			-1.935619,-2.249553,1.458117,
			-2.423008,-1.043519,-1.993318,
			-1.935619,0.298148,-2.664151,
			-1.147007,-1.043519,-2.920387,
			1.984891,2.249554,1.390300,
			0.708889,3.078749,0.975702,
			0.708889,2.249554,2.317369,
			-1.984891,2.249554,1.390300,
			-0.708889,2.249554,2.317369,
			-0.708889,3.078749,0.975702,
			1.984891,-2.249554,-1.390300,
			0.708889,-3.078749,-0.975702,
			0.708889,-2.249554,-2.317369,
			-1.984891,-2.249554,-1.390300,
			-0.708889,-2.249554,-2.317369,
			-0.708889,-3.078749,-0.975702,
			2.644509,-1.043518,1.688449,
			3.131898,-1.043519,0.188420,
			3.131898,0.298148,1.017615,
			2.644509,1.043518,-1.688449,
			3.131898,1.043519,-0.188420,
			3.131898,-0.298148,-1.017615,
			-2.644509,-1.043518,1.688449,
			-3.131898,0.298148,1.017615,
			-3.131898,-1.043519,0.188420,
			-2.644509,1.043518,-1.688449,
			-3.131898,-0.298148,-1.017615,
			-3.131898,1.043519,-0.188420,
			0.000000,0.298149,3.293072,
			-0.788612,-1.043518,3.036837,
			0.788612,-1.043518,3.036837,
			0.000000,-3.078749,1.206035,
			0.788612,-2.249553,2.291466,
			-0.788612,-2.249553,2.291466,
			0.000000,3.078749,-1.206035,
			0.788612,2.249553,-2.291466,
			-0.788612,2.249553,-2.291466,
			0.000000,-0.298149,-3.293072,
			-0.788612,1.043518,-3.036837,
			0.788612,1.043518,-3.036837,

			240, 
			"NORMAL", 
			0.722608,0.306397,0.619644,
			0.366019,0.306397,0.878721,
			0.586403,-0.068543,0.807114,
			0.722608,0.691251,-0.003064,
			0.586403,0.691251,-0.422260,
			0.366019,0.922977,-0.118927,
			0.722608,-0.691251,0.003064,
			0.586403,-0.691251,0.422260,
			0.366019,-0.922977,0.118927,
			0.722608,-0.306397,-0.619644,
			0.366019,-0.306397,-0.878721,
			0.586403,0.068543,-0.807114,
			-0.722608,0.306397,0.619644,
			-0.586403,-0.068543,0.807114,
			-0.366019,0.306397,0.878721,
			-0.722608,0.691251,-0.003064,
			-0.366019,0.922977,-0.118927,
			-0.586403,0.691251,-0.422260,
			-0.722608,-0.691251,0.003064,
			-0.366019,-0.922977,0.118927,
			-0.586403,-0.691251,0.422260,
			-0.722608,-0.306397,-0.619644,
			-0.586403,0.068543,-0.807114,
			-0.366019,-0.306397,-0.878721,
			0.582801,0.691252,0.427217,
			0.226212,0.922977,0.311354,
			0.226212,0.691252,0.686294,
			-0.582801,0.691252,0.427217,
			-0.226212,0.691252,0.686294,
			-0.226212,0.922977,0.311354,
			0.582801,-0.691252,-0.427217,
			0.226212,-0.922977,-0.311354,
			0.226212,-0.691252,-0.686294,
			-0.582801,-0.691252,-0.427217,
			-0.226212,-0.691252,-0.686294,
			-0.226212,-0.922977,-0.311354,
			0.812615,-0.306397,0.495760,
			0.948820,-0.306397,0.076565,
			0.948820,0.068543,0.308290,
			0.812615,0.306397,-0.495760,
			0.948820,0.306397,-0.076565,
			0.948820,-0.068543,-0.308290,
			-0.812615,-0.306397,0.495760,
			-0.948820,0.068543,0.308290,
			-0.948820,-0.306397,0.076565,
			-0.812615,0.306397,-0.495760,
			-0.948820,-0.068543,-0.308290,
			-0.948820,0.306397,-0.076565,
			-0.000000,0.068543,0.997648,
			-0.220384,-0.306396,0.926041,
			0.220384,-0.306396,0.926041,
			0.000000,-0.922977,0.384855,
			0.220384,-0.691251,0.688188,
			-0.220384,-0.691251,0.688188,
			0.000000,0.922977,-0.384855,
			0.220384,0.691251,-0.688188,
			-0.220384,0.691251,-0.688188,
			-0.000000,-0.068543,-0.997648,
			-0.220384,0.306396,-0.926041,
			0.220384,0.306396,-0.926041,
			0.722608,0.306397,0.619644,
			0.582801,0.691252,0.427217,
			0.226212,0.691252,0.686294,
			0.366019,0.306397,0.878721,
			0.366019,0.306397,0.878721,
			-0.000000,0.068543,0.997648,
			0.220384,-0.306396,0.926041,
			0.586403,-0.068543,0.807114,
			0.586403,-0.068543,0.807114,
			0.812615,-0.306397,0.495760,
			0.948820,0.068543,0.308290,
			0.722608,0.306397,0.619644,
			0.722608,0.691251,-0.003064,
			0.948820,0.306397,-0.076565,
			0.812615,0.306397,-0.495760,
			0.586403,0.691251,-0.422260,
			0.586403,0.691251,-0.422260,
			0.220384,0.691251,-0.688188,
			0.000000,0.922977,-0.384855,
			0.366019,0.922977,-0.118927,
			0.366019,0.922977,-0.118927,
			0.226212,0.922977,0.311354,
			0.582801,0.691252,0.427217,
			0.722608,0.691251,-0.003064,
			0.722608,-0.691251,0.003064,
			0.948820,-0.306397,0.076565,
			0.812615,-0.306397,0.495760,
			0.586403,-0.691251,0.422260,
			0.586403,-0.691251,0.422260,
			0.220384,-0.691251,0.688188,
			0.000000,-0.922977,0.384855,
			0.366019,-0.922977,0.118927,
			0.366019,-0.922977,0.118927,
			0.226212,-0.922977,-0.311354,
			0.582801,-0.691252,-0.427217,
			0.722608,-0.691251,0.003064,
			0.722608,-0.306397,-0.619644,
			0.582801,-0.691252,-0.427217,
			0.226212,-0.691252,-0.686294,
			0.366019,-0.306397,-0.878721,
			0.366019,-0.306397,-0.878721,
			-0.000000,-0.068543,-0.997648,
			0.220384,0.306396,-0.926041,
			0.586403,0.068543,-0.807114,
			0.586403,0.068543,-0.807114,
			0.812615,0.306397,-0.495760,
			0.948820,-0.068543,-0.308290,
			0.722608,-0.306397,-0.619644,
			-0.722608,0.306397,0.619644,
			-0.948820,0.068543,0.308290,
			-0.812615,-0.306397,0.495760,
			-0.586403,-0.068543,0.807114,
			-0.586403,-0.068543,0.807114,
			-0.220384,-0.306396,0.926041,
			-0.000000,0.068543,0.997648,
			-0.366019,0.306397,0.878721,
			-0.366019,0.306397,0.878721,
			-0.226212,0.691252,0.686294,
			-0.582801,0.691252,0.427217,
			-0.722608,0.306397,0.619644,
			-0.722608,0.691251,-0.003064,
			-0.582801,0.691252,0.427217,
			-0.226212,0.922977,0.311354,
			-0.366019,0.922977,-0.118927,
			-0.366019,0.922977,-0.118927,
			0.000000,0.922977,-0.384855,
			-0.220384,0.691251,-0.688188,
			-0.586403,0.691251,-0.422260,
			-0.586403,0.691251,-0.422260,
			-0.812615,0.306397,-0.495760,
			-0.948820,0.306397,-0.076565,
			-0.722608,0.691251,-0.003064,
			-0.722608,-0.691251,0.003064,
			-0.582801,-0.691252,-0.427217,
			-0.226212,-0.922977,-0.311354,
			-0.366019,-0.922977,0.118927,
			-0.366019,-0.922977,0.118927,
			0.000000,-0.922977,0.384855,
			-0.220384,-0.691251,0.688188,
			-0.586403,-0.691251,0.422260,
			-0.586403,-0.691251,0.422260,
			-0.812615,-0.306397,0.495760,
			-0.948820,-0.306397,0.076565,
			-0.722608,-0.691251,0.003064,
			-0.722608,-0.306397,-0.619644,
			-0.948820,-0.068543,-0.308290,
			-0.812615,0.306397,-0.495760,
			-0.586403,0.068543,-0.807114,
			-0.586403,0.068543,-0.807114,
			-0.220384,0.306396,-0.926041,
			-0.000000,-0.068543,-0.997648,
			-0.366019,-0.306397,-0.878721,
			-0.366019,-0.306397,-0.878721,
			-0.226212,-0.691252,-0.686294,
			-0.582801,-0.691252,-0.427217,
			-0.722608,-0.306397,-0.619644,
			0.226212,0.922977,0.311354,
			-0.226212,0.922977,0.311354,
			-0.226212,0.691252,0.686294,
			0.226212,0.691252,0.686294,
			0.226212,-0.922977,-0.311354,
			-0.226212,-0.922977,-0.311354,
			-0.226212,-0.691252,-0.686294,
			0.226212,-0.691252,-0.686294,
			0.948820,-0.306397,0.076565,
			0.948820,-0.068543,-0.308290,
			0.948820,0.306397,-0.076565,
			0.948820,0.068543,0.308290,
			-0.948820,0.068543,0.308290,
			-0.948820,0.306397,-0.076565,
			-0.948820,-0.068543,-0.308290,
			-0.948820,-0.306397,0.076565,
			-0.220384,-0.306396,0.926041,
			-0.220384,-0.691251,0.688188,
			0.220384,-0.691251,0.688188,
			0.220384,-0.306396,0.926041,
			0.220384,0.691251,-0.688188,
			0.220384,0.306396,-0.926041,
			-0.220384,0.306396,-0.926041,
			-0.220384,0.691251,-0.688188,
			0.582801,0.691252,0.427217,
			0.722608,0.306397,0.619644,
			0.948820,0.068543,0.308290,
			0.948820,0.306397,-0.076565,
			0.722608,0.691251,-0.003064,
			-0.722608,0.306397,0.619644,
			-0.582801,0.691252,0.427217,
			-0.722608,0.691251,-0.003064,
			-0.948820,0.306397,-0.076565,
			-0.948820,0.068543,0.308290,
			0.722608,-0.691251,0.003064,
			0.582801,-0.691252,-0.427217,
			0.722608,-0.306397,-0.619644,
			0.948820,-0.068543,-0.308290,
			0.948820,-0.306397,0.076565,
			-0.582801,-0.691252,-0.427217,
			-0.722608,-0.691251,0.003064,
			-0.948820,-0.306397,0.076565,
			-0.948820,-0.068543,-0.308290,
			-0.722608,-0.306397,-0.619644,
			0.812615,-0.306397,0.495760,
			0.586403,-0.068543,0.807114,
			0.220384,-0.306396,0.926041,
			0.220384,-0.691251,0.688188,
			0.586403,-0.691251,0.422260,
			0.586403,0.691251,-0.422260,
			0.812615,0.306397,-0.495760,
			0.586403,0.068543,-0.807114,
			0.220384,0.306396,-0.926041,
			0.220384,0.691251,-0.688188,
			-0.586403,-0.068543,0.807114,
			-0.812615,-0.306397,0.495760,
			-0.586403,-0.691251,0.422260,
			-0.220384,-0.691251,0.688188,
			-0.220384,-0.306396,0.926041,
			-0.812615,0.306397,-0.495760,
			-0.586403,0.691251,-0.422260,
			-0.220384,0.691251,-0.688188,
			-0.220384,0.306396,-0.926041,
			-0.586403,0.068543,-0.807114,
			0.226212,0.691252,0.686294,
			-0.226212,0.691252,0.686294,
			-0.366019,0.306397,0.878721,
			-0.000000,0.068543,0.997648,
			0.366019,0.306397,0.878721,
			-0.226212,-0.922977,-0.311354,
			0.226212,-0.922977,-0.311354,
			0.366019,-0.922977,0.118927,
			0.000000,-0.922977,0.384855,
			-0.366019,-0.922977,0.118927,
			-0.226212,0.922977,0.311354,
			0.226212,0.922977,0.311354,
			0.366019,0.922977,-0.118927,
			0.000000,0.922977,-0.384855,
			-0.366019,0.922977,-0.118927,
			0.226212,-0.691252,-0.686294,
			-0.226212,-0.691252,-0.686294,
			-0.366019,-0.306397,-0.878721,
			-0.000000,-0.068543,-0.997648,
			0.366019,-0.306397,-0.878721,

			240, 
			"COLOR", 
			0.000000,-0.973249,0.229753,0.948247,
			0.000000,-0.973249,0.229753,0.948247,
			0.000000,-0.973249,0.229753,0.948247,
			-0.536129,0.542244,0.646945,0.954761,
			-0.536129,0.542244,0.646945,0.954761,
			-0.536129,0.542244,0.646945,0.954761,
			0.693270,0.355731,-0.626763,0.954761,
			0.693270,0.355731,-0.626763,0.954761,
			0.693270,0.355731,-0.626763,0.954761,
			0.000000,0.973249,-0.229753,0.948247,
			0.000000,0.973249,-0.229753,0.948247,
			0.000000,0.973249,-0.229753,0.948247,
			0.000000,-0.973249,0.229753,0.948247,
			0.000000,-0.973249,0.229753,0.948247,
			0.000000,-0.973249,0.229753,0.948247,
			-0.502432,-0.164665,0.848792,0.946362,
			-0.502432,-0.164665,0.848792,0.946362,
			-0.502432,-0.164665,0.848792,0.946362,
			0.733258,-0.605687,-0.308992,0.946362,
			0.733258,-0.605687,-0.308992,0.946362,
			0.733258,-0.605687,-0.308992,0.946362,
			-0.000000,0.973249,-0.229753,0.948247,
			-0.000000,0.973249,-0.229753,0.948247,
			-0.000000,0.973249,-0.229753,0.948247,
			-0.837063,0.505381,-0.209562,0.967064,
			-0.837063,0.505381,-0.209562,0.967064,
			-0.837063,0.505381,-0.209562,0.967064,
			-0.057155,-0.543317,0.837580,0.966057,
			-0.057155,-0.543317,0.837580,0.966057,
			-0.057155,-0.543317,0.837580,0.966057,
			0.934064,0.295484,0.200535,0.966057,
			0.934064,0.295484,0.200535,0.966057,
			0.934064,0.295484,0.200535,0.966057,
			-0.419267,-0.333579,0.844358,0.967064,
			-0.419267,-0.333579,0.844358,0.967064,
			-0.419267,-0.333579,0.844358,0.967064,
			-0.196881,0.438461,0.876921,0.965287,
			-0.196881,0.438461,0.876921,0.965287,
			-0.196881,0.438461,0.876921,0.965287,
			0.196881,0.438461,0.876921,0.965287,
			0.196881,0.438461,0.876921,0.965287,
			0.196881,0.438461,0.876921,0.965287,
			-0.196881,-0.438461,-0.876921,0.965287,
			-0.196881,-0.438461,-0.876921,0.965287,
			-0.196881,-0.438461,-0.876921,0.965287,
			0.196881,-0.438461,-0.876921,0.965287,
			0.196881,-0.438461,-0.876921,0.965287,
			0.196881,-0.438461,-0.876921,0.965287,
			-0.000000,-0.982247,-0.187592,0.967079,
			-0.000000,-0.982247,-0.187592,0.967079,
			-0.000000,-0.982247,-0.187592,0.967079,
			0.815548,-0.351300,-0.459858,0.966131,
			0.815548,-0.351300,-0.459858,0.966131,
			0.815548,-0.351300,-0.459858,0.966131,
			-0.542035,0.510148,0.667793,0.966131,
			-0.542035,0.510148,0.667793,0.966131,
			-0.542035,0.510148,0.667793,0.966131,
			0.000000,0.982247,0.187592,0.967079,
			0.000000,0.982247,0.187592,0.967079,
			0.000000,0.982247,0.187592,0.967079,
			-1.372326,1.450645,-0.111141,0.948752,
			-0.686163,0.725322,-0.055571,0.948752,
			-1.372326,1.450645,-0.111141,0.948752,
			-0.686163,0.725322,-0.055571,0.948752,
			0.000000,-2.000000,0.000000,0.948345,
			0.000000,-1.000000,0.000000,0.948345,
			0.000000,-2.000000,0.000000,0.948345,
			0.000000,-1.000000,0.000000,0.948345,
			-0.381567,1.891716,0.525182,0.939063,
			-0.190784,0.945858,0.262591,0.939063,
			-0.381567,1.891716,0.525182,0.939063,
			-0.190784,0.945858,0.262591,0.939063,
			-0.000000,0.894428,1.788854,0.948820,
			-0.000000,0.447214,0.894427,0.948820,
			-0.000000,0.894428,1.788854,0.948820,
			-0.000000,0.447214,0.894427,0.948820,
			-1.078809,1.050175,1.316550,0.947420,
			-0.539404,0.525088,0.658275,0.947420,
			-1.078809,1.050175,1.316550,0.947420,
			-0.539404,0.525088,0.658275,0.947420,
			-1.656043,1.049067,-0.396208,0.945887,
			-0.828022,0.524533,-0.198104,0.945887,
			-1.656043,1.049067,-0.396208,0.945887,
			-0.828022,0.524533,-0.198104,0.945887,
			0.000000,0.894428,1.788854,0.948820,
			0.000000,0.447214,0.894427,0.948820,
			0.000000,0.894428,1.788854,0.948820,
			0.000000,0.447214,0.894427,0.948820,
			1.622868,0.005102,-1.168878,0.947420,
			0.811434,0.002551,-0.584439,0.947419,
			1.622868,0.005102,-1.168878,0.947420,
			0.811434,0.002551,-0.584439,0.947420,
			1.686267,0.870590,0.631330,0.946780,
			0.843133,0.435295,0.315665,0.946780,
			1.686267,0.870590,0.631330,0.946780,
			0.843134,0.435295,0.315665,0.946780,
			1.712581,0.837866,0.604191,0.948221,
			0.856291,0.418933,0.302095,0.948221,
			1.712581,0.837866,0.604191,0.948221,
			0.856291,0.418933,0.302095,0.948221,
			-0.000000,2.000000,-0.000000,0.948345,
			-0.000000,1.000000,-0.000000,0.948345,
			-0.000000,2.000000,-0.000000,0.948345,
			-0.000000,1.000000,-0.000000,0.948345,
			0.814474,1.442197,1.121027,0.930617,
			0.407237,0.721098,0.560514,0.930618,
			0.814474,1.442197,1.121027,0.930617,
			0.407237,0.721099,0.560513,0.930617,
			0.672668,-1.640220,0.925848,0.930617,
			0.336334,-0.820110,0.462924,0.930617,
			0.672668,-1.640220,0.925848,0.930617,
			0.336334,-0.820110,0.462924,0.930617,
			-0.000000,-2.000000,0.000000,0.948345,
			-0.000000,-1.000000,0.000000,0.948345,
			-0.000000,-2.000000,0.000000,0.948345,
			0.000000,-1.000000,0.000000,0.948345,
			0.319651,-1.449976,1.339923,0.948221,
			0.159825,-0.724988,0.669962,0.948221,
			0.319651,-1.449976,1.339923,0.948221,
			0.159825,-0.724988,0.669962,0.948221,
			-0.505268,-0.645404,1.824324,0.946780,
			-0.252634,-0.322702,0.912162,0.946780,
			-0.505268,-0.645404,1.824324,0.946780,
			-0.252634,-0.322702,0.912162,0.946780,
			-1.116611,0.399587,1.610438,0.948469,
			-0.558306,0.199793,0.805219,0.948469,
			-1.116611,0.399587,1.610438,0.948469,
			-0.558306,0.199793,0.805219,0.948469,
			-0.000000,-0.894428,-1.788854,0.948820,
			0.000000,-0.447214,-0.894427,0.948820,
			-0.000000,-0.894428,-1.788854,0.948820,
			-0.000000,-0.447214,-0.894427,0.948820,
			-0.375788,-0.153138,1.958400,0.945887,
			-0.187894,-0.076569,0.979200,0.945887,
			-0.375788,-0.153138,1.958400,0.945887,
			-0.187894,-0.076569,0.979200,0.945887,
			1.569664,-0.961352,-0.782276,0.948469,
			0.784832,-0.480676,-0.391138,0.948469,
			1.569664,-0.961352,-0.782276,0.948469,
			0.784832,-0.480676,-0.391138,0.948469,
			0.000000,-0.894428,-1.788854,0.948820,
			-0.000000,-0.447214,-0.894427,0.948820,
			0.000000,-0.894428,-1.788854,0.948820,
			0.000000,-0.447214,-0.894427,0.948820,
			-1.045908,-0.913080,1.439570,0.939063,
			-0.522954,-0.456540,0.719785,0.939063,
			-1.045908,-0.913080,1.439570,0.939063,
			-0.522954,-0.456540,0.719785,0.939063,
			0.000000,2.000000,-0.000000,0.948345,
			0.000000,1.000000,-0.000000,0.948345,
			0.000000,2.000000,-0.000000,0.948345,
			-0.000000,1.000000,-0.000000,0.948345,
			-1.040241,-0.906159,1.448024,0.948752,
			-0.520121,-0.453080,0.724012,0.948752,
			-1.040241,-0.906159,1.448024,0.948752,
			-0.520121,-0.453080,0.724012,0.948752,
			-1.820742,0.435088,-0.703987,0.942301,
			-0.910371,0.217544,-0.351993,0.942301,
			-1.820742,0.435088,-0.703987,0.942301,
			-0.910371,0.217544,-0.351993,0.942301,
			-1.034966,-0.899729,1.455793,0.942301,
			-0.517483,-0.449865,0.727897,0.942301,
			-1.034966,-0.899729,1.455793,0.942301,
			-0.517483,-0.449865,0.727897,0.942301,
			0.000000,0.894428,1.788854,0.948820,
			0.000000,0.447214,0.894427,0.948820,
			0.000000,0.894428,1.788854,0.948820,
			0.000000,0.447214,0.894427,0.948820,
			0.000000,-0.894428,-1.788854,0.948820,
			0.000000,-0.447214,-0.894427,0.948820,
			0.000000,-0.894428,-1.788854,0.948820,
			0.000000,-0.447214,-0.894427,0.948820,
			0.000000,-1.701302,-1.051462,0.948820,
			0.000000,-0.850651,-0.525731,0.948820,
			0.000000,-1.701302,-1.051462,0.948820,
			0.000000,-0.850651,-0.525731,0.948820,
			0.000000,1.701302,1.051462,0.948820,
			0.000000,0.850651,0.525731,0.948820,
			0.000000,1.701302,1.051462,0.948820,
			0.000000,0.850651,0.525731,0.948820,
			-1.460390,2.605705,0.278498,0.919238,
			-0.486797,0.868568,0.092833,0.919238,
			-0.973593,1.737137,0.185666,0.919238,
			-0.973593,1.737137,0.185666,0.919238,
			-0.486797,0.868568,0.092833,0.919238,
			-0.094548,-1.704491,2.466936,0.922641,
			-0.031516,-0.568164,0.822312,0.922641,
			-0.063032,-1.136327,1.644624,0.922641,
			-0.063032,-1.136327,1.644624,0.922641,
			-0.031516,-0.568164,0.822312,0.922641,
			1.571230,2.025593,1.558271,0.922641,
			0.523743,0.675198,0.519424,0.922641,
			1.047487,1.350396,1.038847,0.922641,
			1.047487,1.350396,1.038847,0.922641,
			0.523743,0.675198,0.519424,0.922641,
			-0.724556,-0.403646,2.883069,0.919238,
			-0.241519,-0.134549,0.961023,0.919238,
			-0.483038,-0.269097,1.922046,0.919238,
			-0.483038,-0.269097,1.922046,0.919238,
			-0.241519,-0.134549,0.961023,0.919238,
			-0.000000,-2.551953,-1.577193,0.894374,
			-0.000000,-0.850651,-0.525731,0.894374,
			-0.000000,-1.701302,-1.051462,0.894374,
			0.000000,-1.701302,-1.051462,0.894374,
			0.000000,-0.850651,-0.525731,0.894374,
			0.000000,2.551953,1.577193,0.894374,
			0.000000,0.850651,0.525731,0.894374,
			0.000000,1.701302,1.051462,0.894374,
			0.000000,1.701302,1.051462,0.894374,
			0.000000,0.850651,0.525731,0.894374,
			0.000000,-2.551953,-1.577193,0.894374,
			0.000000,-0.850651,-0.525731,0.894374,
			0.000000,-1.701302,-1.051462,0.894374,
			0.000000,-1.701302,-1.051462,0.894374,
			0.000000,-0.850651,-0.525731,0.894374,
			0.000000,2.551953,1.577193,0.894374,
			-0.000000,0.850651,0.525731,0.894374,
			-0.000000,1.701302,1.051462,0.894374,
			0.000000,1.701302,1.051462,0.894374,
			0.000000,0.850651,0.525731,0.894374,
			-0.000000,-2.683281,1.341641,0.922977,
			-0.000001,-0.894427,0.447214,0.922977,
			-0.000000,-1.788854,0.894428,0.922977,
			0.000000,-1.788854,0.894428,0.922977,
			0.000000,-0.894427,0.447214,0.922977,
			2.435617,-0.000000,-1.751505,0.921496,
			0.811872,-0.000000,-0.583835,0.921496,
			1.623745,-0.000000,-1.167670,0.921496,
			1.623745,-0.000000,-1.167670,0.921496,
			0.811873,-0.000000,-0.583835,0.921496,
			-1.610765,0.000000,2.530896,0.921496,
			-0.536922,0.000000,0.843632,0.921496,
			-1.073843,0.000000,1.687264,0.921496,
			-1.073843,0.000000,1.687264,0.921496,
			-0.536922,0.000000,0.843632,0.921496,
			-0.000000,2.683281,-1.341641,0.922977,
			-0.000000,0.894427,-0.447214,0.922977,
			-0.000000,1.788854,-0.894428,0.922977,
			0.000000,1.788854,-0.894428,0.922977,
			0.000000,0.894427,-0.447214,0.922977,

			240, 
			"TEX_COORD_UV0", 
			"Texcoord", 
			0.378352,0.229393,
			0.464014,0.223050,
			0.411072,0.314404,
			0.362046,0.754572,
			0.442230,0.694440,
			0.437092,0.796518,
			0.727228,0.964127,
			0.667096,0.883942,
			0.769174,0.889080,
			0.017024,0.467674,
			0.102686,0.461331,
			0.049744,0.552685,
			0.703679,0.229393,
			0.670959,0.314404,
			0.618018,0.223050,
			0.631503,0.936865,
			0.564648,0.882812,
			0.657486,0.840065,
			0.909521,0.694669,
			0.855468,0.761524,
			0.812721,0.668686,
			0.342351,0.467674,
			0.309631,0.552685,
			0.256689,0.461331,
			0.865962,0.188409,
			0.872689,0.290720,
			0.777833,0.244724,
			0.811983,0.489626,
			0.723153,0.540775,
			0.729226,0.435704,
			0.487673,0.546358,
			0.433751,0.463601,
			0.538821,0.457528,
			0.188409,0.283931,
			0.244724,0.195802,
			0.290720,0.290658,
			0.431571,0.142320,
			0.476606,0.052250,
			0.532273,0.142320,
			0.658272,0.002211,
			0.613237,0.092281,
			0.557571,0.002211,
			0.068290,0.002211,
			0.168991,0.002211,
			0.113325,0.092281,
			0.294991,0.142320,
			0.194290,0.142320,
			0.249956,0.052250,
			0.541016,0.270279,
			0.593957,0.361633,
			0.488074,0.361633,
			0.768729,0.795811,
			0.666651,0.790673,
			0.725981,0.702973,
			0.530361,0.796072,
			0.535499,0.693995,
			0.623199,0.753325,
			0.179688,0.508560,
			0.232629,0.599914,
			0.126746,0.599914,
			0.817422,0.107970,
			0.865962,0.188409,
			0.777833,0.244724,
			0.729293,0.164285,
			0.464014,0.223050,
			0.541016,0.270279,
			0.488074,0.361633,
			0.411072,0.314404,
			0.736776,0.065492,
			0.796201,0.002239,
			0.876847,0.044717,
			0.817422,0.107970,
			0.678739,0.142320,
			0.613237,0.092281,
			0.658272,0.002211,
			0.723774,0.052250,
			0.442230,0.694440,
			0.535499,0.693995,
			0.530361,0.796072,
			0.437092,0.796518,
			0.962113,0.277181,
			0.872689,0.290720,
			0.865962,0.188409,
			0.955387,0.174870,
			0.411105,0.002211,
			0.476606,0.052250,
			0.431571,0.142320,
			0.366070,0.092281,
			0.667096,0.883942,
			0.666651,0.790673,
			0.768729,0.795811,
			0.769174,0.889080,
			0.362181,0.521442,
			0.433751,0.463601,
			0.487673,0.546358,
			0.416103,0.604199,
			0.568925,0.595367,
			0.487673,0.546358,
			0.538821,0.457528,
			0.620073,0.506537,
			0.102686,0.461331,
			0.179688,0.508560,
			0.126746,0.599914,
			0.049744,0.552685,
			0.661256,0.600826,
			0.639903,0.688956,
			0.547572,0.683497,
			0.568925,0.595367,
			0.860992,0.570878,
			0.949123,0.549525,
			0.954581,0.641857,
			0.866451,0.663210,
			0.670959,0.314404,
			0.593957,0.361633,
			0.541016,0.270279,
			0.618018,0.223050,
			0.772162,0.622027,
			0.723153,0.540775,
			0.811983,0.489626,
			0.860992,0.570878,
			0.869824,0.418057,
			0.811983,0.489626,
			0.729226,0.435704,
			0.787067,0.364134,
			0.564648,0.882812,
			0.530361,0.796072,
			0.623199,0.753325,
			0.657486,0.840065,
			0.360493,0.092281,
			0.294991,0.142320,
			0.249956,0.052250,
			0.315458,0.002211,
			0.174870,0.373356,
			0.188409,0.283931,
			0.290720,0.290658,
			0.277181,0.380082,
			0.855468,0.761524,
			0.768729,0.795811,
			0.725981,0.702973,
			0.812721,0.668686,
			0.002788,0.052250,
			0.068290,0.002211,
			0.113325,0.092281,
			0.047823,0.142320,
			0.107970,0.235391,
			0.044717,0.294815,
			0.002239,0.214169,
			0.065492,0.154745,
			0.309631,0.552685,
			0.232629,0.599914,
			0.179688,0.508560,
			0.256689,0.461331,
			0.164285,0.147262,
			0.244724,0.195802,
			0.188409,0.283931,
			0.107970,0.235391,
			0.872689,0.290720,
			0.833933,0.359089,
			0.739077,0.313093,
			0.777833,0.244724,
			0.359089,0.251902,
			0.290720,0.290658,
			0.244724,0.195802,
			0.313093,0.157045,
			0.476606,0.052250,
			0.557571,0.002211,
			0.613237,0.092281,
			0.532273,0.142320,
			0.168991,0.002211,
			0.249956,0.052250,
			0.194290,0.142320,
			0.113325,0.092281,
			0.593957,0.361633,
			0.593957,0.447275,
			0.488074,0.447275,
			0.488074,0.361633,
			0.126746,0.685557,
			0.126746,0.599914,
			0.232629,0.599914,
			0.232629,0.685557,
			0.865962,0.188409,
			0.817422,0.107970,
			0.876847,0.044717,
			0.962113,0.086064,
			0.955387,0.174870,
			0.860992,0.570878,
			0.811983,0.489626,
			0.869824,0.418057,
			0.954581,0.455076,
			0.949123,0.549525,
			0.416103,0.604199,
			0.487673,0.546358,
			0.568925,0.595367,
			0.547572,0.683497,
			0.453123,0.688956,
			0.188409,0.283931,
			0.174870,0.373356,
			0.086064,0.380082,
			0.044717,0.294815,
			0.107970,0.235391,
			0.363482,0.370858,
			0.411072,0.314404,
			0.488074,0.361633,
			0.488074,0.447275,
			0.411072,0.452977,
			0.049744,0.691258,
			0.002154,0.609139,
			0.049744,0.552685,
			0.126746,0.599914,
			0.126746,0.685557,
			0.670959,0.314404,
			0.718549,0.370858,
			0.670959,0.452977,
			0.593957,0.447275,
			0.593957,0.361633,
			0.357221,0.609139,
			0.309631,0.691258,
			0.232629,0.685557,
			0.232629,0.599914,
			0.309631,0.552685,
			0.493426,0.146633,
			0.588605,0.146633,
			0.618018,0.223050,
			0.541016,0.270279,
			0.464014,0.223050,
			0.909521,0.833603,
			0.856188,0.912437,
			0.769174,0.889080,
			0.768729,0.795811,
			0.855468,0.761524,
			0.492569,0.936865,
			0.413735,0.883532,
			0.437092,0.796518,
			0.530361,0.796072,
			0.564648,0.882812,
			0.132098,0.384914,
			0.227277,0.384914,
			0.256689,0.461331,
			0.179688,0.508560,
			0.102686,0.461331,

		}

		SI_PolygonList Rhombicosidodecahedron { 
			62, 
			"NORMAL|COLOR|TEX_COORD_UV0", 
			"DefaultLib.Scene_Material", 
			240, 
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			3,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			4,
			5,
			5,
			5,
			5,
			5,
			5,
			5,
			5,
			5,
			5,
			5,
			5,

			0,1,2,
			3,4,5,
			6,7,8,
			9,10,11,
			12,13,14,
			15,16,17,
			18,19,20,
			21,22,23,
			24,25,26,
			27,28,29,
			30,31,32,
			33,34,35,
			36,37,38,
			39,40,41,
			42,43,44,
			45,46,47,
			48,49,50,
			51,52,53,
			54,55,56,
			57,58,59,
			0,24,26,1,
			1,48,50,2,
			2,36,38,0,
			3,40,39,4,
			4,55,54,5,
			5,25,24,3,
			6,37,36,7,
			7,52,51,8,
			8,31,30,6,
			9,30,32,10,
			10,57,59,11,
			11,39,41,9,
			12,43,42,13,
			13,49,48,14,
			14,28,27,12,
			15,27,29,16,
			16,54,56,17,
			17,45,47,15,
			18,33,35,19,
			19,51,53,20,
			20,42,44,18,
			21,46,45,22,
			22,58,57,23,
			23,34,33,21,
			25,29,28,26,
			31,35,34,32,
			37,41,40,38,
			43,47,46,44,
			49,53,52,50,
			55,59,58,56,
			24,0,38,40,3,
			12,27,15,47,43,
			6,30,9,41,37,
			33,18,44,46,21,
			36,2,50,52,7,
			4,39,11,59,55,
			13,42,20,53,49,
			45,17,56,58,22,
			26,28,14,48,1,
			35,31,8,51,19,
			29,25,5,54,16,
			32,34,23,57,10,

			0,1,2,
			3,4,5,
			6,7,8,
			9,10,11,
			12,13,14,
			15,16,17,
			18,19,20,
			21,22,23,
			24,25,26,
			27,28,29,
			30,31,32,
			33,34,35,
			36,37,38,
			39,40,41,
			42,43,44,
			45,46,47,
			48,49,50,
			51,52,53,
			54,55,56,
			57,58,59,
			60,61,62,63,
			64,65,66,67,
			68,69,70,71,
			72,73,74,75,
			76,77,78,79,
			80,81,82,83,
			84,85,86,87,
			88,89,90,91,
			92,93,94,95,
			96,97,98,99,
			100,101,102,103,
			104,105,106,107,
			108,109,110,111,
			112,113,114,115,
			116,117,118,119,
			120,121,122,123,
			124,125,126,127,
			128,129,130,131,
			132,133,134,135,
			136,137,138,139,
			140,141,142,143,
			144,145,146,147,
			148,149,150,151,
			152,153,154,155,
			156,157,158,159,
			160,161,162,163,
			164,165,166,167,
			168,169,170,171,
			172,173,174,175,
			176,177,178,179,
			180,181,182,183,184,
			185,186,187,188,189,
			190,191,192,193,194,
			195,196,197,198,199,
			200,201,202,203,204,
			205,206,207,208,209,
			210,211,212,213,214,
			215,216,217,218,219,
			220,221,222,223,224,
			225,226,227,228,229,
			230,231,232,233,234,
			235,236,237,238,239,

			0,1,2,
			3,4,5,
			6,7,8,
			9,10,11,
			12,13,14,
			15,16,17,
			18,19,20,
			21,22,23,
			24,25,26,
			27,28,29,
			30,31,32,
			33,34,35,
			36,37,38,
			39,40,41,
			42,43,44,
			45,46,47,
			48,49,50,
			51,52,53,
			54,55,56,
			57,58,59,
			60,61,62,63,
			64,65,66,67,
			68,69,70,71,
			72,73,74,75,
			76,77,78,79,
			80,81,82,83,
			84,85,86,87,
			88,89,90,91,
			92,93,94,95,
			96,97,98,99,
			100,101,102,103,
			104,105,106,107,
			108,109,110,111,
			112,113,114,115,
			116,117,118,119,
			120,121,122,123,
			124,125,126,127,
			128,129,130,131,
			132,133,134,135,
			136,137,138,139,
			140,141,142,143,
			144,145,146,147,
			148,149,150,151,
			152,153,154,155,
			156,157,158,159,
			160,161,162,163,
			164,165,166,167,
			168,169,170,171,
			172,173,174,175,
			176,177,178,179,
			180,181,182,183,184,
			185,186,187,188,189,
			190,191,192,193,194,
			195,196,197,198,199,
			200,201,202,203,204,
			205,206,207,208,209,
			210,211,212,213,214,
			215,216,217,218,219,
			220,221,222,223,224,
			225,226,227,228,229,
			230,231,232,233,234,
			235,236,237,238,239,

			0,1,2,
			3,4,5,
			6,7,8,
			9,10,11,
			12,13,14,
			15,16,17,
			18,19,20,
			21,22,23,
			24,25,26,
			27,28,29,
			30,31,32,
			33,34,35,
			36,37,38,
			39,40,41,
			42,43,44,
			45,46,47,
			48,49,50,
			51,52,53,
			54,55,56,
			57,58,59,
			60,61,62,63,
			64,65,66,67,
			68,69,70,71,
			72,73,74,75,
			76,77,78,79,
			80,81,82,83,
			84,85,86,87,
			88,89,90,91,
			92,93,94,95,
			96,97,98,99,
			100,101,102,103,
			104,105,106,107,
			108,109,110,111,
			112,113,114,115,
			116,117,118,119,
			120,121,122,123,
			124,125,126,127,
			128,129,130,131,
			132,133,134,135,
			136,137,138,139,
			140,141,142,143,
			144,145,146,147,
			148,149,150,151,
			152,153,154,155,
			156,157,158,159,
			160,161,162,163,
			164,165,166,167,
			168,169,170,171,
			172,173,174,175,
			176,177,178,179,
			180,181,182,183,184,
			185,186,187,188,189,
			190,191,192,193,194,
			195,196,197,198,199,
			200,201,202,203,204,
			205,206,207,208,209,
			210,211,212,213,214,
			215,216,217,218,219,
			220,221,222,223,224,
			225,226,227,228,229,
			230,231,232,233,234,
			235,236,237,238,239,

		}

	}

}

 

 

Link to comment

I just exported my own file since I don't see the point at all of trading files back and forth.

It's also about seeing if the dotXSI file and it's tangent data stored under the SI_Shape template's COLOR property is used at all by xNormal-- if not then there is no point to updating the dotXSI exporters. We were wanting you to take @@Psyk0Sith's box files and see if you produce the same or different normal map... when you add the tangents property to dotXSI 3.5.

Link to comment

Do you want me to add just the tangents or binormals too?

3 cases:

 

1. Binormals only

2. Tangents only

3. Tangents and Binormals.

 

I'm somewhat confused because I don't see how the COLOR RGBA float value can store two vectors unless it appends one set at the end of another. My hunch is that it only ever writes out the "tangents" to COLOR and it expects the binormal to be created from cross product of triangle face normal and tangent vector... but you can prove me wrong. Oh, and these need to be triangulated meshes as I understand it.

Link to comment

So here's an idea that might be better...

 

@@Xycaleth wrote an fbx > mdl converter, right? So why not modify that to export the new .GTB file containing the tangents and binormals found in the fbx, which can then be read by the importer.

 

That way, you're no longer relient on xNormal, and instead can use the fbx format for your low poly when baking and texturing in the now industry standard substance tools, marmoset toolbag, or knald baker. And because the .GTB file will contain the tangents and binormals that the fbx had, you can be sure they are synced to the normal map bake as well.

 

edit: this also breaks reliance on the now depricated .xsi formats in favour of a more widely used current format.

Link to comment

So here's an idea that might be better...

 

@@Xycaleth wrote an fbx > mdl converter, right? So why not modify that to export the new .GTB file containing the tangents and binormals found in the fbx, which can then be read by the importer.

 

That way, you're no longer relient on xNormal, and instead can use the fbx format for your low poly when baking and texturing in the now industry standard substance tools, marmoset toolbag, or knald baker. And because the .GTB file will contain the tangents and binormals that the fbx had, you can be sure they are synced to the normal map bake as well.

 

edit: this also breaks reliance on the now depricated .xsi formats in favour of a more widely used current format.

I do agree that his tool should be updated to generate this *.GTB file from an FBX for use by the rend2 renderer.

 

But we still need Carcass and dotXSI files to generate the Ghoul2 .GLA animation file. It's the only tool available (besides Blender) to compile Ghoul2 animations. @@Xycaleth's FBX2GLM converter only creates a static GLM mesh file... and I'm not sure if it handles LODs-- others would know.

 

So non-Blender users would still be able to use the GLM file produced by Carcass, right? This forces the pipeline to use only FBX for normal and cavity maps, right? (do AO maps need this data?)

 

So that everyone knows, I wrote an email to Santiago and Grant asking if they would release to me the their deprecated dotXSI mesh importer plugin source code...

Link to comment

The FBX->GLM converter does not do LOD's, I'm pretty sure he said something about that a few pages back.

 

Does Raven really even care so much about tools for a game that's approaching 15 years of age? Can we not modify things to get the results we want? You also have to COMPLETELY FORGET ABOUT LEGACY AND COMPATIBILITY, this is not a simple model we're trying to make work in the base game. This is a stand alone product that will only need the game discs for CD checks, other than that once we get into the realm of changing the models/maps to use PBR we wont be using any base assets other than the character animations which can be converted into any format we desire. We're not charging money for this so using the animations isn't going to be problem. If anything if this thing sees the light of day Raven would make money due to people spending the $5 or so bucks it costs to buy the game on steam to be able to play the TC.

 

It seems like at this point we either need to alter the GLM format for DF2 and DF2 alone to make the models up to 2017 standards or deal with being outdated.

 

The other method which may not see any progress is the FBX->GLM converter to spit out a tangent/binormal data file but then it'd also have to be updated to do everthing which brings us back to carcass and making something to replace it or do what it does but more.

 

I would love to use a more current substance pipeline with marmoset.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...