Blender blosm Google 3D maps to Unreal engine Tutorial

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • While working on Galaktens helte I had to create an areal shot of the danish parlament.
    I used BLOSM add-on for blender to import google map data set and created a python script that loops through all the materials created by Blosm. It changes the default materials to a standard Principled BSDF shader compatible with fbx export to UE5. .
    I know that there are other ways but this worked for me and I made a little tutorial to share my solution.
    Download script: (Updated for Blender 4.+)
    www.studiosapi...
    Visit my portfolio / blog:
    studiosapiens....
    Enjoy!
    #blendertutorial #blender3d #unrealengine #ue5 #googlemaps

Комментарии • 21

  • @OlegBudeanu
    @OlegBudeanu 2 месяца назад +1

    Fredrik thank you so much for the python script - that was the missing part to export into any application !

  • @zeinstil
    @zeinstil 6 месяцев назад +1

    Thank you very much for the Tut and the script. In Blender 4.0 I had to change the line with specular to this: mat.node_tree.links.new(valueA.outputs[0], principled.inputs['Metallic']) Just in case, someone has the same problem ;)

    • @fredriklindgren1792
      @fredriklindgren1792  6 месяцев назад +2

      Thanks. I'm glad you found it useful. I made it for 3.6 and haven't tested it on later versions. I'll probably do that at some point and update the script.

  • @victorgondim8610
    @victorgondim8610 3 месяца назад +1

    Dude, you are an angel! Thank you very much :)

  • @marcoferri71
    @marcoferri71 Месяц назад

    Fredrik... MAGIC! Thank you for sharing :0)

  • @yantingye1677
    @yantingye1677 Месяц назад

    it works ,thanks a lot

    • @yantingye1677
      @yantingye1677 Месяц назад

      This script is really good. It can also modify the values ​​of metalness and roughness. I suggest that the metalness can be set to 0.0 and the roughness to 0.7 or 1.0, so that the effect of importing into UE5 will be better.

  • @jakubmazur1576
    @jakubmazur1576 4 месяца назад +1

    I have an issue, that emission is set to some value for all materials, but I need value 00000 instead of FFFFFF. Is it possible to change emission value for all materials? Iny my case 2k, so no chance to do it manually.

  • @mariusznapora2931
    @mariusznapora2931 5 месяцев назад

    Awesome work! Thank You!

  • @Elvarks
    @Elvarks 4 месяца назад

    Awesome, thank you thank you!

  • @gara141
    @gara141 Месяц назад

    beautiful!!!! thanksssss

  • @Hacker-cd9no
    @Hacker-cd9no 2 месяца назад

    Thank You ! 🙏🙏🙏🙏🙏

  • @popeye175
    @popeye175 2 месяца назад

    my god you did it....

  • @CanalHardcorePlay
    @CanalHardcorePlay 2 месяца назад +1

    Once you do that, everything looks like shit... Geometry and texture... In the video itself you can already see the difference in texture between before and after... It's amazing how no one noticed that. There must be another way

    • @TianaT4
      @TianaT4 Месяц назад

      Did you find another way? :)

  • @pinoymovement
    @pinoymovement 6 месяцев назад

    I know that it is suppose to be for Unreal, but is there a way to import it into 3dsmax? I tried and it seems to freeze when importing. I have tried Dae. Testing out different methods and I think it has something to do with materials

    • @fredriklindgren1792
      @fredriklindgren1792  5 месяцев назад +1

      I don't know 3dsmax, so I can't say help you with that. My script only converts the shader to the most basic setup that FBX Export understands. In theory it should work with any 3D program after export.
      But as a suggestion i would recomend you to try and delete these lines in the script and see if it makes any diffrence.
      # Adds a value node and connects it to Specular with a value of 0.5. Doesn't transfer to Unreal. Thinking about how to set up and transfer other parameters than images. One way is offcourse to import all materials as instaces in unrel so I can have one Main Material in Unreal to set parameters for all instances of the Unreal Material.
      valueA = nodes.new("ShaderNodeValue")
      valueA.location = (principled.location[0] - 200, principled.location[1]-200)
      valueA.outputs[0].default_value = 0.5
      mat.node_tree.links.new(valueA.outputs[0], principled.inputs['Metallic'])
      # Adds a value node and connects it to Roughness with a value of 0.5. Same problem as with Specular above.
      valueB = nodes.new("ShaderNodeValue")
      valueB.location = (principled.location[0] - 200, principled.location[1]-300)
      valueB.outputs[0].default_value = 0.5
      mat.node_tree.links.new(valueB.outputs[0], principled.inputs['Roughness'])

    • @pinoymovement
      @pinoymovement 2 месяца назад

      @@fredriklindgren1792 Thank you for the response. I am still understanding it myself. I was able to import by unchecking the join tiles, and also I saw other tutorials use simplygon but now that is no longer free. That plugin from my understanding puts all the maps together as one file. Since importing into 3dsmax, there are at least 500 individual texture files that make it painful when opening. Thank you btw for sharing your script it is super helpful!

  • @davidglover7870
    @davidglover7870 Месяц назад

    Your website is expired! Just letting you know

  • @carlottaoviedo3349
    @carlottaoviedo3349 6 месяцев назад

    "Promo SM" 👊