Hi at all i'm new of this forum and i'm new of max script. I have a question for a maxscript guru.....I would like to know if i can add a custom function to the RTT panel into 3dsmax 8.
I would like to add a lightmap packing alghoritm, the RTT calculates the lightmaps per object basis but I want to pack those lightmaps into some bigger power of 2 textures containing many different objetc's lightmaps.
This would be usefull for a game solution.
I opened the code of RTT into the ..\ui\macrosript\... folder, but I would like to know if someone could give me a suggestion on how i could achieve this.
Thanks in advance
Comments (2)
Comment policy
Hi Markus, first of all thanks so much for your support. Now i'm looking into the RTT code and i think that i could obtain this result adding a command for packing lightmaps.
Anyway i'll try it, thanks so much another time
well ... i think i did something like this .. but not by script .. by hand *smile*
so i think i understand your problem.
but did you ever think of simply rearraging the UVW-maps to one big UVW map .. so many different objects share the space of one UVW ?
you may lose some details ..but this could be fixed by simply using a bigger resolution.
in the end you get many Images by RTT and then you have to do a simple script with photoshop ...
so .. i dont have a max-script .. but maybe this could be a solution as well ...
so far
markus