View Single Post
# 5 25-05-2006 , 11:06 PM
MattTheMan's Avatar
Registered User
Join Date: Apr 2005
Location: Fairfield, CT
Posts: 2,436
well- I can get diffuse and phong materials exported.

Code:
<?xml version='1.0' standalone=no>
<!--Exported from Maya-->

<scene>

<renderer_settings>
	<width>640</width>
	<height>480</height>
	<metropolis>true</metropolis>
	<large_mutation_prob>0.2</large_mutation_prob>
	<max_change>0.025</max_change>
	<russian_roulette_live_prob>0.7</russian_roulette_live_prob>
	<max_depth>1000</max_depth>
	<bidirectional>true</bidirectional>
	<strata_width>10</strata_width>
	<frame_upload_period>20</frame_uplod_period>
	<halt_time>-1</halt_time>
	<logging>true</logging>
	<image_save_period>30</image_save_period>
	<save_tonemapped_exr>false</save_tonemapped_exr>
	<save_untonemapped_exr>false</save_untonemapped_exr>
</renderer_settings>

	<tonemapping>		<reinhard>
			<pre_scale>2.0</pre_scale>
			<post_scale>1.0</post_scale>
		</reinhard>

		<colour_correction>1.0 1.0 1.0</colour_correction>
	</tonemapping>

<camera>
	<pos>0 -5.06812214 4.74225765</pos>
	<up>0 0.5252816443 0.8509284307</up>
	<forewards>0 0.9012067486 -0.4333894279</forewards>
	<aperture_radius>0.03125</aperture_radius>
	<focus_distance>5.816917335</focus_distance>
	<aspect_ratio>1.333330035</asect_ratio>
	<sensor_width>0.036</sensor_width>
	<lens_sensor_dist>0.0523314</lens_sensor_dist>
	<white_balance>D65</white_balance>
</camera>

	<!--Materials--!>
	<!--Credits partially to LaLiLuLeLo, also with the models!!!--!>
<material>
	<name>lambert1</name>
	<diffuse>
		</colour>0.5 0.5 0.5</colour>
	</diffuse>
</material>

<material>
	<phong>
		<name>phong1</name>
		<diffuse>0 0.5 0.1034166962</diffuse>
		<specular>0.55400002 0.04321199656 0</specular>
		<exponent>120</exponent>
	</phong>
</material>
	<!--Actual Model Starts Here. --!>
That was exported with my script!!!!

I won't post code because I really don't want to be plaigerized, since my exporter is the only one around for Maya! (apart from LaLiLuLeLo from the flipcode forums, and his doens't work with Indigo 0.5)

Mine doesn't either but it will in an hour or two.

Later,
Matt


Live the life you love, love the life you live