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?
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
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
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
Great to hear Kresimir 8)