[SOLVED] lightmaps wont compile - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [SOLVED] lightmaps wont compile (/showthread.php?tid=3250) |
lightmaps wont compile - hutty - 07-09-2012 Code: --- SetupSurfaceLightmaps --- and then it dies ... this is on the test compiles ... usually I get a few of them and things work fine ... but sometimes it just crashes .... I have avoided the issue in the past by switching to a lower quality compile ... or even undoing a bunch of work on the map... but in this case I want to actually fix the issue I tried changing the compile line to this [q3map2] -light -fast -samplesize 64 "[MapFile]" but it still keeps the tiny samplesize ... RE: lightmaps wont compile - Maddin - 07-09-2012 The samplesize is too small or the surfaces too big or both of these factors. Could you show us a picture of your map? I bet it´s braking something. Also which lightmapsize do you use in your compile parameters and which lightmapscale in your worldspawn/shader? RE: lightmaps wont compile - hutty - 07-09-2012 I've got big surfaces ... and little surfaces .. specifically today I worked on the giant lower pillar and the skybox entity with has many small things (bottom screen shot ... note that textures were downsized ... those blocks are smaller than they look) lightmap scale is at 0.25 lightmap size is not set ... for those RE: lightmaps wont compile - tZork - 07-10-2012 remember that -samplesize needs to go into the BSP stage too. http://en.wikibooks.org/wiki/Q3Map2/Light#-samplesize_.3CN.3E Wrote:-samplesize <N> you may also wish to try the -lomem switch if you suspect that you'r running out of memory. RE: lightmaps wont compile - Maddin - 07-10-2012 Ah ok, hutty. "_lightmapscale 0.25" is too small for this map. Try 0.5 and if it still crashes then 1. (and then if it stiiiill crashes try 2 etc. ; just make sure the number is a power of 2!) Also try to use "-lightmapsize 512" (or 1024 for even more awesomeness ) in your compile parameters. RE: lightmaps wont compile - hutty - 07-10-2012 ok.... im having another issue ... it appears that netradiant is not saving my customized build options ... I can change them ... but when I close and re open radaint they are reverted to default ... if I compile ... they are reverted to default ... somehow I got it to save one option once ... but I don't kown how that happened ... anybody know where it stores the xml file for the build options? I found the default ones ... but not the one it uses ... RE: lightmaps wont compile - hutty - 07-11-2012 before shot--a1.png (Size: 37.8 KB / Downloads: 48) add -samplesize 64 hit ok shot--a4.png (Size: 42.07 KB / Downloads: 49) save .. compile .. restart radaint ... anything shot--a3.png (Size: 43.19 KB / Downloads: 49) augh !!!! RE: lightmaps wont compile - Maddin - 07-12-2012 This seems to be a bug, not only for you. When I mapped on Windows XP I had this too, but now on Ubuntu 10.10 it didn´t occur anymore. It´s really strange. And yes, typing each line (even the title!) separately and close the window each time seems to help. Don´t know why though. EDIT: Maybe you shouldn´t try to edit the existing commands? Try to write your own compile! Maybe that´s causing the trouble. RE: lightmaps wont compile - Justin - 08-01-2012 Hello guys I have exactly the same problem as hutty had once. Where can I change samplesize and lightmapscale? What values would be good for my map (it has some large mesh surfaces). Do I change it in worldspam in the 'n'? what exactly should I type? How can I also change it inthe bsp and srf so it does not go to the default (which is samplesize 16)? https://dl.dropbox.com/u/90490112/Spiderex-v9r06-brokenlight3.map This is the link to my .map file. I am currently trying to google the problem but I feel like I have not enough experience to remedy it by myself only RE: lightmaps wont compile - Justin - 08-01-2012 with lightmapscale 4 it doesn't show warnings, but still crashes I tried the same thing as hutty, -samplesize 64 in the compiling stats and it crashes I will use lomem. - It says there is an error in opening lomemD in my netrafdiant folder. it stops compilating again |