Search Unity

BuildR 2.0 - Create buildings within Unity

Discussion in 'Assets and Asset Store' started by jasperstocker, Apr 11, 2017.

  1. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429


    The new version of BuildR is on the Asset Store!
    https://forum.unity.com/threads/released-buildr-3-procedural-building-and-city-generator.893497/
    Check out the new website if you've not had a chance yet...
    https://b.uildr.com/


    BuildR 2 allows users to create buildings within Unity without the need of external modelling programs. It has a quick and simple workflow to create buildings with ease. You can edit and preview everything within the Unity editor. Generate full interiors, curve facades and have overhanging sections. After 4 years, I've taken all the great feedback and knowledge, rebuilt this asset from the ground up, to create something that is flexible and powerful.

    Selected Videos



    Get BuildR on the Asset Store here
    Visit Site | Tutorials | Documentation | Videos | Free Demo

    Issue Tracker
     
    Last edited: May 19, 2020
    TeagansDad, docsavage and antoripa like this.
  2. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    antoripa likes this.
  3. antoripa

    antoripa

    Joined:
    Oct 19, 2015
    Posts:
    1,163
    Is there any tutorial video ?
     
  4. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    They'll start popping up this week. Been working on scripts and content for them.
     
    antoripa likes this.
  5. antoripa

    antoripa

    Joined:
    Oct 19, 2015
    Posts:
    1,163
    Ok...previous version had the integration with Map-ity. Is that provided even in 2.0 ?
     
  6. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    It's in the works too.
     
    hopeful and antoripa like this.
  7. recon0303

    recon0303

    Joined:
    Apr 20, 2014
    Posts:
    1,634
    Question, can you export and import to FBX formats?? So if you wanted to do something in a program like Maya, Max or Modo? Then import back in? Or is all the edits in this program only?? Which is still cool, but I still would like to be able to do have more control, if I see fit as I do a ton of 3d modeling.
     
  8. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    FBX export is on the cards. I just need to add it in when i have a chance...
    You wouldn't be able to import that model into BuildR though - there would be no way to know how it was modified. It would just be a normal model for Unity.
    What there is on the horizon is the ability to import FBX models of very ornate facade designs to make a BuildR facade. For example a really crazy Gaudi like window or door. Custom model import was factored in from the beginning, I just need to iron out the process of importing them as a user.
     
    lundon likes this.
  9. recon0303

    recon0303

    Joined:
    Apr 20, 2014
    Posts:
    1,634
    Oh, ok, Thanks anyways.
     
  10. Carpe-Denius

    Carpe-Denius

    Joined:
    May 17, 2013
    Posts:
    842
    Do you plan on supporting prefabs?
    Maybe putting the mesh into an asset and optionally removing all scripts?
     
  11. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Good question! Yes I do. It will be part of the export functionality. So you can export the building as a prefab (option to keep scripts/editable) FBX and some text format, either XML or JSON. I'm probably not going to bother with OBJ as it's little used and not directly used by Unity...
     
  12. ChillX

    ChillX

    Joined:
    Jun 16, 2016
    Posts:
    145
    Where on earth is the documentation for creating buildings using code ??? There is one Youtube Video but that is for the old version of BuildR not for BuildR2.
     
  13. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Chill man :)
    There isn't anything yet, I'm currently working on the toolset to use for it, then docs. If you're super eager though, email me and I can send you an example script...
     
  14. Dave_LeDev

    Dave_LeDev

    Joined:
    Apr 14, 2015
    Posts:
    33
    How do I go about removing doors? Also, how do you prefer bugs get submitted?
     
  15. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Hi Dave, there is a bug with that being fixed and updated today...
     
    hopeful and Dave_LeDev like this.
  16. Dave_LeDev

    Dave_LeDev

    Joined:
    Apr 14, 2015
    Posts:
    33
    Obviously I found the forum first before your email address. *laughs*
     
    jasperstocker likes this.
  17. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
  18. droderick

    droderick

    Joined:
    Aug 25, 2008
    Posts:
    169
    Any expected timeline on LOD features? Wasn't this present in BuildR v1?
    Great tool btw.
     
  19. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Thanks. We have pretty much the same implementation of low detail and full detail generation modes from 1 implemented in 2
     
  20. VI6-D-DARK-KING

    VI6-D-DARK-KING

    Joined:
    Apr 1, 2016
    Posts:
    4
    So I'm thinking about buying BuildR 2 and I am curious about how can I add windows, roofs, etc that I create and if there is any specific thing I need to do while creating them.
    And any ETA on a video tutorial on how to do so?
     
  21. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    I have one video above. I'm working on the other ones and hope to get them out soon. There's just so much to do :eek:)
     
    Dave_LeDev likes this.
  22. drsmetamoto

    drsmetamoto

    Joined:
    May 8, 2017
    Posts:
    12
    Is there a workflow for creating buildings which are placed on top of terrain/objects with variable height? thanks in advance
     
  23. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Well I'm very much open to discussion on the topic.
    The latest version comes with a value to generate a foundation for the building to cover any gaps there.
    I guess the thing to look into would be sampling a Unity terrain to cull wall section openings that would be underground? Would that make sense to a workflow?
     
  24. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Hi all - I've just dropped the latest version onto the store which includes options to export your building as a prefab and FBX model.
     
    Dave_LeDev likes this.
  25. Dave_LeDev

    Dave_LeDev

    Joined:
    Apr 14, 2015
    Posts:
    33
    Thank you for this feature!
     
  26. reocwolf

    reocwolf

    Joined:
    Aug 1, 2013
    Posts:
    182
    Is there any way to use GIS data to generate buildings or at least shapes?
     
  27. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    It's coming very soon!
     
    reocwolf and hopeful like this.
  28. zZUBAa

    zZUBAa

    Joined:
    Feb 2, 2015
    Posts:
    2
    Hi, can you send me example of how can I create buildings using code? Thanks
     
  29. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    This is a section that is in the works right now. I'll have an example released when it's ready.
     
  30. zZUBAa

    zZUBAa

    Joined:
    Feb 2, 2015
    Posts:
    2
    Hi, I'm working on some project and i need very basic example how to construct buildr2 buildings from code with given points, can you send it? here's my email: zura.abelashvili@yahoo.com, thanks!
     
  31. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Here is the proof of concept I have. I'm working on a ton of stuff that will support proc gen with BuildR, not just code but in editor. I'm getting close to something releasable but for now this will send people in the right direction if they want to get their hands dirty with code.
    Note you'll need the latest version of BuildR to get this running. I'm updating it now. 2.051
     

    Attached Files:

  32. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Last edited: Jun 10, 2017
    docsavage and Dave_LeDev like this.
  33. reocwolf

    reocwolf

    Joined:
    Aug 1, 2013
    Posts:
    182
    That is awesome.
     
  34. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    I've just dropped 2.1 onto the Asset Store. The latest version includes project Genesis, a framework that facilitates procedural generation of building data along with runtime generation support and easy integration with the BuildR framework.
    I've included three examples within the Genesis folder and I'll be looking to add some Asset integrations over the next few weeks so hit me up with requests. I have Mapity working well now, package following shortly.
    At this stage it's an early framework so documentation exists as a readme file along with asking me questions and the three simple examples I've provided. I believe there might be some big changes once you get your hands on it and send me feedback!
    The next couple of items on the roadmap are supporting interior generation and a new system that will support faster runtime generation as the current, editor focused setup is too slow.
    Go get it!

     

    Attached Files:

    hopeful and docsavage like this.
  35. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
  36. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    And just a note - I updated the Mapity integration to pull height data if available. Same link as above
     
    hopeful likes this.
  37. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,685
    Just as a bit of feedback ... the new Mapity demo above gives me (on Unity 5.6.0) 23 errors like the one listed below. When I switch the building type from Paris to NY, the errors don't show up, but I get a lot of improbable angles and occasionally missing floors on the buildings.

    NullReferenceException: Object reference not set to an instance of an object
    BuildR2.MansardRoofGenerator.ToMesh (BuildR2.BuildRMesh& mesh, BuildR2.ShapeOffset.Shape& shape, Single roofBaseHeight, Single meshHeight, System.Int32[] facadeIndices, BuildR2.Volume volume, Int32 submesh, BuildR2.Surface surface, System.Collections.Generic.List`1 surfaceMapping, Boolean generateDormers) (at Assets/BuildR2/Internal/Scripts/Generators/MansardRoofGenerator.cs:143)
    BuildR2.MansardRoofGenerator.Generate (BuildR2.BuildRMesh mesh, BuildR2.BuildRCollider collider, UnityEngine.Vector2[] points, System.Int32[] facadeIndices, Single roofBaseHeight, BuildR2.Volume volume, System.Collections.Generic.List`1 surfaceMapping) (at Assets/BuildR2/Internal/Scripts/Generators/MansardRoofGenerator.cs:57)
    BuildR2.RoofGenerator.Generate (BuildR2.Building building, BuildR2.Volume volume, System.Collections.Generic.List`1 surfaceMapping, BuildR2.BuildRMesh mesh, BuildR2.BuildRCollider collider, Rect clampUV) (at Assets/BuildR2/Internal/Scripts/Generators/RoofGenerator.cs:323)
    BuildR2.RoofGenerator.Generate (BuildR2.Building building, BuildR2.Volume volume, System.Collections.Generic.List`1 surfaceMapping, BuildR2.BuildRMesh mesh, BuildR2.BuildRCollider collider) (at Assets/BuildR2/Internal/Scripts/Generators/RoofGenerator.cs:27)
    BuildR2.FullMesh.Generate (BuildR2.Building building) (at Assets/BuildR2/Internal/Scripts/FullMesh.cs:251)
    BuildR2.GenerateMesh.Generate (BuildR2.Building building) (at Assets/BuildR2/Internal/Scripts/GenerateMesh.cs:15)
    BuildR2.Visual.Update () (at Assets/BuildR2/Internal/Scripts/Visual.cs:32)
     
  38. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
  39. JamesWjRose

    JamesWjRose

    Joined:
    Apr 13, 2017
    Posts:
    687
    This looks great, I have a couple of pre-sales questions if I may. I am a business software developer, so pardon my ignorance on any number of items as I have just recently started with Unity so I can create VR apps. (Blissgig.com)

    * Can I adjust the material of each window at run-time? Not ALL of them at once, each individual window at any given moment in time. (I can give more detail if wanted)
    * How is the poly count? I am going to need a large number of buildings that can be 10 to 100 stories tall.
     
  40. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    They're good questions.
    1. A facade is made up of a grid of sections. Each section has the defined design but they'll have a single texture per design, so all the sections that share the same design, share the same material. If you made a facade of loads of different section designs that used different materials it would be possible. But you'd have a lot of sub meshes in this scenario. Down the road I'm looking into having windows randomised with an atlased texture of variations to use, but there is no date on implementation for that yet.
    2. Depends on a lot of things. Each section at it's most basic will be 18 tris. At 10 floors and maybe 10 sections wide that would be 1800 tris for a facade. 4 facades would be 7200. A flat roof would be an additional 26 tris. That is with no interior.
     
  41. JamesWjRose

    JamesWjRose

    Joined:
    Apr 13, 2017
    Posts:
    687
    Thanks for the quick answers. I agree and understand that the poly count can be affected by multiple issues (ie: 10 story vs 100 story) Your clarification gives me specific data and that's GREAT! Thank you, I can go make some calculations on those values. Perfect, thank you.

    I am sorry, but I have read your reply about #1 several times and I am still not sure... so I'm gonna ask a follow up. It sounds like your code does not quite get me there, but since I am a C# developer and you include the code I ASSUME that I can adjust the code to add a quad at the same location/size you are placing the window texture, I can then affect that object at run-time. Would this be possible?
     
  42. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Your reply has given me an idea of what you could do. The very next update that is almost ready (reckon end of week, depends on how much time I get on it) includes a new feature where you can attach models and prefabs to wall sections. With this you could add a prefab that would replace the window quad with your own quad and then apply a material to each of these individually. Does that make sense?
     
    docsavage and hopeful like this.
  43. JamesWjRose

    JamesWjRose

    Joined:
    Apr 13, 2017
    Posts:
    687
    That makes perfect sense. Awesome. I'll purchase this asset soon.

    Have a great day.
     
  44. IrishDev

    IrishDev

    Joined:
    Jul 18, 2012
    Posts:
    50
    Has BuildR2 been or it planned be intergrated with Mantle?
     
  45. whatbus2000

    whatbus2000

    Joined:
    Nov 21, 2014
    Posts:
    65
    how do you make a door on external wall that is actually an opening and not a transparent plane?
     
  46. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Hi! Sorry for the delay. There was no alert given to me about posts here - the forum is so unreliable after years!!!
    Anyway, I'm talking to the guys at Mantle and hope to have something soon.
    Interactive doors are in the next update with an example. Hopefully within a week.
    Sorry it's been a little quiet, I've been working on a large refactor of the way BuildR handles materials so I can get external models in etc. I've also fixed a load of things on the way.
     
    hopeful and docsavage like this.
  47. JamesWjRose

    JamesWjRose

    Joined:
    Apr 13, 2017
    Posts:
    687
    Hello, back in early July I asked about the ability to add a Panel in the same position as the same position as each window. I emailed you a week ago, and since I got no response (hey, it's cool, lots going on, I get it) so I thought I would bug you here.

    This is a feature I need for my project so I wanted to see if it was implemented.

    Have a great weekend
     
  48. jasperstocker

    jasperstocker

    Joined:
    Jul 7, 2010
    Posts:
    429
    Hi James,
    Sorry about the lack of response.
    I have it implemented but I'm still working on a couple of bugs that's been halting the update for about a month... I'm hoping it will be fixed soon. My current contract is up mid October so maybe I'll be free to commit to some good BuildR time from then.
     
  49. JamesWjRose

    JamesWjRose

    Joined:
    Apr 13, 2017
    Posts:
    687
    COMPLETELY understandable. No worries. I am a software developer myself, not a game dev. I am playing with Unity to learn VR development, so yea, I completely understand the time table issues.

    Peace,
    James
     
  50. Jero_

    Jero_

    Joined:
    Oct 13, 2017
    Posts:
    1
    Hello,
    I have some questions about BuildR and what can be done with it.
    Can I maybe contact you via email?