Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I'm having trouble with texture baking in the same scene.

7 REPLIES 7
Reply
Message 1 of 8
douglas.addy
288 Views, 7 Replies

I'm having trouble with texture baking in the same scene.

I baked a texture to an object. but when I try to bake another texture to another object it bakes the previous object until I unload the reference, then it works.

Tags (3)
Labels (3)
7 REPLIES 7
Message 2 of 8

Can you post what's logged in the script editor?
For example:

select -r pCube1 ;
# [mtoa] Render to Texture : Rendering polymesh pCubeShape1
# [mtoa] Render to Texture : Rendered to C:/Users/blairs/Documents/maya/projects/default/images/bake/pCubeShape1.exr
select -r pCube1 ;
# [mtoa] Render to Texture : Rendering polymesh pCubeShape1 # 
# [mtoa] Render to Texture : Rendered to C:/Users/blairs/Documents/maya/projects/default/images/bake/pCubeShape1.exr # 




// Stephen Blair
// Arnold Renderer Support
Message 3 of 8

select -r Cube ;

select -cl ;

select -r Cube ;

# [mtoa] Render to Texture : Rendering polymesh CubeShape

# [mtoa] Render to Texture : Rendered to D:/Pro/Pregnancy/sourceimages/baketest/CubeShape.exr

Message 4 of 8

Can you reproduce the problem? First bake one object, then the other.
Then we should have two sets of messages in the script editor



// Stephen Blair
// Arnold Renderer Support
Message 5 of 8

when the reference is loaded I get this (unexpected),bad.pngwhen the reference (the baby model) is unloaded I get this, (expected)

good.png

Message 6 of 8
douglas.addy
in reply to: douglas.addy

its using the uvs of the correct model but its baaking the wrong texture. those are not the correct uv's for the baby.

Message 7 of 8

select -r Cube ;

select -r RenderCamera ;

select -r week40_master_body ;

# [mtoa] Render to Texture : Rendering polymesh week40_master_bodyShape

# [mtoa] Render to Texture : Rendered to D:/Pro/Pregnancy/sourceimages/baketest/week40_master_bodyShape.exr

select -r Cube ;

# [mtoa] Render to Texture : Rendering polymesh CubeShape

# [mtoa] Render to Texture : Rendered to D:/Pro/Pregnancy/sourceimages/baketest/CubeShape.exr


first I get this (expected)

1.png

then I get this (unexpected)

2.png


Message 8 of 8
douglas.addy
in reply to: douglas.addy

it seems to happen when the cubes normals are reversed

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report