Strange shadow when using World Edit in Carbone

User avatar
digitalmouse
Member
 
Posts: 25
Joined: Sat Sep 20, 2014 18:26
In-game: digitalmouse

Strange shadow when using World Edit in Carbone

by digitalmouse » Thu Nov 27, 2014 09:54

Tinkering with my little Raspberry Pi Minetest server (installed last month) and Carbone - also installed from last month. My younger nephew is having a blast, and admittedly I'm having fun too building stuff when I should be working on exams or other projects. :)

Just recently started using world edit to clear out large swaths of blocks and noticed that when I started making a tunnel near the surface, a large "burnmark"-like stain or shadow appears on the surface blocks above where the tunnel happens to be. Below are some screen shots, illustrating the problem.

So here is the tunnel at 'ground level'...
Image

And here are some aerial shots of the burn mark above where the tunnel is located...
ImageImage
Image

Any ideas for investigation?
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000
 

User avatar
Linuxdirk
Member
 
Posts: 497
Joined: Wed Sep 17, 2014 11:21
GitHub: dsohler
In-game: Linuxdirk

Re: Strange shadow when using World Edit in Carbone

by Linuxdirk » Thu Nov 27, 2014 11:39

What happens when you manually alter some of the nodes? Maybe a lighting update problem.
 

User avatar
digitalmouse
Member
 
Posts: 25
Joined: Sat Sep 20, 2014 18:26
In-game: digitalmouse

Re: Strange shadow when using World Edit in Carbone

by digitalmouse » Thu Nov 27, 2014 11:47

If by manual, you mean going in and digging out some of the tunnel 'by hand', that seems to work just fine - no shadow artifacts appear on the surface overhead.

Standing near, or even inside the affected area, looks like this:
Image
Image
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000
 

User avatar
Linuxdirk
Member
 
Posts: 497
Joined: Wed Sep 17, 2014 11:21
GitHub: dsohler
In-game: Linuxdirk

Re: Strange shadow when using World Edit in Carbone

by Linuxdirk » Thu Nov 27, 2014 12:10

digitalmouse wrote:Standing near, or even inside the affected area, looks like this: […]

An what happens if you mine some nodes manually while standing in there?
Last edited by Linuxdirk on Thu Nov 27, 2014 12:44, edited 1 time in total.
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: Strange shadow when using World Edit in Carbone

by ExeterDad » Thu Nov 27, 2014 12:32

fly into the shadow and pay attention to the item in your hand. When the shadow hits your hand and darkens it, fly up until it gets lightened. Use this method to find the corners of this invisible thing that causes the shadow. Set that area to air with world edit. It will clear it. The area you set needs to be just below and above, and just beyond the corners of this zone. It may take a few tries to get it all.

Sorry for the crude explanation... I'm trying to rush :)
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: Strange shadow when using World Edit in Carbone

by Minetestforfun » Thu Nov 27, 2014 20:19

i've also this stranges shadows... When i dig a node in this shadow, nohing happens, the shadow still here
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: Strange shadow when using World Edit in Carbone

by twoelk » Thu Nov 27, 2014 20:54

tried placing a torch or planting a tree in the shadow? Anything that forces a lighting update.
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: Strange shadow when using World Edit in Carbone

by Amaz » Thu Nov 27, 2014 21:58

Or, select the area where this bug is, and use the command //replace air air
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: Strange shadow when using World Edit in Carbone

by Morn76 » Fri Nov 28, 2014 15:05

I have found that LevelDB reduces the shadow problem with WorldEdit considerably, so I'd recommend migrating your world. Quickly flying around the shadow area just after using WE also helps.

Creating a big dirt block in the air above a shadow (make sure it's big enough vertically so the top of the dirt block has no shadows), then replacing it with air often removes shadows on the ground.
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Strange shadow when using World Edit in Carbone

by Gael de Sailly » Fri Nov 28, 2014 18:19

I've recently made a very simple mod which fixes light and flow problems.
Just type "/mapfix" and it corrects most of light and liquid flow errors in a radius of 40 blocks. If you want another radius, type /mapfix <your_radius> (if you haven't the "server" privilege you can't exceed 50).

Download on Github
Last edited by Gael de Sailly on Sun Nov 30, 2014 20:11, edited 1 time in total.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: Strange shadow when using World Edit in Carbone

by Morn76 » Fri Nov 28, 2014 18:26

Excellent, Gael, your mod works very well!
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Strange shadow when using World Edit in Carbone

by Gael de Sailly » Sat Nov 29, 2014 08:54

I will put it in Github.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
digitalmouse
Member
 
Posts: 25
Joined: Sat Sep 20, 2014 18:26
In-game: digitalmouse

Re: Strange shadow when using World Edit in Carbone

by digitalmouse » Sat Nov 29, 2014 19:52

I tried the 'place a torch' method into the really darkened areas, and it seems to work:
Image
Image

But "less burned" areas only light up in the torches' radius of effect:
Image

So it looks like other methods mentioned here should be given a try. I'll report back on what worked for me later on - kinda swamped with exam stuffs at the moment.

Thanks for all your help thus far!
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: Strange shadow when using World Edit in Carbone

by Minetestforfun » Sat Nov 29, 2014 21:00

Place a torch doesn't work for me, and do nothing... I will try the Gael-de-Sailly method soon :)
 

peetaur
New member
 
Posts: 1
Joined: Sat Jun 27, 2015 18:15

Re: Strange shadow when using World Edit in Carbone

by peetaur » Thu Jul 02, 2015 09:20

Thank you, Gael de Sailly. This worked perfectly for me.

Image
2015-07-02 minetest shadows 1 here.jpg
1 - shadows here
2015-07-02 minetest shadows 1 here.jpg (44.56 KiB) Viewed 2422 times


Image
2015-07-02 minetest shadows 2 circled.jpg
2 - shadows circled
2015-07-02 minetest shadows 2 circled.jpg (47.05 KiB) Viewed 2422 times


Image
2015-07-02 minetest shadows 3 fixed.jpg
3 - shadows gone
2015-07-02 minetest shadows 3 fixed.jpg (46.08 KiB) Viewed 2422 times


And by the way, I have never used a map editor on this map. The bottom right spot annoyed me enough that I fixed this, and appeared last. The other on the hill is old but didn't bother me. I gave my brother my map files, and without having many of the mods installed, he reported that he could see some "unknown objects" in the air close to the ground at those positions, and also the one above the water that I never noticed before.
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Strange shadow when using World Edit in Carbone

by Gael de Sailly » Thu Jul 02, 2015 10:31

My mod works but is badly coded. I'll improve it this afternoon.

Especially the vm:calculate_lighting() is useless in this context. I just discovered that the light calculation is done by vm:update_map().
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
jbb
Member
 
Posts: 72
Joined: Tue Dec 09, 2014 17:16
GitHub: JBBgameich
IRC: JBB
In-game: JBB

Re: Strange shadow when using World Edit in Carbone

by jbb » Tue Jul 07, 2015 16:00

I fixed the problem by remivingbonebofbthe darkbair nodes with worldedit.
You have to go inside the shadow and tipp this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
//1

//2
//s air


Minetest runs better on Linux. So I'm using Linux.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 12 guests

cron