Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/engine.py
| Show First 20 Lines • Show All 276 Lines • ▼ Show 20 Lines | def list_render_passes(scene, srl): | ||||
| if srl.use_pass_cryptomatte_material: | if srl.use_pass_cryptomatte_material: | ||||
| for i in range(0, crypto_depth): | for i in range(0, crypto_depth): | ||||
| yield ("CryptoMaterial" + '{:02d}'.format(i), "RGBA", 'COLOR') | yield ("CryptoMaterial" + '{:02d}'.format(i), "RGBA", 'COLOR') | ||||
| if srl.use_pass_cryptomatte_asset: | if srl.use_pass_cryptomatte_asset: | ||||
| for i in range(0, crypto_depth): | for i in range(0, crypto_depth): | ||||
| yield ("CryptoAsset" + '{:02d}'.format(i), "RGBA", 'COLOR') | yield ("CryptoAsset" + '{:02d}'.format(i), "RGBA", 'COLOR') | ||||
| # Denoising passes. | # Denoising passes. | ||||
| if crl.use_denoising or crl.denoising_store_passes: | if (scene.cycles.use_denoising and crl.use_denoising) or crl.denoising_store_passes: | ||||
| yield ("Noisy Image", "RGBA", 'COLOR') | yield ("Noisy Image", "RGBA", 'COLOR') | ||||
| if crl.denoising_store_passes: | if crl.denoising_store_passes: | ||||
| yield ("Denoising Normal", "XYZ", 'VECTOR') | yield ("Denoising Normal", "XYZ", 'VECTOR') | ||||
| yield ("Denoising Albedo", "RGB", 'COLOR') | yield ("Denoising Albedo", "RGB", 'COLOR') | ||||
| yield ("Denoising Depth", "Z", 'VALUE') | yield ("Denoising Depth", "Z", 'VALUE') | ||||
| if scene.cycles.denoiser == 'NLM': | if scene.cycles.denoiser == 'NLM': | ||||
| yield ("Denoising Shadowing", "X", 'VALUE') | yield ("Denoising Shadowing", "X", 'VALUE') | ||||
| Show All 37 Lines | |||||