3DStreet / citybuilderjr

Experiment to make a simple tile-based city block builder
https://3dstreet.github.io/citybuilderjr/
GNU Affero General Public License v3.0
0 stars 1 forks source link

town hall model #4

Closed kfarr closed 9 months ago

kfarr commented 10 months ago

model changes requested.

On this model: https://sketchfab.com/3d-models/low-poly-cartoon-town-hall-d0022fe1b265486497b847049b2edfdf (also attached as zip cityhall.zip)

Changes:

Scale information:

right now this townhall model has a bounding box values below in catalog.json after building

    "bboxMin": [
      -8.2258,
      -6.62695,
      -7.63921
    ],
    "bboxMax": [
      10.54704,
      7.86515,
      10.8422
    ],

a normal tile like 'road_straight' has a bounding box of something like

    "bboxMin": [
      -1,
      0,
      -1
    ],
    "bboxMax": [
      1,
      0.1,
      1
    ],

instead, the cityhall model should be downscaled to have a bounding box of below. **Trees from the scene will need to be relocated closer to city hall to prevent them extending beyond the grass border.

    "bboxMin": [
      -2,
      0,
      -2
    ],
    "bboxMax": [
      2,
      ?,
      2
    ],
kfarr commented 10 months ago

https://sketchfab.com/3d-models/low-poly-cartoon-town-hall-d0022fe1b265486497b847049b2edfdf

gnansai commented 9 months ago

Hi @kfarr Here is the latest model of the Town Hall. TownHall_v01.zip

  1. I have moved the trees closer. image
  2. I have added CITY HALL text image
  3. I have removed the brown ground
  4. I have kept the scale of 2,2 across X and Y axis in Blender.
gnansai commented 9 months ago

Could you share the grass tile model so that I could adjust the grass of Town Hall model?

kfarr commented 9 months ago

here are examples like "park base" https://github.com/3DStreet/citybuilderjr/tree/main/src/models/kaykit

gnansai commented 9 months ago

Hi @kfarr I have made the grass in Town hall same as the "park base" Screenshot 2023-12-13 095947 Here is the latest version TownHall_v02.zip

gnansai commented 9 months ago

Hi @kfarr The town hall is using multiple materials for each color. Shall I convert it to one material using single image texture(https://github.com/3DStreet/citybuilderjr/blob/main/src/models/kaykit/citybits_texture.png) ? image

kfarr commented 9 months ago

@gnansai yeah ideally it's the same as kaykit a single image texture palette atlas

gnansai commented 9 months ago

Hi @kfarr I have adjusted the UVs of the Town Hall to use single texture. I have exported as GLTF model and added Draco compression as the other models in Kaykit. image

TownHall_v03_citybits_texture_atlas.zip

kfarr commented 9 months ago

It looks excellent!

image