View Full Version : Lightmapper error
Kiyoshi
July 7th, 2007, 05:01 PM
I compiled my level, but now i have a problem. I do the light on my level and when it is calculating the lights it gets to about 87% and then it says lightmapper ran out of memory. I set it to draft low and it does this and wont finish calculating the lights. How do i fix this?
et_cg
July 7th, 2007, 07:44 PM
How much RAM do you have?
Kiyoshi
July 7th, 2007, 07:46 PM
2 gb
et_cg
July 7th, 2007, 07:46 PM
Were you running any other memory intensive programs?
jahrain
July 7th, 2007, 08:04 PM
Try running at lower settings, or if you can possibly boot up in XP try running lightmaps in XP.
Kiyoshi
July 7th, 2007, 08:05 PM
no i left it alone and it still fails and btw when it fail it calls you a sick bastard
et_cg
July 7th, 2007, 09:03 PM
It sounds like you have a problem with your shaders perhaps. I don't know enough about your situation to assist you with much here. Just look for other posts, search for them, because I know other people have either explained what to do, or perhaps have had a problem similar to yours. I am willing to assist outside of the forum, if you'd like that.
Kiyoshi
July 7th, 2007, 09:45 PM
I'm going to try lightmapping it on XP if my laptop can handle it.
jahrain
July 8th, 2007, 06:44 AM
I have had several running out of memory problems with running lightmaps on my desktop pc in vista, but when I boot in XP, it usually runs it fine. Vista just eats up your memory for breakfast, lunch and dinner.
Kiyoshi
July 9th, 2007, 04:03 PM
Ok well i dual booted XP to try it out and still no luck. It gets to about 95% now but still runs out of memory. The only light i can render is the direct only light which doesnt take long. I wish i knew what was up with it. Also I have NOTHING installed on XP so no other programs are stealing the memory.
Kiyoshi
July 9th, 2007, 04:40 PM
I also dont know if im supposed to have all these errors.
http://i25.photobucket.com/albums/c59/blackx24/cmd2.jpg
http://i25.photobucket.com/albums/c59/blackx24/cmd1.jpg
I have gotten them on 2 different computers
P13F4C3
July 9th, 2007, 04:49 PM
i always get the ###WARNING soemthing is invalid, im not sure if it is meant to say this but my maps work ok, but i never get that the system cant find the file
jahrain
July 10th, 2007, 04:58 AM
Ok well i dual booted XP to try it out and still no luck. It gets to about 95% now but still runs out of memory. The only light i can render is the direct only light which doesnt take long. I wish i knew what was up with it. Also I have NOTHING installed on XP so no other programs are stealing the memory.hmmm, 95% almost!. Try setting each material in the map to use lower scaled lightmap bitmaps. To do this add " lm:0.5" or " lm:0.75" (without quotes) at the end of each material name to scale down the lightmap resolutions to save more memory. For example "myshaders terrain lm:0.5" would be the name of the material in 3ds max before exporting the scale down the lightmap resolution for that shader. Its also best to scale down the lightmap resolution even more of surfaces such as roofs, or cliff tops that barely visible to gamers while playing.
Kiyoshi
July 10th, 2007, 11:41 AM
WOOT!!! it fixed it!!! thx lots dude!
dcemuser
July 10th, 2007, 01:49 PM
Those errors are normal, by the way. The Map Editor wasn't released in its finished form and those are just some old errors. However, you do need watch the error log carefully because real errors for your map will be mixed in with the default errors.
FireScythe
July 10th, 2007, 03:37 PM
Just out of curiosity, but is your map thoroughly portalled? I have had previous memory problems when I forget to export my portal geometry (and hence no portals).
Kiyoshi
July 10th, 2007, 07:39 PM
Nope no portals it was just the level model with a few light polygons
jahrain
July 10th, 2007, 08:16 PM
The surface area of each cluster also determines the lightmap bitmap sizes. Portals split up your map into multiple clusters, thus resulting in smaller lightmap bitmap sizes per each cluster.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.