PDA

View Full Version : MAX Lighmap question


PereBalsach
12-15-2005, 08:55 AM
Hi there !
I have a question about the lightmaps in max.
I've searching in this forum, but I didn't find anythink.

Do you know if in max you can bake the lighmaps for more than one mesh in a single map?
I don't want to attach the hole scene to render the lightmaps.

Thanks in advice!

Por@szek
12-15-2005, 10:59 AM
Hi there

Here U've got my old tutorial about baking -> http://www.abandonedland.net/test/add_links/Tutorial_lightmapbake.htm (http://www.abandonedland.net/test/add_links/Tutorial_lightmapbake.htm)

I must refill it by few hints especially about second channel maping, I forgot about them.

If U want make one uvw (2 channel) for few separate objects U must cheat a bit max, couse U cannot load the mapping from object where the number of vertex arn't the same, nor coordinates couse then the uvw will crush.
So follow this :
- put for all objects U want to bake on lightmap material whit -> (255,255,255)
- for objects which has to be separate in game give different ID's
- attach all the elements U want to bake
- give the unwarp modifier and change the channel for 2 (don't care abour the message, agree with it)
- create the automatic mapping and setup a spacing on 0,00
- add edit polt modifier and collapse, if U don't do this max won't save the second mapping
- remmember when U will bake the texture to setup USE EXISTING MAPPING
- when U finally bake it, detach objects using selection by ID (eventually remmember to setup once again the pivot)
- add the color texture

And now U have 1 and 2 channel working mapping.

Enjoy.

CGTalk Moderation
12-15-2005, 10:59 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.