sv
December 8, 2008, 4:11pm
1
Does it work?
Because the last X amount of times i’ve tried it, it’s always failed?
I remember having to change the code for models imported from Revit files, but i’m just trying to convert a simple downloaded model which has standard Raytrace textures…
I can send the file if needed, but it’s not worked for me in ages now, only with Max 2009…
Thanks in advance as always!
vlado
December 8, 2008, 6:10pm
4
Ah; change line 105 to
if (r.texmap_reflection!=undefined) then (
Best regards,
Vlado
toby
December 10, 2008, 6:55am
5
Just a question, without have taken a look at the MAXScript converter…
Isn’t there another bug on line ‘110’ - a forgotten ‘n’ in ‘transparency’ - or is the transparency -setting in the origMtl variable working correct?
vlado
December 10, 2008, 8:52am
6
There is no bug there, the script is correct. The actual parameter name in the Raytrace material is misspelled.
Best regards,
Vlado
toby
December 10, 2008, 9:18am
7
Ah okay. Thank you for the info.
mmikee
February 13, 2009, 9:21pm
8
I am also getting this error…
unable to convert :[color 17 17 17 0] to type :float
tcolor.color=(color (1.0-orig_mtl.refr_color) (1.0-orig_mtl.refr_color) (1.0-orig_mtl.refr_color))
Any suggestions ?
Regards,
Mike
vlado
February 13, 2009, 10:52pm
9
It should read something like:tcolor.color=(color (1.0-orig_mtl.refr_color.r) (1.0-orig_mtl.refr_color.g) (1.0-orig_mtl.refr_color.b))
Best regards,
Vlado
mmikee
February 13, 2009, 11:12pm
10
Thanks for the quick response !
Regards,
Mike
Script
Can some share this working script?