Page 8 of 13

Re: Shadow calculation and lightmaps explained

Posted: 30 Apr 2014, 21:15
by ccx
Hi,

What do you mean 'MP3' ? Musics ??

Re: Shadow calculation and lightmaps explained

Posted: 30 Apr 2014, 21:20
by Zooz
ManiaPlanet 3, today's update

Re: Shadow calculation and lightmaps explained

Posted: 30 Apr 2014, 21:56
by HaagseSmurf
We used this code for our Royal Server and computed all maps (thx to W1lla)

Code: Select all

ManiaPlanet.exe /computeallshadows /useronly /fullcheck /LmQuality=High
or

Code: Select all

ManiaPlanet.exe /computeallshadows /useronly /fullcheck /LmQuality=Default
or

Code: Select all

ManiaPlanet.exe /computeallshadows /useronly /fullcheck /LmQuality=Low

Re: Shadow calculation and lightmaps explained

Posted: 30 Apr 2014, 22:12
by Zooz
Thanks for the code! But it still doesn't run for me with the symptoms described above. I guess it works for some people then...

Re: Shadow calculation and lightmaps explained

Posted: 01 May 2014, 09:40
by TMarc
Zooz wrote:Thanks for the code! But it still doesn't run for me with the symptoms described above. I guess it works for some people then...
It should work for all people the same way.
Please upload a set of a few maps where they don't calculate for you, and we can try on our side...

But you also have to understand that ManiaPlanet will not recalculate lightmaps if they are already there in the map with same or higher quality than the setting you want to use - and you used "default", which is very likely to be ignored, since proud and capable mappers will certainly use high or even ultra quality to have the best results for they creations :)

Code: Select all

Map quality | Possible new quality
------------+----------------------------
very fast   | fast, default, high, ultra
fast        | default, high, ultra
default     | high, ultra
high        | ultra

Re: Shadow calculation and lightmaps explained

Posted: 01 May 2014, 13:42
by kripkee
If I try this with these settings, then I got a small window with

"Load titles.
Search of matching collections."

If I click ok, nothing happens?^^

Re: Shadow calculation and lightmaps explained

Posted: 01 May 2014, 14:21
by TMarc
you need to specifiy the collection like with

Code: Select all

/collections=Stadium

Re: Shadow calculation and lightmaps explained

Posted: 01 May 2014, 20:11
by Zooz
kripkee wrote:If I try this with these settings, then I got a small window with

"Load titles.
Search of matching collections."

If I click ok, nothing happens?^^
Yeah, this is similar to what happens to me, and I do specify Stadium.
TMarc wrote:
Zooz wrote:Thanks for the code! But it still doesn't run for me with the symptoms described above. I guess it works for some people then...
It should work for all people the same way.
Please upload a set of a few maps where they don't calculate for you, and we can try on our side...

But you also have to understand that ManiaPlanet will not recalculate lightmaps if they are already there in the map with same or higher quality than the setting you want to use - and you used "default", which is very likely to be ignored, since proud and capable mappers will certainly use high or even ultra quality to have the best results for they creations :)
I was trying it to convert TM1 Stadium maps, which don't have any lightmaps. But really I haven't managed to get it to generate any light maps at all using this method, for TM1 or TM2 maps.

Re: Shadow calculation and lightmaps explained

Posted: 01 May 2014, 20:42
by TMarc
Hmm... I tried as well (only 1 TMUF stadium map) and I confirm your issue.
However I can load the Map in MP3-Stadium and calculate the shadows manually there (Gbx size increased from 9kB to 130kB).

Now I just have discovered that apparently the commandline processing mode is not working (either does nothing, or if you specify /title=Stadium it says "Wrong Title") if there are only TMN/TMUF maps in the Maps folders.

But if you place another another regular ManiaPlanet (TrackMania Canyon, Valley or Stadium) Map (have a very simple map!) there as well, then simply and only with

Code: Select all

ManiaPlanet.exe /computeallshadows /useronly /LmQuality=High
it works! :yes:

Re: Shadow calculation and lightmaps explained

Posted: 01 May 2014, 20:58
by Zooz
TMarc wrote:Hmm... I tried as well (only 1 TMUF stadium map) and I confirm your issue.
However I can load the Map in MP3-Stadium and calculate the shadows manually there (Gbx size increased from 9kB to 130kB).

Now I just have discovered that apparently the commandline processing mode is not working (either does nothing, or if you specify /title=Stadium it says "Wrong Title") if there are only TMN/TMUF maps in the Maps folders.
it works! :yes:
Yeah i guess that's the problem. I did some of them manually now but it takes ages! :roflol: