Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Turtle ilrTextureBakeCmd?

Turtle ilrTextureBakeCmd?

Anonymous
Not applicable
810 Views
1 Reply
Message 1 of 2

Turtle ilrTextureBakeCmd?

Anonymous
Not applicable

Hi All,

 

i was just looking into a way to wirte a python script to bake occlusion out each frame using the Turtle cmd ilrTextureBakeCmd. So far i have this basic 1 frame attempt.

 

ilrTextureBakeCmd -sf on -c "persp" -t "pSphereShape1" -f 1 -bl "TurtleDefaultBakeLayer" -fn "test" -ff ??? -directory "/bakedTextures/";

 

The one flag i am unsure of is this -ff

The help states this
 -ff -fileFormat UnsignedInt

 

I have no  idea what that means

Does any one know what i should put here?

 

Many thanks.

0 Likes
811 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Got it in the end!. Turns out I was missing other flags. This works :

ilrTextureBakeCmd -sf on -c "CAMERA_OCCLUSION" -t "Plane_Occ" -f 1 -bl ilrBakeLayer1 -fileFormat 0 -directory "/bakedTextures/" -fileName "baked_$p_$s.$e";