Need help with texture for the xml format

Announcements, requests and support regarding the MAYA exporter
Post Reply
8 posts • Page 1 of 1
MattMR2
Posts: 28
Joined: Sun Sep 24, 2006 4:28 am

Need help with texture for the xml format

Post by MattMR2 » Thu Nov 16, 2006 11:03 pm

Hello,

Yeah nice the new script to export from maya :wink:

This question is for indigo v0.6, the last official released

I have just a simple question, I just need the xml code for put texture (diffuse map and bump map) in materials... in a word, could you post here exemple to how the texture is put in the material for phong, diffuse and all xml bloc I can put textures ?

Thanks a lot

Ps : maybe I have idea for material and texture for your script... so I just need to ask to our scripter some questions this week (extra attributs more flexible than extracted data from maya shader like the first mayall for maxwell)

Matt

User avatar
ThatDude33
Posts: 216
Joined: Wed Jul 05, 2006 1:26 pm
Contact:

Post by ThatDude33 » Fri Nov 17, 2006 12:22 am

well I'm working on an object/material editor so you can edit the materials more naturally. but fire your questions away :D
Matt B. >>Maya To Indigo<<
Image

MattMR2
Posts: 28
Joined: Sun Sep 24, 2006 4:28 am

Post by MattMR2 » Fri Nov 17, 2006 2:27 am

Lol, oki... but Can you give me anyway an example please for my personnal knowledge please :)

example for the diffuse and phong (file and bump) a simple copy / paste xml's codes

Thanks

Matt

User avatar
ThatDude33
Posts: 216
Joined: Wed Jul 05, 2006 1:26 pm
Contact:

Post by ThatDude33 » Fri Nov 17, 2006 10:36 am

resource for all the materials in the xml code 8)

http://www.indigorenderer.com/joomla/in ... &Itemid=67
Matt B. >>Maya To Indigo<<
Image

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Fri Nov 17, 2006 8:08 pm

If I was to rely on the reference only, I would say that texturing is not implemented...

But in the 0.6 test 2 it's said that feature (bump and textures) are implemented; I couldn't find any description on how in the whole site. Google outputs merely a tenth of hints regarding the word "texture", none showing the little single param.

<material>
<name>mytexturedmat</name>
<diffuse>
... <- please help with this one, or get a link ?
</diffuse>
</material>

thank you, talking to any informed user here, not to devs only !

User avatar
ThatDude33
Posts: 216
Joined: Wed Jul 05, 2006 1:26 pm
Contact:

Post by ThatDude33 » Sat Nov 18, 2006 8:29 am

Code: Select all

<scenedata>

		<material>
			<name>01 - Default</name>
			<diffuse>
				<colour>0.501961 0.501961 0.501961</colour>
			<albedo_texture>
				<uv_set>01 - Default-diffuse</uv_set>
				<path>Textures/wallpaper_green.jpg</path>
				<gain>1.0</gain>
				<exponent>2.2</exponent>
			</albedo_texture>
			</diffuse>

		</material>

		<material>
			<name>02 - Default</name>
			<phong>
				<diffuse>0.501961 0.501961 0.501961</diffuse>
				<specular>0.1 0.1 0.1</specular>
				<exponent>22026.5</exponent>
				<fresnel_scale>1.0</fresnel_scale>
			<albedo_texture>
				<uv_set>02 - Default-diffuse</uv_set>
				<path>Textures/Fabric_003.jpg</path>
				<gain>1.0</gain>
				<exponent>2.2</exponent>
			</albedo_texture>
			<bump_map>
				<uv_set>02 - Default-bump</uv_set>
				<path>Textures/Sample_Wood18Bump.jpg</path>
				<gain>0.01</gain>
				<exponent>1.0</exponent>
			</bump_map>
			</phong>
		</material>

</scenedata>
:)
Matt B. >>Maya To Indigo<<
Image

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Sat Nov 18, 2006 11:17 am

Thanks, thats one step ahead !

MattMR2
Posts: 28
Joined: Sun Sep 24, 2006 4:28 am

Post by MattMR2 » Sun Nov 19, 2006 3:57 am

Yeah thanks a lot :D

Matt

Post Reply
8 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 14 guests