Important FBX Import parameters

Convert Scene Unit!

Vectorworks to Unreal Engine 4 workflow Part 2

Before I go into lights, 3 things I’m going to address before I move on.

-Auto Exposure

Turn it off, really. Go to edit –> Project Settings –> Search for exposure and turn it off.

-Scale

When I drew the kitchen in Vectorworks, I used a scale of 1:20
After I imported the FBX and placed the meshes in place, I didn’t notice how big it was until I started the level, everything was huge.

I selected all imported meshes and scaled from 1 to 0,5 and everything seemed realistic.

-UV Lightmaps

When building the lightning I received a lot off warnings/erros which I tought I could just ignore. But after some investigation I knew I should not have ignored them.overlappingUV

I’m not going to go into details, but the fact is, you cannot have overlapping UV’s. period.

overlappingUV2.png

Above is an example of a wrong UV map.

Below is an example of a somewhat more correct UV map.

overlappingUV3.png

You see, each side of the mesh is now visible on the UV Map, and nothing is overlapping

So how to fix this?

Well, not in Unreal Engine.

You need to wrap the UV map in your Modelling/architecting software.
Ok, back to Vectorworks it seems, only to discover that there is no way of wrapping UV map’s in VW, wtf?? What now?

The only decent workaround i’ve found is:

VW –> export to FBX –> Import in 3DSMAX –> UNWRAP using Steamroller –> export to FBX –> Import to UE4 (but uncheck generate UV map)–> set the correct UV index channel.

Now, this is a correct UV map:

UV-correct.png

So this seems to work.
I had to make the materials 2-sided again.
I guess it’s best to not import materials and start fresh in UE4 since the materials are pretty worthless.

But, on the plus side, Collissions seems to be handled correctly, and I didn’t had to rescale everything after the import.

Onwards and upwards!

 

Vectorworks to Unreal Engine 4 workflow Part 1 (of many)

There are are ton’s of architectural program’s out there. Autocad, Revit, Vectorworks, Archicad, the list goes on and on.

I for one, had the “luck” to get familiar with Vectorworks. Using v2016, 2017 and comming year I’ll be using 2018.
I must say, it is a pretty good program, but I’m not a big fan. Won’t go into details why.

After working a couple of years with VW I wasn’t really satisfied with the render quality.
During school I got to work with Artlantis, which provides better renders, but it’s just a horrible program performance wise.

After some research I came across Unity & Unreal Engine 4.0 (UE4).
It became pretty clear this was the way to go for me.

How hard could it be? right?

Oh boy, was I wrong.

To save you at least a couple of hours of your life, I’ll try to share my findings.

NOTE: the findings below are not the correct way to do this right, It’s just to show you  what I did, and probably what I did wrong. I learned this myself, the hard way.

So my idea was to build a “professional” 2D/3D plan in vectorworks, export it to FBX, 3DS whatever and import it into Unreal, because, that’s how things should work, right?

Wrong again.

But ok, lets try this anyway.

I opened VW and opened one of my school designs, a self designed kitchen:

kitchen.png

So far so good.

One of the advantages of VW is that you have a ton of export options, a lot of which I don’t even know what they’re good for.
But let’s start with an industry standard, export to FBX.
I went with the default settings, and got a the file I wanted.

As a test, I opended the file in Windows’ 10 paint 3D:

kitchen-paint3d.png

Looks pretty good. So, we’re on to a winner, right?

I opened Unreal Engine 4.0 (4.20.something at the moment) and decided to just import the FBX.
Used default settings, cause why not?

default-settings.png

The first indication something wasn’t going as planned was this message:

errors.png

I got about 90 messages, could have been just informative, but I didn’t get a good feeling.
I got about 170 different meshes and I decided to just select all meshes and drag them into the viewport.

And to my surprise, it actually worked! hurray for common sense!!

succes.png

Alas, my victory was short. I quickly noticed a couple of things that weren’t correct.
Once the shaders were built, I decided to build the lightning and start from there.

Lightning built:

lighting-built.png

Aside from the lightning being to dark, it looked like crap.
For instance, the fake lowered ceiling that was supposed to be yellow turned out weird:

wtf.png

Transparant is not yellow.

So I opended this specific mesh in UE4:

ok.png

To the untrained eye, nothing seems wrong, right?

But the I looked at the bottom:

notok.png

Hmm, something seems to be missing…

Since I saw a lot of UV error’s during import, I opened the UW Map viewer:

uv.png

Now, I’m not an export on UV mappings, but this seemed of to me.

I examined the material that was automatically applied during export and import.
I noticed that the 2-sided option wasn’t enabled, so that must be it. checked the box, rebuilt the lightning and low and behold…

better.png

Had to add a spotlight to see the difference, but no longer transparent yellow.
So let’s add some more light to see what’s missing…

To be continued…

Create your own website, free on WordPress.com.Create your own website.
Start free