Shadow calculation and lightmaps explained

Talk about the track editor here

Moderator: English Moderator

ccx
Posts: 18
Joined: 12 Aug 2011, 23:54

Re: Shadow calculation and lightmaps explained

Post by ccx »

Hi,

What do you mean 'MP3' ? Musics ??
Zooz
Posts: 516
Joined: 15 Jun 2010, 11:15
Location: Netherlands
Contact:

Re: Shadow calculation and lightmaps explained

Post by Zooz »

ManiaPlanet 3, today's update
Image [CMC]Zooz | tracks - team - youtubes - ET competitions
HaagseSmurf
Posts: 2291
Joined: 13 Apr 2011, 19:46
Contact:

Re: Shadow calculation and lightmaps explained

Post 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
HaagseSmurf

Check Smurfen.net and / or Smurfen.nu for all info.
You can also like our facebookpage at FaceBook Smurfen.net.
Or just visit
our Smurfen.net Canyon servers,
the Smurfen.net Valley and Royalserver.
Zooz
Posts: 516
Joined: 15 Jun 2010, 11:15
Location: Netherlands
Contact:

Re: Shadow calculation and lightmaps explained

Post 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...
Image [CMC]Zooz | tracks - team - youtubes - ET competitions
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Shadow calculation and lightmaps explained

Post 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
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: Shadow calculation and lightmaps explained

Post 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?^^
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Shadow calculation and lightmaps explained

Post by TMarc »

you need to specifiy the collection like with

Code: Select all

/collections=Stadium
Zooz
Posts: 516
Joined: 15 Jun 2010, 11:15
Location: Netherlands
Contact:

Re: Shadow calculation and lightmaps explained

Post 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.
Image [CMC]Zooz | tracks - team - youtubes - ET competitions
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Shadow calculation and lightmaps explained

Post 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:
Zooz
Posts: 516
Joined: 15 Jun 2010, 11:15
Location: Netherlands
Contact:

Re: Shadow calculation and lightmaps explained

Post 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:
Image [CMC]Zooz | tracks - team - youtubes - ET competitions
Post Reply

Return to “Track Editor”

Who is online

Users browsing this forum: No registered users and 1 guest