
Materials don't work
Hey, my mother used to say if you can't say anything nice, don't say anything at all. People are working on it for free, giving away for free, plus the render is in the developing and testing process... I am not sure what kind of expectations there should be??bazuka wrote:im also getting the same error here (maya 8 ), and i got it why (stupid exporter) sorry man my politic is if you do something do it right or dont do it at all...
if u dont use default lamber1 from maya you will get error
Error: No object matches name: lightLinker1.incandescence
for every other material, so i dont know how i can use more than one material?!
cheers
Can some one with Maya 8.0 try this fast?
http://www.elqx.com/sm/indigo/v0.6beta2/mtiMain.mel
http://www.elqx.com/sm/indigo/v0.6beta2/mtiGen.mel
Save to script folder
(the individual normal smoothing is in there too..)

http://www.elqx.com/sm/indigo/v0.6beta2/mtiMain.mel
http://www.elqx.com/sm/indigo/v0.6beta2/mtiGen.mel
Save to script folder
(the individual normal smoothing is in there too..)
well your mother is right, im still nice...ICY wrote:Hey, my mother used to say if you can't say anything nice, don't say anything at all. People are working on it for free, giving away for free, plus the render is in the developing and testing process... I am not sure what kind of expectations there should be??bazuka wrote:im also getting the same error here (maya 8 ), and i got it why (stupid exporter) sorry man my politic is if you do something do it right or dont do it at all...
if u dont use default lamber1 from maya you will get error
Error: No object matches name: lightLinker1.incandescence
for every other material, so i dont know how i can use more than one material?!
cheers
i respect everything that people do here but im pissed coz i cant render a stupid scene with 2 obj, so what should i say?! im standing here like a fool and watching in maya interface whats wrong, is it me or something else...
heh.. Sorry..
Try it now then:
http://www.elqx.com/sm/indigo/v0.6beta2/mtiGen.mel
If it doesn't work, could you create a polyCube, run this script and tell me what it prints?
And this

Try it now then:
http://www.elqx.com/sm/indigo/v0.6beta2/mtiGen.mel
If it doesn't work, could you create a polyCube, run this script and tell me what it prints?
Code: Select all
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[0] );
Code: Select all
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[2] );
I don't know if this would help, but this is the script editor:
file -f -new;
// Result: ./untitled //
commandPort -securityWarning -name commandportDefault;
updateRendererUI;
CreatePolygonCube;
polyCube -w 1 -h 1 -d 1 -sx 1 -sy 1 -sz 1 -ax 0 1 0 -cuv 4 -ch 1;
// Result: pCube1 polyCube1 //
scale -r 15.414724 15.414724 15.414724 ;
scale -r 1 0.0376893 1 ;
scale -r 1.411856 1.411856 1.411856 ;
polyTriangulate -ch 1 pCube1;
// Result: polyTriangulate1 //
shadingNode -asShader lambert;
// Result: lambert2 //
sets -renderable true -noSurfaceShader true -empty -name lambert2SG;
// Result: lambert2SG //
connectAttr -f lambert2.outColor lambert2SG.surfaceShader;
// Result: Connected lambert2.outColor to lambert2SG.surfaceShader //
select -r lambert2 ;
showEditor lambert2;
setAttr "lambert2.color" -type double3 0.234 0.344479 0.5 ;
setAttr "lambert2.color" -type double3 0.2285 0.344974 0.5 ;
setAttr "lambert2.color" -type double3 0.2165 0.345493 0.5 ;
setAttr "lambert2.color" -type double3 0.169 0.347795 0.5 ;
setAttr "lambert2.color" -type double3 0.1045 0.351028 0.5 ;
setAttr "lambert2.color" -type double3 0.0695 0.352697 0.5 ;
setAttr "lambert2.color" -type double3 0.0695 0.352697 0.5 ;
setAttr "lambert2.color" -type double3 0.110644 0.561494 0.796 ;
setAttr "lambert2.color" -type double3 0.110644 0.561494 0.796 ;
setAttr "lambert2.color" -type double3 0.110644 0.561494 0.796 ;
defaultNavigation -source lambert2 -destination |pCube1|pCubeShape1.instObjGroups[0] -connectToExisting;
// Result: Dropped lambert2 onto pCube1 //
select -cl ;
select -r pCube1 ;
pv_performAction "C:/Documents and Settings/Icarriger/My Documents/maya/projects/default/scenes/test.mb" "mayaBinary";
file -f -save -type "mayaBinary";
// Result: C:/Documents and Settings/Icarriger/My Documents/maya/projects/default/scenes/test.mb //
// Result: 1 //
mtiMain;
move -r 0 12.949346 0 ;
select -r pCube1 ;
select -cl ;
onXMLscene "C:/Indigo" "directory";
// Result: 1 //
envset1-physical
lightLinker1
materialInfo1
lightLinker1
renderPartition
lambert2
pCube1
// Error: No object matches name: renderPartition.incandescence //
select -cl ;
select -r pCube1 ;
if i have material lambert1(default)
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[0] );
->lambert1
AND
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[2] );
->initialMaterialInfo
if i have for example material phong1
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[0] );
->lightLinker1
AND
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[2] );
->lightLinker1
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[0] );
->lambert1
AND
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[2] );
->initialMaterialInfo
if i have for example material phong1
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[0] );
->lightLinker1
AND
string $sg[] = `listConnections -t shadingEngine pCubeShape1`;
string $amat[] = `listConnections $sg[0]`;
print ( $amat[2] );
->lightLinker1
Yes, been doing lots of tests.. It works fine in 6.0, 6.5, 7.0 ... stupid Autodesk
I have tried to fix it... ..maybe try more tomorrow
Or does these work?
http://www.elqx.com/sm/indigo/v0.6beta2/mtiMain.mel
http://www.elqx.com/sm/indigo/v0.6beta2/mtiGen.mel
Save to script folder..

I have tried to fix it... ..maybe try more tomorrow

Or does these work?
http://www.elqx.com/sm/indigo/v0.6beta2/mtiMain.mel
http://www.elqx.com/sm/indigo/v0.6beta2/mtiGen.mel
Save to script folder..
- ThatDude33
- Posts: 216
- Joined: Wed Jul 05, 2006 1:26 pm
- Contact:
Who is online
Users browsing this forum: No registered users and 3 guests