![]() |
|
Can a texture map be set to SmokeOpacityMap from MaxScript? - Printable Version +- Sitni Sati Forums (https://forum.afterworks.com) +-- Forum: Products (https://forum.afterworks.com/forumdisplay.php?fid=4) +--- Forum: FumeFX [max] (https://forum.afterworks.com/forumdisplay.php?fid=8) +--- Thread: Can a texture map be set to SmokeOpacityMap from MaxScript? (/showthread.php?tid=1631) |
Can a texture map be set to SmokeOpacityMap from MaxScript? - Shark - 06-25-2015 Can a texture map be set to SmokeOpacityMap from MaxScript? ------- Yuji Yamauchi OakCorp Support Re: Can a texture map be set to SmokeOpacityMap from MaxScri - sitnisati - 06-29-2015 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 Re: Can a texture map be set to SmokeOpacityMap from MaxScri - Shark - 06-29-2015 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. Re: Can a texture map be set to SmokeOpacityMap from MaxScri - Galagast - 07-08-2015 I'm able to access the map indexed at #9 based in this list: Code: for i in 1 to 9 do format "[%]: %\n" i $FumeFX001.standard[i]But I'm unable to set it using the codes below: Code: >> foo = checker()It always returns a system exception. Tested on FumeFX 3.5.5, 3dsmax 2015 Re: Can a texture map be set to SmokeOpacityMap from MaxScri - sitnisati - 07-09-2015 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 |