We add new 3D SCANS every week

Shop Now
Search
Cart
Sign in
  • offerCustomer zone
  • offerYour orders
  • offerEdit account

  • offerAdd project
  • offerLiked projects
  • offerView your artist profile

  • Dark mode

We care about your privacy

We use cookies to provide you with the best possible experience. They also allow us to analyze user behavior in order to constantly improve the website for you. The consent is voluntary. You can withdraw it at any time or renew it in Cookie settings on the home page. Withdrawal of your consent does not affect the lawfulness of processing performed before the withdrawal. Privacy Protection Policy
Accept all
Accept selection
Reject all

Inspiring Living Room - From 3ds Max to Unreal

Marcin Białecki 2017-12-07 12:37 tutorial  > 3ds MAX  > modeling

Marcin Białecki shows how he created interior with 3ds Max and V-ray and then moved it to Unreal Engine.

This interior is scene 03 from Archinteriors vol. 48 collection for 3ds Max and V-ray. We also released it as scene 05 in our Archinteriors for Unreal Engine vol. 4. From the beginning it was clear that we want to release two versions of the scene. It demanded some extra steps that would not be necesarry if we would focus only on traditional offline rendering approach.

What does it mean? First, we are shifting to PBR workflow. No more complicated V-ray materials. Now 99% of models in our scenes are made with Substance suite, suitable for publishing textures for many render engines, including realtime game engines.
 

AI48_003_Cam_001_PP

V-Ray final render (camera 1) after post production.

 

AI48_003_Cam_002_PP

V-Ray: final render (camera 2) after post production.

 

AI48_003_Cam_003_PP

V-Ray: final render (camera 3) after post production.

 

AI48_003_Cam_004_PP

V-Ray: final render (camera 4) after post production.

 

AI48_003_Cam_01_wire

V-Ray - wireframe (camera 1)

 

AI48_003_Cam_02_wire

V-Ray - wireframe (camera 2)

 

AI48_003_Cam_03_wire

V-Ray - wireframe (camera 3)

 

AI48_003_Cam_04_wire

V-Ray - wireframe (camera 4)

 

VrayEdgeTexMap

To achieve this wire effect we used the VrayEdgeTex Map.

 

inspiration

Above you can see the process of working from reference to final render. As you can see, a ready render differs significantly from "Inspiration" but the idea of a bedroom behind a glass door is preserved. Above all, an interesting operation creating the interior is the use of a ready color palette. It helps to balance the colors in the interior.

 

nr_00596_100models

This interior is composed of more than a hundred different models. They are mapped and ready to use on other projects. Below you will find a presentation of some of them.

 

Creating shelf

01_shelf_substancepainter

These are the renders of Shelf with Substance Painter. Substance Painter uses iray for rendering. Iray is a GPU accelerated path-traced renderer developed by Nvidia.

 

02resultshelf

And here is the result of adding different layers of material. As a result, we achieve a high-quality Shelf model.

 

03bakers

Baking refer to the action of transferring mesh based information into textures. These information are then read by shaders and/or substance filters to perform advanced effects.

Most modern game engine and offline renderer use these baked textures. Baked textures are used in Substance Painter to add details and quickly texture an asset via advanced mask generators and filters. There are mandatory to be able to use Smart Materials for examples.

  • World Space Normals - This baker allows you to extract a world space normal map from the model.
  • ID -This baker allows you to project Vertex Colors, Material colors or Random colors per sub-objects from a high definition mesh to the current model. It can be used to bake zBrush Polypaint or Material IDs.
  • Ambient Occlusion - This baker uses the high definition meshes to compute the occlusion to produce accurate results and store them into a texture that match your low-poly mesh.
  • Curvature - The curvature baker allows you to extract and store concave and convex information related to your mesh.
  • The black values represent the concave areas.
  • The white values represent the convex areas.
  • The gray values represent neutral/flat areas.
  • Position - The Position baker allows you to create position maps.
  • Thickness - The thickness baker is very similar to the ambient occlusion baker, but it casts the rays in the opposite direction of the surface normal. (So it's as if you were baking an AO with the normal inverted). The black values represent the thin parts of the model. The white values represent the thick parts of the model. It can be used in a Sub Surface Scattering (SSS) shader or directly in the diffuse/albedo to fake a SSS effect.

 

Creating Pouf

 

nr_00597_01Puf_Maps

To use the textures that we created in Substance Painter, you need to export them with the appropriate preset, in our case it will be a Vray preset.
We will get several maps that we attach to the appropriate slots in Vray.

 

nr_00598_02_MaterialEditor

I marked red slots for textures that were exported from Substance Painter.

 

03Puf_substancepainter

These are the renders of poufs textured with Substance Painter.

 

nr_00600_04result

And here is the result of adding different layers of material.

 

nr_00601_05bakers

Baked textures are used in Substance Painter to add details and quickly texture an asset via advanced mask generators and filters.

 

FlowerPot

Today, over 85% of AAA game studios use Substance in their production pipelines, making Substance the industry standard for PBR material authoring.
Above you can see how we do it on the basis of a flowerpot mesh.

 

V-Ray Camera settings

01_Camerasettings

 

02_Lighting_1

As in most of our scenes, we use the Sun & Sky system with Portals in windows. To better understand this, keep up to date with the "tip of the week" on our website. Or look at earlier articles.

 

nr_00602_AI48_003_Vray_preset

V-Ray render settings: Download V-Ray settings (VRAY PRESET) here.

 

uuuvvv

The most of our models are unwrapped with no overlapping. Most models are aslo mapped individually, often manually. We rarely use options "Flatten Mapping" or similar.

 

nr_00604_textures

Preview of textures used in the scene.

Porting to Unreal Engine 4

In our UE scenes we don't use overlapping lighmaps for meshes. We have just few seamless materials. We lit our scenes with Standard-direct + skylight hdri. Most of our textures have a resolution between 2-4k. The result: we can achieve more than 50 FPS (frames per second) on GeForce 1070. You can launch walktrough even on GeForce 460 SE and still maitain over 20 FPS. Our caustic maps were made manually.

 

nr_00605_UEtextures

As you have noticed, the number of objects and textures in the Vray and Unreal scenes varies considerably. The reason for this is that the Unreal scene must be complete to be able to walk on it. Vray scenes are usually needed for still shots. In Vray scenes, objects can be attached with each other in any way.
In the Ureal scene, each object is best to be separate, so the generated collision box does not prevent us from walking around the room. In addition, maps from the Substance Painter with the "UE4" preset have only 3 maps. These are BaseColor, Normal and OcclusionRoughnessMetallic packed map.

 

nr_00607_RGBchannel

The first two are understandable, but the third principle is presented below (RGB channels)

 

nr_00606_UEmeshes

This is an overview map of the 5 scene from Archinteriors for UE vol. 4.

From V-Ray to Unreal

Based on the carpet model, I would like to briefly introduce a step by step "Vray >>> Unreal" pipeline. 

nr_00623_01_Carpet_bakers

The most important baker mask of this model is ID, thanks to which it is easier to select rug patches.

 

nr_00624_02_Carpet_Substance_Texturing

Step by step, we're texturing the carpet.

 

nr_00625_03_Carpet_Substance_Masks

This is the final result of working with Substance.

 

nr_00608_04_Carpet_Export_Settings

 

nr_00609_05_Carpet_Export_Settings2

These are the exporter settings in the Subantce Painter.

 

nr_00610_06_UE_maps

Using the selected options, we export UE maps.

 

nr_00612_07_unwrap

We're going back to 3ds max. We give Unwrap modifier to our model.

 

nr_00613_08_second_channel-move

Copy first channel to the second one by pressing the MOVE button.

 

nr_00614_09_strech

To get the best lightmap in Unreal, we stretch the textures to cover the largest possible area of the map. We do not care about the disparities in this case.

 

nr_00615_10_pivot

It is very important to set the pivot in a reasonable place.

 

nr_00616_11_Reset_Xform

It is equally important to reset Xform befor export FBX. 

 

nr_00617_12_Script

Using the "Ts_tools unral exporter" script, we export the model to the selected folder.

 

nr_00618_13_FBX_settings

FBX export settings.

 

nr_00619_14_Import

And now, by dragging and dropping in the viewport, we import FBx to Unrel Engine.

 

nr_00620_15_Importmaps

After this action, this window will pop up (FBX import options). It is important to deselect some options.

 

nr_00621_16_add_maps

As in any 3D graphics program, insert the textures into the appropriate slots.

 

nr_00622_17_final_result

And go with the rest 182 times!

At the end we have free model for you - it's FBX file and maps of Pouf (with V-Ray and Unreal Engine 4K textures) described in this article! Download it here.

Have fun with 3d! :)

 

Author: Marcin Białecki Editor: Michał Franczak
Tags: 3dsmax unreal
You may also like...
PipeDream - Autodesk 3ds Max script

PipeDream - Autodesk 3ds Max script

Pipe Dream is a free script for Autodesk 3ds Max that generates random sci-fi pipes.
×

LEAVE A COMMENT

You need to be logged in to leave a comment. Don't have account? Register now.