Can a texture map be set to SmokeOpacityMap from MaxScript?
-------
Yuji Yamauchi
OakCorp Support
OakCorp [Sitni Sati Reseller of japan]
https://oakcorp.net
Yuji Yamauchi
Core i7 - 16GB/ Windows 10 -64bit / Geforce 1080
Hello,
You can get a shader by using GetShader()
Smoke Opacity Map is the 8th reference - if you can somehow access those.
Regards,
Kresimir Tkalcec
Hello, Kresimir
Sorry, I am a MacScript beginner.
SmokeDensity (Opacity)Map is not found even if it checks the property of standard shader.
showproperties $.standard
.ShadeFire : boolean
.FireColorSource (Fire_Color_Source) : integer
.Fire_Brightness (Color_Brightness) : float
.Fire_Opacity (Opacity) : float
.FireOpacityMapStrength (Opacity_Map_Strength) : float
.FireOpacityMapCoordinates (Fire_Opacity_Map_Coordinates) : integer
.Alpha_Multipler (Alpha_Multiplier) : float
.FireGIMultiplier (fR_GI_Multiplier) : float
.ShadeSmoke (Shade_Smoke) : boolean
.MinDens (Low_Threshold) : float
.MaxDens (High_Threshold) : float
.SmokeAmbientColor (Ambient_Color) : RGB color
.SmokeColorSource (Smoke_Color_Source) : integer
.SmokeDensity (Opacity) : float
.SmokeOpacityMapStrength (Opacity_Map_Strength) : float
.SmokeOpacityMapCoordinates (Smoke_Opacity_Map_Coordinates) : integer
.SmokeVisFalloff (Visual_Falloff) : float
.SmokeShadFalloff (Shadow_Falloff) : float
.SmokeGIMultiplier (fR_GI_Multiplier) : float
.CastShadows (Cast_Shadows) : boolean
.ReceiveShadows (Recieve_Shadows) : boolean
.ShadeFuel (Shade_Fuel) : boolean
.FuelColorSource (Fuel_Color_Source) : integer
.FuelAmbientColor (Color) : RGB color
.FuelDensity (Opacity) : float
.FuelFalloff (Visual_Falloff) : float
.FuelGIMultiplier (fR_GI_Multiplier) : float
.FuelCastShadows (Cast_Shadows) : boolean
.FuelReceiveShadows (Recieve_Shadows) : boolean
.Smoke_Color_Gradient
.Fire_Color_Gradient
.Fire_Opacity_AFC
.Smoke_Opacity_AFC
false
Even though it changes SmokeOpacityMap, it is not shown on a Script recorder.
Even though it sets as follows, an error comes out.
-----------
$.standard.SmokeOpacityMap = Splat ()
Please give a hint a little more.
OakCorp [Sitni Sati Reseller of japan]
https://oakcorp.net
Yuji Yamauchi
Core i7 - 16GB/ Windows 10 -64bit / Geforce 1080
Hello,
It seems that MXS has read only sub anims, so at this point this seems impossible to assign a map.
Thank you.
Regards,
Kresimir Tkalcec