cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Visualization
About built-in and 3rd party, classic and real-time rendering solutions, settings, workflows, etc.

Unity Game Engine for Architectural Visualisation

Anonymous
Not applicable
I've only recently dabbled with Unity for Mac (alternative to Unreal Development Kit which isn't available for Mac OS) and it offers many features which I'd love to see in either VBE or ArchiCAD presentation apps.

Anyone else out there played with gaming engines? and if so do you (like me) consider that Graphisoft ought to have caught up to these guys by now?

They offer the following features that appear to all render in real time without any problem on an off the shelf iMac or similar spec machine;
- real time lighting and shadows
- physics, including items that respond to wind of being pushed
- wind
- soundscapes
- realistic water
etc

Curious to know others opinion of such.
23 REPLIES 23
Anonymous
Not applicable
Hi Dave

Yes that one worked fine. Looks great.

The FOV seems a little wide. It would be nice if motion could be less sensitive? but not bad for a days work. I see you've also got wind physics applied to ground cover plants.

Now are you up to adding some sound effects and interactive components?

If you do, i would love to see your progress.

Thanks for keeping me in the loop.
Anonymous
Not applicable
Yes that one worked fine. Looks great.


Alright! That was easy at this end... just do the Mac build. Took about 3 minutes.
The FOV seems a little wide.
Agreed. Easy to fix - will do next time around. I set it to 120 degrees. Probably back it down to 90 or so and see how it looks. It does distort the perspective quite a bit from some viewpoints if it's too wide.
It would be nice if motion could be less sensitive?


Yeah. I need to play around with First Person prefab to get it's 'inertia' more relaxed. Obviously, they've set up the defaults to personify us as Navy SEALs assaulting a compound! They've got complete fine control of that, which I'll be learning to harness as I go.
but not bad for a days work.
For sure. Here's the great part; Once you've got a lot of the elements (called 'Game Objects') set up, they're reusable across different files ('Scenes'). Once we've got the perfect FP viewer built, we could keep it in a template file, ready to go on a new model import.

Same goes for the other effects.
I see you've also got wind physics applied to ground cover plants.
Yep. And surprisingly, those are some of the easiest elements and effects to set up.
Now are you up to adding some sound effects and interactive components?
That's the next challenge. I'll be working on it. The thing I really want to figure out going forward is setting up the lighting to get good indoor effects, better definition on monochromatic surfaces in shade and a few other aesthetic items. If I can get a little bit better looking render, then the sky's the limit.
If you do, i would love to see your progress. Thanks for keeping me in the loop.
You bet! Go get your copy at the site and dive in with me, man!! Most everything is done with Java scripts which the gamers trade with each other like baseball cards... sort of like our community's attitude toward GDL's. Some of the really heavy duty stuff is for sale by the programmers at trivialy cheap prices. I saw some AMAZING script work on the Unity Forum... particularly stuff created for the Pro version. I may still plunk down the cash for the full rig. It would make the shadow situation easier to deal with. Baking the light maps for that one took about 15 minutes, and there's not really any preview of the result. That means adjusting lighting for baked shadows can be time consuming. With the Real Time shadows, that step would be gone at the cost of a little more processor or vid card intensive final product... which will become less and less of an issue thanks to Mohr's Law.

Almost 1000 views on this thread and only us two talking. C'mon guys and gals - I demand you make me look like a piker so I can learn more!!

I'm enthusiastic about this approach to describing a design. By coupling it with super-fine still images, it could really help a client connect with the design, and allow us to eliminate small dissatifactions before it gets to the job site. Very cool.

Talk with you soon....
MMontgomery
Enthusiast
I'm messing around with Unity to see about creating some architectural walk-throughs based on seeing this thread, so thanks for mentioning it. I have a couple of issues that maybe you could help with.

What is your procedure for going from ArchiCAD to Unity?

- I save the ArchiCAD model as 3DS - is that preferable?

- Have you figured out what export settings to use (By material, By layer, etc)

- Scale - when I bring in my ArchiCAD model as a 3DS file, it seems to come in very tiny because my clipping planes begin making the building disappear before I even get close (set to default, 0.3) but I don't have a sense of what the scale factor should be. When I scale up the entire project to what appears to be the correct scale, as soon as I select an individual object, the scale factor isn't the same as the project - which is confusing. For example, if I select everything in the project and set the xyz scales to 32, when I select an individual object to edit, it's xyz scale is still set to 1 - I would have expected all objects to be 32 after scaling everything up.


The video tutorials didn't cover any of this. I'll visit the Unity forums, but since you have been doing exactly what I want to get done from ArchiCAD to Unity (and asked for some feedback in your last post I figured I would post here first.

Thanks!

Mike
AC 6-27 - Intel i9-9900K - RTX3090 - Windows 11 - 64GB RAM
Anonymous
Not applicable
I'm a beginner on U3D and game engines in general. Here's some of the things learned so far; feel free to critique, correct or illuminate.

First off, read through the obvious sections of the manual to familiarize yourself with U3D's GUI and navigation methods.. It's pretty easy to use. The manual can be viewed in 'Manual' or 'Reference' mode. For the first round of familiarization, I skimmed through the whole thing in the 'Manual' mode so the programmer could present the product to me in what they considered the logical order. I always give the creator the benefit of the doubt and let him or her give me their preferred presentation, first.

So... you should be able to navigate in the 'Scene' view, understand what it means when you go to the 'Game' view, know what the screen mode buttons do, etc.

In the manual, read the FAQ section. It's two thirds of the way down in the table of contents. THAT section will allow you to actually create something to play with quite quickly. Take a look at the 'How to make a simple first person walkthrough' under 'Game Code Questions'. That right there gets most of us to the exact thing we're looking for!

Read the section on the Terrain Editor. That's key, of course. HOWEVER.. if your AC model has a reasonably sized piece of earth modeled, your camera character will be able to 'walk' on it... although it'll also be able to fall off the edge. I've had best results by editing a U3D terrain to fit my site model, then turning off the site mesh. This also allows full utilization of u3D's rather awesome site entourage features like animated trees, grass, etc.

Do the 'Skybox'... you'll want that!

Explore the lighting sections... you'll need that, too. Use a 'Directional Light' as your Sun. Read the lighting section to learn how to Transform (edit position, rotation) and set the parameters. My sun has an intensity of .6 and is =almost= pure white, with a very slight yellow cast. It's also set to 'Hard Shadows'. Never mind the warning about 'Real Time Shadows'... you don't need them for a static Sun position. If you want to run a light study along with the walk through, you'll need the real time shadows offered in the Pro version. For the Free users, we'll Lightmap instead, which calculates shadows once and saves them as an image used for shadow mapping (more on that later). NOTE.. you won't see cast shadows until you've done the Lightmapping process, known as 'Baking'. You will see the ambient and diffuse effects, though.

If you're conversant in Java script, you'll be able to make this software get up and dance with the stars, within hours, as pretty much everything is done by scripting. Looks like I'll be learning how to write Java! That said, there's a bunch of predefined scripts that allow the non-Java speaker to get results, so there's time to sort out one's language capabilities.


Importing Meshes from external software:

Save AC models as 3DS files. If the model is large, save it in pieces sorted in categories that suit your personal logic for model organization. For instance, my own layering system is categorized by trade, so when I write my 3DS files, they'll appear in the OS file manager like so:

HOUSE_CABS.3ds
HOUSE_FNDN.3ds
HOUSE_MECH.3ds
HOUSE_MLDG.3ds
HOUSE_PLMB.3ds
HOUSE_ROOF.3ds
HOUSE_WALL.3ds

In the above example 'HOUSE' would be the job name or number.

There's two reasons for 'breaking up' the AC model. First, U3D doesn't like large meshes. Two, it allows us to have more control over individual elements and allows us to turn stuff on and off like we're used to in our BIM software. You don't eat a whole steak in one bite.

Each of these files are considered 'Meshes' by U3D, and represent discrete 'Assets' in it's 'Project' window. If you saved the files out of AC 'by material', then these meshes will actually be composed of several 'Child' meshes; one for each material, which can be discretely selected and manipulated in U3D.

Once the meshes have been imported into the 'Project', they can be dragged into the 'Hierarchy' window, and you'll see them appear in the Scene (hopefully, if they're in view.. if not, read the U3D manual to learn how to zoom to a selection).

When selected in the Hierarchy window, you can scale a Mesh with the controls in the Inspector window, where you will be editing that instance of the mesh in the scene. The source mesh Asset will remain un-altered until you rewrite it from AC.. it's hard to 'destroy' or mess something up, so experiment.

Model origin: I'm personally very disciplined this way. My AC models are always located in space with the entire site modeled and tucked tightly into 0,0 on the 'X' and 'Y' axes, and all in the positive quadrant of space. The 'Z' of all model elements are placed relative to true sea level, where sea level is z=0. That's me. This means that when I save the 3DS files, they show up in U3D in the same place relative to it's coordinate system. NOTE.. the gamers look at the universe a little differently than we do. Our 'Z' axis is 'Y' in their world, so yes.. the coordinate system in U3D is 'goofy' by our standard.

Model Scaling: This is done by adjusting the Transform settings of your meshes when selected in the 'Hierarchy' window. On my first projects, I had scaled my meshes by a factor of '1', i.e. unchanged from the original import. It appears that this maintains 'real world' dimensions in U3D where everything is expressed in metric. My kinetic elements (like the camera character) worked properly. The only problem was with the terrain elements - I couldn't get tight enough resolution in the modeling of the terrain to build up behind retaining walls, cut divots for pools, etc. By scaling the model up 10 times, I was able to remedy the terrain resolution issue, but it does screw up the physics and tree sizes a little bit. I'm trying to work out a solution for that. Here's what I WANT - to import the model at 1X scale, and have the smallest terrain brush be under 500cm. To get a 'finer' brush, the only option is to scale the model rather large. Rescaling the trees was easy.. simply select their meshes and adjust the Transform parameters to suit your model scale. Those are found in the 'Trees' folder of the 'Terrain Assets' folder in the 'Project' window - select the tree mesh and adjust it's 'Scale Factor' in the importer window of the inspector. That will adjust it's default size, then you can scale it in a range in the Terrain Editor.

The model elements can be moved around in space numerically in the inspector or by dragging in the Scene view. For myself, I find it easy to move stuff in the scene intuitively, then fine tune the final setting to 'even numbers' in the inspector (I like even numbers.. I'm a little psychotic that way).

Mesh Import Settings: NOTE... this is fully editable in U3D and has no external effect on your 3DS files written from AC, or, as the graphic artists would say it's 'non-destructive'. These settings are accessed by selecting the meshes in the 'Project' window (NOT the Hierarchy window). The '(Mesh 3DSImporter)' window of the inspector has lots of settings which I can't fully explain here - you'll need to hit the books and forums for that. However, one of particular note is the 'Generate Lightmap UVs' button. In order to facilitate lightmapping, you'll need to check that button. Doing so adjusts the meshes' UV's to be lightmapped within U3D. If there's any corruption of meshes in your AC model, it will crash the importer when this box is checked. This creates no immediate catastrophe, but will in turn crash the lightmapping engine later. In my case, I had some cabinets that had corrupted prisms that AC didn't fret about, but this software did. From now on, I'm going to be more careful with my GDL parameters on my cabinets. For the purposes of moving ahead, I simply unchecked Generate UVs for those meshes, and then skipped selecting them when doing the lightmapping process. This won't always be an option, so making sure I can get clean UV's in U3D is added to my mental checklist of modeling tasks from here on. For those using other 3D software, like 3DS or Blender, it might by worthwhile to pass through one of those programs to set up UVs in advance, which will allow you to put that worry aside while working in AC. On a complex model, Applying the UV generation can take some time and all your machine's fans will run hard!

Lightmapping: This will get you static shadows. It takes a while for the lightmapper to work - be patient. Your machine will sound like it's processing a mission to Mars. You can include as many lights as you want, and include or exclude meshes by selection in the Hierarchy window. I found it best to make a project with some simple shapes and basic terrain to learn how to use the lightmapper.. so it's fast to make changes and test it's settings. It's a bit of an Art / Science thing to learn.

As stated previously, this software has a 'depth' about equal to AC itself, so I'll still be learning new tricks months or years from now. Also, it appears to have a robust update schedule and an active, enthusiastic community. I encourage you to explore the forum on their site.. There's a few of us Architorturists in there, and they're often exploring solutions to issues we all have in mind. I'll try to watch the forum here to for new input from the group, as well as answer any questions I can. Hope this bit helped.

I've updated the finished builds posted earlier with better lighting. I added a directional 'back light' for better ambient light on the whole site (no shadow casting) and a point light (with soft shadows) in the Living Room to give some definition to the interior surfaces. Worked real good. Did get an increase in demand on machine resources, though. Here's those links again, one for PC, one for MAC:

http://www.dmsdesign.us/planrm/CHIOU_2011-08-17.zip

http://www.dmsdesign.us/planrm/CHIOU_2011-08-17_MAC.zip

Talk soon!
Anonymous
Not applicable
Dave

I found your 'cut to the chase' summary very useful.

Obviously there is a lot of depth to Unity which I've yet to find time to delve in to.

Sounds like you're enjoying it.
Anonymous
Not applicable
ferokollar wrote:
Dave

I found your 'cut to the chase' summary very useful.

Obviously there is a lot of depth to Unity which I've yet to find time to delve in to.

Sounds like you're enjoying it.
Thanks - hopefully, that'll fill some of the gaps for others who try this out.

AND... Yes, the fun factor. It is indeed fun to do, so it passes that test. I can see myself really getting into working on U3D projects with the same sort of 'godlike' power I feel in AC... where I'm not struggling to operate the software, but rather developing useful and beautiful content. That's the key. It's like building... with good tools, making a piece of furniture or something is great fun. With crappy tools, it's a pain, and no fun.

Definitely download and view the new file with the improved lighting.. it's what I wish I'd waited to post in the first place. I'd be willing to show that one to a client that I felt was intellectually capable of dealing with it. For the less imaginative ones, I'll need to get more facility with lighting and materials... as well as viewing techniques. Lots to learn.

Talk soon!
David Collins
Advocate
Dave-
As both an architect, a gamer and in retirement a designer of impossible structures, I've also been following this thread with great interest. I hope to take a look at the software in more detail once winter closes in, but for now I have two questions:

1. Is it possible to turn off the gravity and fly around the model?
2. VBE/BIMx has a definite polygon / bitmap memory ceiling and it seems pretty low to me. Do you have the sense that the Unity software can handle larger projects than VBE? I was encouraged by what looks like a fairly high polygon count in your model.
David Collins

Win10 64bit Intel i7 6700 3.40 Ghz, 32 Gb RAM, GeForce RTX 3070
AC 27.0 (4001 INT FULL)
Anonymous
Not applicable
David wrote:
1. Is it possible to turn off the gravity and fly around the model?
Yes. You would set up alternate cameras or even camera animations for that. I'm still learning how to do it. With this software, you could do any of the highly animated, amazing stuff we see from the big offices.
2. VBE/BIMx has a definite polygon / bitmap memory ceiling and it seems pretty low to me. Do you have the sense that the Unity software can handle larger projects than VBE? I was encouraged by what looks like a fairly high polygon count in your model.
There are some limits, but they're "per mesh", so by subdividing your model (as described previously), you can import an incredibly huge model and U3D will digest it. The real limit, as far as I can see, is the processing power of the playback machine.

You're right - the model in my sample is very detailed and very large; about 2 Million poly's in any given view of those sample files. I made no compromises on the quality / detail of my model. That was a top priority in seeing if this software could 'do the job'.

Look forward to seeing more from the group... I'll keep plugging away over here, though 'real' work will be interceding for a few days!

Talk soon!
Anonymous
Not applicable
Hi Dave,

Your sample file seems no longer available. Is there any chances I can get it now?

I'm also start with Unity for a more interactive 3D than BIMx & very inspired by your works.

Hope to talk soon.
BIMx who ?

http://nvyve.com/our-work/2014-demo-reel/

http://nvyve.com/our-work/hirsh-log-homes/

ArchiCAD 25 7000 USA - Windows 10 Pro 64x - Dell 7720 64 GB 2400MHz ECC - Xeon E3 1535M v6 4.20GHz - (2) 1TB M.2 PCIe Class 50 SSD's - 17.3" UHD IPS (3840x2160) - Nvidia Quadro P5000 16GB GDDR5 - Maxwell Studio/Render 5.2.1.49- Multilight 2 - Adobe Acrobat Pro - ArchiCAD 6 -25