Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render block pixels #1

Open
1 of 4 tasks
Gjum opened this issue Jan 30, 2022 · 1 comment
Open
1 of 4 tasks

render block pixels #1

Gjum opened this issue Jan 30, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Gjum
Copy link
Member

Gjum commented Jan 30, 2022

  • use block colors from journeymap's exported table (see comment below)
  • biome tint
  • water transparency
  • slope shading

wip code: https://github.com/CivPlatform/map-sync/blob/master/render/src/coloring/terrain.rs#L12

@Gjum Gjum transferred this issue from another repository Jan 30, 2022
@Gjum Gjum added the bug Something isn't working label Mar 19, 2022
@Gjum
Copy link
Member Author

Gjum commented May 18, 2022

journeymap exports a js(on) file:

{
  "table": {
    "minecraft": {
      "acacia_button": {
        "EnumProperty{name=face, clazz=class net.minecraft.world.level.block.state.properties.AttachFace, values=[FLOOR, WALL, CEILING]},DirectionProperty{name=facing, clazz=class net.minecraft.core.Direction, values=[north, south, west, east]},BooleanProperty{name=powered, clazz=class java.lang.Boolean, values=[true, false]}": [
          "#a85a32"
        ]
      },
      "acacia_door": {
        "DirectionProperty{name=facing, clazz=class net.minecraft.core.Direction, values=[north, south, west, east]},EnumProperty{name=half, clazz=class net.minecraft.world.level.block.state.properties.DoubleBlockHalf, values=[upper, lower]},EnumProperty{name=hinge, clazz=class net.minecraft.world.level.block.state.properties.DoorHingeSide, values=[left, right]},BooleanProperty{name=open, clazz=class java.lang.Boolean, values=[true, false]},BooleanProperty{name=powered, clazz=class java.lang.Boolean, values=[true, false]}": [
          "#a75f3c"
        ]
      }
    }
  }
}

@Gjum Gjum changed the title extract color palette render block pixels May 18, 2022
@Gjum Gjum added this to MapSync May 18, 2022
@Gjum Gjum moved this to Todo in MapSync May 18, 2022
@Gjum Gjum moved this from Todo to In Progress in MapSync May 22, 2022
@Gjum Gjum moved this from In Progress to Todo in MapSync May 24, 2022
@Gjum Gjum moved this from Todo to In Progress in MapSync May 25, 2022
@Gjum Gjum moved this from In Progress to Todo in MapSync May 25, 2022
@Gjum Gjum moved this from Todo to In Progress in MapSync May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

1 participant