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"

A couple of questions regarding Instance Static Meshes

Hello,

I have a couple of questions regarding instance static meshes.

Let's say for example you have a blueprint actor with an Instance static mesh component in it.

The instance static mesh is assigned with a static mesh with no instances yet.

**First question here, Say I use the "Spawn Actor from class" node to spawn the blueprint actor* mentioned above at the current level say via game mode.

So, with zero instances for the instance static mesh but with static mesh assigned. Does a draw call occur?*

Second Question

Say I use the "Spwan Actor From Class" node multiple times for the actor above with instance static mesh containing 5 instances. Does with each Spawn, a new Mesh Draw Call is done?

Example - I do it 3 times, So does 1 mesh spawn with 15 instances or 3 mesh with 5 instances?

Thank you for the info.

Product Version: UE 4.18
Tags:
more ▼

asked Feb 20 '18 at 07:39 AM in Blueprint Scripting

avatar image

SHOBBIT
655 13 13 31

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

1 answer: sort voted first
  1. Draw call probably not occur, but static mesh and it's resources should be loaded.

  2. >3 mesh with 5 instances. Every Instanced Static Mesh Component means new mesh with all it's parameters, and instancing only its instances, not instances of another ISM.

Also I recommend to use Hierarchical ISM, because it works with LODs and distance culling.

more ▼

answered Feb 20 '18 at 07:50 AM

avatar image

redbox
4.3k 82 20 104

avatar image SHOBBIT Feb 20 '18 at 07:58 AM

Really appreciate the quick response and the recommendation. Right now just experimenting with the engine to learn it better.

Again thank you for the time to leave an answer!

(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