dynmap icon indicating copy to clipboard operation
dynmap copied to clipboard

No Night Lighting

Open cg49me opened this issue 11 years ago • 10 comments

Night lighting doesn't seem to be working for me...

Here's a picture of a particular area during the "day": dmap_d

Here's the same area at "night": dmap_n

At sunset/sunrise, I see the whole map "blink" like it's supposed to be switching between day/night, but it still looks the same. Forgive the odd tiles - I've been experimenting with this trying to get it to work, and was in the middle of a fullrender.

I do all my map definitions inside worlds.txt. Here's the pertinent section:

  - class: org.dynmap.hdmap.HDMap
    name: Iso30NEstddn
    title:  "Isometric View, NE, stdtexture, day/night"
    perspective: iso_SW_30_hires
    shader: stdtexture
    lighting: nightandday-smooth
    icon: images/block_surface.png
    mapzoomin: 0

Is there an "enable night" option somewhere in configuration.txt that I haven't found? Is there another option required under the class header that I haven't included?

I'm using version 2.2-SNAPSHOT-2036 on a Forge 1.7.10 server, version 10.13.2.1286, with an obscene number of mods...

Thanks!

cg49me avatar Jan 18 '15 18:01 cg49me

Can confirm it with brightnightandday lightning but on my side some tiles are partially shaded. Also on full zoom

Day

2015-01-18 22-36-54day

Night

2015-01-18 22-36-03night

Psy-Virus avatar Jan 18 '15 21:01 Psy-Virus

Confirmed! & I'm glad it is not just me, I was just about to do attempt #8 and have exhausted any remaining ideas.

ALSO can confirm that Dynmap is rendering a separate copy of the map (thus the map blinking at light change is switching between the two). Both NAME folder and NAME_day folder are rendering full maps as day. I tried with only a night map and only rendered a daytime lighting.

Also while at it, as per the pictures above by others, one of each sun and moon is not aligned properly with the time. Thank you!

Cpt-Beefheart avatar Jan 18 '15 22:01 Cpt-Beefheart

On the sun and moon alignment, I think you're looking at the weather indicator (sun and moon to the right of the time in Psy-Virus' pics). The actual "time" sun/moon indicator is to the left, and appears correct to me in all four above pics.

cg49me avatar Jan 19 '15 01:01 cg49me

Ah, apologies, I may be remembering incorrectly from a while ago. Thought you could have the MC style sun/moon aligned with time changes. Then as well as that, a storm cloud for storms, and nothing when clear.

Cpt-Beefheart avatar Jan 19 '15 17:01 Cpt-Beefheart

Having the same problem. Also appears that the daylight map is not updating. Here is a picture of the night map after starting and canceling a full render.

image

I am running Spigot (git-Spigot-b1e6da1-1092acb, MC: 1.8, API version 1.8-R0.1-SNAPSHOT) and Dynmap (version: core=2.2-SNAPSHOT-2036, plugin=2.2-SNAPSHOT-1096) and only one other minor plugin. This started happening with the Dynmap 2.1 release and so i tried the 2.2 dev release but have the same problem. I am using 'brightnightandday-smooth' for lighting. Would be happy to provide any more details if needed.

rdlenk avatar Jan 25 '15 20:01 rdlenk

Reverting to Dynmap core version 2.1-SNAPSHOT-2021, plugin version 2.1-SNAPSHOT-1077 (this was posted as Dymap-2.1-alpha-1) fixed the problem. The night map now looks right and the daylight map is rendering updates again.

rdlenk avatar Jan 25 '15 21:01 rdlenk

Disabling "use-brightness-table" in the config has the same effect.

Black-Hole avatar Feb 07 '15 11:02 Black-Hole

Check out latest 2.2 dev build - should be fixed.

mikeprimm avatar Feb 27 '15 03:02 mikeprimm

Just downloaded 2.2-SNAPSHOT-2041 and started a full render - that seems to have done it! Thanks!

cg49me avatar Feb 28 '15 23:02 cg49me

I believe this bug is still present; I am unable to get night rendering properly working.

Details

(is this correct? plugin seems to mismatch core..)

[16:29:31 INFO]: Dynmap version: core=2.2-SNAPSHOT-2042, plugin=2.2-SNAPSHOT-1104
Mar 22 11:59 dynmap-HEAD.jar
  • World configuration: https://gist.github.com/RoyCurtis/a89875ac94ca0d8ad27e
  • Tried with both Surface and Night maps using iso_SE_30_hires perspective; the Surface would become overwritten with night tiles and the Night map would render as day. Incidentally, radius render would render both simultaneously:
    • Radius render of maps [surface,night] of 'world' in progress - 100 tiles rendered each (12.15 msec/map-tile, 45.97 msec per render)
  • Tried with Surface set to iso_SE_30_hires and Night set to iso_SE_30_medres. Surface and Night render as day time, radius render does a map at a time
  • Tested using radiusrender only

Edit: Some additional information:

  • Spigot 1.8.3 Survival server with no mods
  • This server is running CraftBukkit version git-Spigot-4b89e7b-7d0f836 (MC: 1.8.3) (Implementing API version 1.8.3-R0.1-SNAPSHOT)
  • @Black-Hole 's suggestion of setting use-brightness-table to false works for me as a workaround

RoyCurtis avatar Mar 22 '15 21:03 RoyCurtis