x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to fill the interior floor of a cave, maximizing the area?

If I create a mountain with a cave entrance using the transparency painting tool, what is the best method to create a floor and wall static meshes that conform to the shape of the landscape interior?

If I create a large static mesh cube for the floor as an example, the dimensions will stick through the plane of the landscape. Is there a way to cull this static mesh so that it doesn't extend beyond the limits of the landscape while using simple geometry?

Here's an example terrain to show what I'm referring to more clearly. alt text

I guess in addition to this, are static meshes the correct way to accomplish the interior of such a cave?

Product Version: Not Selected
Tags:
more ▼

asked Jul 22 '14 at 04:10 PM in Using UE4

avatar image

Gaudon
1 2 3 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You have several options available to you for this. The first and easiest would be to create a static mesh with the dimensions you need in a 3D modelling program and import that file to the editor. The second would be to use static meshes present and work around the dimensions by placing them in various angles, but you would not be able to use just one as more than likely the edges will stick out (as you mentioned), the third, and while viable is not the most desirable solution would be to create a bsp brush and edit that brush to fit the dimensions you need, then turn that bsp brush into a static mesh, adding collision, etc. Any of these can work and I would recommend playing with each to see what is most fitting for your needs. Below are a few links to help you with your decision:

https://wiki.unrealengine.com/Static_Mesh_from_Blender

https://docs.unrealengine.com/latest/INT/Engine/Actors/StaticMeshActor/index.html

https://docs.unrealengine.com/latest/INT/Engine/Actors/Brushes/index.html

more ▼

answered Jul 22 '14 at 04:16 PM

avatar image Gaudon Jul 22 '14 at 04:26 PM

Just a few more questions when you get the chance, as while I understand these concepts I don't fully understand how to accomplish them. For example,

  • If I create a mesh floor in blender to import into this cave, how do I obtain the dimensions (from UE4) given that it would be a complex piece of geometry? Is there a tool in which I can get the inner dimensions of the cave? Effectively where the plane is intersecting in the first image.

  • If I opt to use several pieces of simple geometry to fill the inside of the cave, how do you manage texture inconsistencies and stretching? I assume you would have to fill the cave with the smallest common static mesh possible to ensure the edges meet with a continuous texture?

Thanks!

I guess the easiest answer is to create the inside as I want it and just ensure the outer limits are large enough to hide it all heh.

avatar image Adam Davis STAFF Jul 22 '14 at 05:25 PM

For your first question, if you middle mouse button in one of the orthographic views you will be able to drag around a ruler. The measurements in the editor is 1uu=1cm so you can set your 3d modelling program to cm for accurate dimensions. For the materials, you can use a texture object and plug that into a world aligned blend node for what you are looking for. If you need an example of this look at M_Brickwall in the materials folder, it should be with your starter content.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question