31
General CG Discussion / Re: Reset Xref/Collapse/Edit Poly
« on: 2023-01-26, 10:55:25 »
btw soulburnscripts has this functionality too:
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
pipeline = getProperty renderers.current "colorMap.pipeline"
while pipeline != undefined do
(
operatorClass = classOf pipeline
if operatorClass == SimpleExposureOperatorPlugin then exit
pipeline = getProperty pipeline "colorMappingOperator.nextOperator"
)
if pipeline != undefined then pipeline.colorMappingOperator_simpleExposure += 0.333
As soon as possible is the time frame we are at. A fix for the issue is currently being tested internally (thank you once again to those that provided sample scenes).
Once that has been verified as good we can start the formal build process, and then the delivery process.
Any reference, or just personal experience?
(
global whiteMat = CoronaPhysicalMtl()
global cnt = 0
whiteMat.name ="GI_white"
for obj in geometry where obj.mat != undefined do
(
raySwMat = CoronaRaySwitchMtl()
raySwMat.giMtl = whiteMat
raySwMat.reflectMtl = obj.mat
raySwMat.refractMtl = obj.mat
raySwMat.directMtl = obj.mat
raySwMat.name = ("RaySwitchMtl" + "_" + obj.name)
obj.mat = raySwMat
cnt+=1
)
print ("materials processed: " + (cnt as string))
)