Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 25-May-2014 16:23:47

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 271

Not exported displacement texture of 3d model with Easy Ogre Exporter

Not exported displacement texture of 3d model with Easy Ogre Exporter 1,6(3ds max 2012 x64)
result
in "*.material" file its not written

material "terrain_grass00"
{
	technique terrain_grass00_technique
	{
		pass terrain_grass00_standard
		{
			ambient 1 1 1 1
			diffuse 1 1 1 1
			specular 1 1 1 0 25.5
			emissive 0 0 0 1

			texture_unit terrain_grass00_Diffuse#0
			{
				texture xshaders/bitmap/grass00.jpg
				tex_coord_set 0
				colour_op modulate
			}

			texture_unit terrain_grass00_Specular#1
			{
				texture xshaders/bitmap/grass00_SPEC.jpg
				tex_coord_set 0
				colour_op modulate
			}

			texture_unit terrain_grass00_Self-Illumination#2
			{
				texture xshaders/bitmap/grass00_OCC.jpg
				tex_coord_set 0
				colour_op modulate
			}

			texture_unit terrain_grass00_Normal#3
			{
				texture xshaders/bitmap/grass00_NRM.jpg
				tex_coord_set 0
				colour_op modulate
			}
		}
	}
}
material "terrain_tree00"
{
	technique terrain_tree00_technique
	{
		pass terrain_tree00_standard
		{
			cull_hardware none
			cull_software none
			ambient 1 1 1 1
			diffuse 1 1 1 1
			specular 1 1 1 0 25.5
			emissive 0 0 0 1

			scene_blend alpha_blend
			depth_write off

			texture_unit terrain_tree00_Diffuse#0
			{
				texture xshaders/bitmap/tree00.png
				tex_coord_set 0
				colour_op modulate
			}

			texture_unit terrain_tree00_Specular#1
			{
				texture xshaders/bitmap/tree00_SPEC.jpg
				tex_coord_set 0
				colour_op modulate
			}

			texture_unit terrain_tree00_Self-Illumination#2
			{
				texture xshaders/bitmap/tree00_OCC.jpg
				tex_coord_set 0
				colour_op modulate
			}

			texture_unit terrain_tree00_Unknown#3
			{
				texture xshaders/bitmap/tree00.png
				tex_coord_set 0
				colour_op modulate
			}

			texture_unit terrain_tree00_Normal#4
			{
				texture xshaders/bitmap/tree00_NRM.jpg
				tex_coord_set 0
				colour_op modulate
			}
		}
	}
}

How to correctly set the settings to export the correct material?

Last edited by el_motoblock (25-May-2014 16:26:23)

Offline

#2 25-May-2014 17:02:08

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Not exported displacement texture of 3d model with Easy Ogre Exporter

the exporter do not manage mental ray materials
You should create a standard material

and let the exporter generating shaders (in export options)

it manage normal map but not "bump" / "displacement" textures

Offline

#3 27-May-2014 07:48:09

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 271

Re: Not exported displacement texture of 3d model with Easy Ogre Exporter

thanks

Offline

Board footer

Powered by FluxBB