![]() |
|
Afterburn and maxscript - Printable Version +- Sitni Sati Forums (https://forum.afterworks.com) +-- Forum: Products (https://forum.afterworks.com/forumdisplay.php?fid=4) +--- Forum: AfterBurn (https://forum.afterworks.com/forumdisplay.php?fid=9) +--- Thread: Afterburn and maxscript (/showthread.php?tid=673) |
Afterburn and maxscript - Jordan - 08-20-2008 Hi, Im trying to script some lights to have AB Shadow Maps then set some values but I cant seem to access the AB Shadow Map properties. I can see them with show, but when I try to view their value I get: -- Runtime error: Couldn't find a previously defined paramblock in AB_Shadow_MapShadow And when I try to set their value I get: ** system exception ** Any other ways to access them? Re: Afterburn and maxscript - sitnisati - 08-26-2008 Hi Jordan, Does this approach works on a 3ds max Raytrace map ? AB map should be no different - it uses param block for params, wich automatically add maxscript support. Kresimir Re: Afterburn and maxscript - Jordan - 08-27-2008 I tried it with standard raytrace, standard shadow map, vray shadows and MR shadows and I can view the value and set the value no problems. AB Shadow Map gives "-- Runtime error: Couldn't find a previously defined paramblock in AB_Shadow_MapShadow" on viewing or setting Also Im not sure how to get access to the "Object Shadows" Parameters in AB Shadow maps through maxscript. I get this when I do "show $.shadowgenerator" .Size : integer .Quality : float .Color : integer .Bias : float .UseObjectShadows (Use_Object_Shadows) : boolean .CreationTime (Creation_time) : integer .RangeStart (Creation_Start) : integer .RangeEnd (Creation_End) : integer .SupersampleQuality (Quality) : float .MaxSamples (Creation_End) : integer .SuperSampler (Creation_End) : integer .Size .Quality .Bias .Quality false Re: Afterburn and maxscript - sitnisati - 09-09-2008 Hello Jordan, I have found what causes this bug, and it's fixed. As for accessing ObjectShadows, that's fixed as well, and parameters will be shown when user write show $ Thank you Kresimir Re: Afterburn and maxscript - Jordan - 09-10-2008 Great to hear Kresimir 8) |