December 12 2018 06:58:14
Navigation
· Home
· Articles
· Downloads
· FAQ
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Languages
Users Online
· Guests Online: 3

· Members Online: 0

· Total Members: 1,057
· Newest Member: Hydrocious
Teamspeak 3
Last Seen Users
· Homi05:21:13
· sonic09:34:14
· Intruder10:38:56
· Confused Master10:42:31
· ceghe12:55:41
· Hoods15:05:24
· VCG john18:04:24
· dRgiGGLeZ 1 day
· luporandagio 1 day
· braddock 1 day
· Virus 1 day
· 420Ninjutsu 1 day
· martyr 1 day
· WEZ 3 days
· Nosek 4 days

View Thread: Areas in custom map that are a black void
Vietcong.Info » Vietcong General Discussion » Maps & Mapping
Who is here? 1 Guest
Current Rating: (Total: 0 ratings)  
 Print Thread
Areas in custom map that are a black void
martyr
Hi all,

I'm sure this has come up before and has a simple explanation - hopefully a fix?

A map I've been working on is nearly complete. The map was originally generated from SWAMP - so it an edit of a duplicate map.
I did another phase of editing which was mostly removing unwanted trees and bushes from another area of the map.
But now, when I test in editor or in the finalised map, I see black voids in certain areas. no light. No texture. Just black and different sizes. Is it something to do with the lightmaps?

Any ideas would be awesome - thank you!
M.
martyr attached the following image:

[89.77 kB]

Edited by martyr on 23-11-2018 22:19
Signature________________________________________________________________________

"From every kill grow, from every death learn"
 
http://www.clanofminh.vcclan.net/minh/
xhc
u removed some stuff but lightmaps still in folder of map , u have to re-create new for actual terrain
 
www.youtube.com/user/xhc1
martyr
xhc wrote:
u removed some stuff but lightmaps still in folder of map , u have to re-create new for actual terrain


Thanks for your reply xhc.
I found the Lightmaps panel (from looking in the Ptero help file) but cannot figure out how to regenerate the lightmaps.
The 'Regenerate' button does not seem to create anything new in the ldt folder.
Edited by martyr on 24-11-2018 00:14
Signature________________________________________________________________________

"From every kill grow, from every death learn"
 
http://www.clanofminh.vcclan.net/minh/
Intruder
martyr wrote:
...
But now, when I test in editor or in the finalised map, I see black voids in certain areas. no light. No texture. Just black and different sizes. Is it something to do with the lightmaps?

Hi,

First of all, press F7 to see if it's a lightmaps' problem... If the black spots disappear... It is! I'm pretty sure the lightmaps of your terrain are corrupted in fact.
Next, select your terrain only and open your lightmaps panel > LMs > Compute selected... In the window that will popup, keep the default settings and start the calculation for a first result. You will have to play with the values for different results (size, density, details,...) but be careful because if you go "too far" with them, strange results may appear, like...black spots or even invisible polygones on your terrain!

Notes:
- Never "Compute all" (it creates too much troubles).
- If you don't like the result, press "Delete selected" or restart the calculation directly with other values.



Intruder
Signaturewww.vietcong.info/portal/images/ranks/Member_of_the_Month1011.pngwww.vietcong.info/portal/images/ranks/Member_of_the_Month_6.png
 
martyr
Intruder wrote:
Hi,

First of all, press F7 to see if it's a lightmaps' problem... If the black spots disappear... It is! I'm pretty sure the lightmaps of your terrain are corrupted in fact.
Next, select your terrain only and open your lightmaps panel > LMs > Compute selected... In the window that will popup, keep the default settings and start the calculation for a first result. You will have to play with the values for different results (size, density, details,...) but be careful because if you go "too far" with them, strange results may appear, like...black spots or even invisible polygons on your terrain!

Notes:
- Never "Compute all" (it creates too much troubles).
- If you don't like the result, press "Delete selected" or restart the calculation directly with other values.
Intruder


Hey man
Thanks for your reply Smile

You were right - pressing F7 removed the black areas. I followed your instructions but got an error after I clicked Compute selected...
martyr attached the following image:

[19.09 kB]

Edited by martyr on 24-11-2018 16:01
Signature________________________________________________________________________

"From every kill grow, from every death learn"
 
http://www.clanofminh.vcclan.net/minh/
Intruder
Hmmm, I see...

I can't really give you the solution because I don't know the map you're editing but I can already tell this:

- If the black spots disappeared after to have pressed F7 (on/off), it's probably because a lighmap has already been calculated. But were those black spots present on the map before the edit? It seems that the original map is a "dark mission" one, right? It may explain their presence from the start...

- Normaly, when the Editor finds such errors (Face as Line), another popup window tells you you can skip those errors and compute the other lighmaps anyway > click on "yes"... Usually it will work and you won't notice something wrong BUT... Sometimes and depending of the number (and kind) of those errors, the editor will never be able to calculate the lightmaps and you will probably have to "kill" the Editor in your tasks manager! Unfortunately, in that case, it won't be possible to calculate the lightmaps for your objects or...terrain!

- From my own experiment I know that some or the original maps from Pterodon have those kind of errors and it probably explains why those maps have their "lightmaps" replaced by a "shadow texture" simulating the lightmaps the Editor can't calculate. Is it the case with your map? Maybe... NVABase, RadioRelay and NuiPek are already 3 maps to have the problem...

- The other solution would be to re-create a copy of your map, with another name, to try to have back an original ldt folder (rename the buggy ldt folder before the new copy)... But be sure you haven't modified your terrain in size for example or the imported ldt folder won't match the terrain > visual bugs.
- Or, if you can spot where/what is the terrain file (in your ldt folder), you can try to import the original file (and only) with Total Commander.



Intruder
Signaturewww.vietcong.info/portal/images/ranks/Member_of_the_Month1011.pngwww.vietcong.info/portal/images/ranks/Member_of_the_Month_6.png
 
martyr
Intruder wrote:
- If the black spots disappeared after to have pressed F7 (on/off), it's probably because a lightmap has already been calculated. But were those black spots present on the map before the edit? It seems that the original map is a "dark mission" one, right? It may explain their presence from the start...

No, the black areas were not there before the last bunch of edits. The problem did happen once before after I did a bunch of edits and because it was early in the process of mapping, I simply reloaded an earlier SCO and did the edits again. I save my SCO versions a lot so today I have actually reverted back to an earlier SCO and have started to slowly redo those edits. Good news: everything ok so far!
I will continue like this and hope it all works out ok. The map is nearly finished!

Intruder wrote:
- Normally, when the Editor finds such errors (Face as Line), another popup window tells you you can skip those errors and compute the other lightmaps anyway > click on "yes"... Usually it will work and you won't notice something wrong BUT... Sometimes and depending of the number (and kind) of those errors, the editor will never be able to calculate the lightmaps and you will probably have to "kill" the Editor in your tasks manager! Unfortunately, in that case, it won't be possible to calculate the lightmaps for your objects or...terrain!

Interesting. When trying to solve this during the last few days, I never saw the second dialogue window (after the error dialog). So I tried the same process on another test map and it had no errors and I did see the second dialog. So at least I know what you are talking about now.

Intruder wrote:
- The other solution would be to re-create a copy of your map, with another name, to try to have back an original ldt folder (rename the buggy ldt folder before the new copy)... But be sure you haven't modified your terrain in size for example or the imported ldt folder won't match the terrain > visual bugs.
- Or, if you can spot where/what is the terrain file (in your ldt folder), you can try to import the original file (and only) with Total Commander.

I did try this on your recommendation. However, the LDTs in the new duplicate made no difference. Sadly, the corruption got beat me! At least I made lots of backup SCOs Smile
Thanks so much for your support and ideas!
Signature________________________________________________________________________

"From every kill grow, from every death learn"
  x 1
 
http://www.clanofminh.vcclan.net/minh/
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Black Pajamas Old Homi General Discussion 14 06-12-2018 12:36
Custom MP Coop map - custom death messages Maps & Mapping 11 14-10-2018 15:49
BLACK PAJAMA HOME BAN General Discussion 7 27-01-2016 03:15
new custom addons General Discussion 11 24-01-2016 21:29
Vietcong doesn't start with more than 500+ custom maps? General Discussion 5 27-12-2015 06:06
Login
Username

Password



Forgotten your password?
Request a new one here.
Render time: 0.17 seconds - 61 Queries 2,268,760 unique visits