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"

[Closed] How do I use Particle Cutouts in 4.11?

We just implemented the 4.11 preview build into our project and I am currently trying to figure out how to use the new feature "particle cutouts" described in your stream here:

https://youtu.be/22jvxFoTHBk?t=2235

In the stream it is stated that the exact method of how to use this feature will be explained in the full 4.11 release notes, yet I have the feature before me and would like to start implementing it. Can someone quickly explain how to use this feature?

I have the SubImage Index in the Emitter referencing the SubUvAnimation for the specific flipbook image, I just can't figure out the next step.

Thanks! -Alex

Product Version: Not Selected
Tags:
more ▼

asked Jun 17 '16 at 08:03 PM in Rendering

avatar image

Answers.Archive STAFF
1.7k 183 293 645

(comments are locked)
10|2000 characters needed characters left

The question has been closed Jun 17 '16 at 08:21 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hi Alex -

Setup Steps:

  1. Create a new SubUV Animation asset off of the flipbook texture (from Right Click menu in Content Browser)

RightClickMenu

  1. Open the SubUVAnimation asset and make sure the SubUV Images Horizontal and Vertical are set correctly. (These two steps need only be done once per flipbook.)

SubUVImagesSetup

  1. In Cascade, find the SubUV module and assign the Animation asset

ModuleSetup

You will still need to setup your particle system and material to use Particle SubUVs as previously in the engine as well.

I have a small sample project setup below for you to examine as well. If there is anything additional you need please feel free to comment back.

Thank You

Eric Ketchum

Test Project 4.11_preview 6

material.png (9.8 kB)
animation.png (35.3 kB)
modules.png (9.8 kB)
more ▼

answered Jun 17 '16 at 08:04 PM

avatar image

Answers.Archive STAFF
1.7k 183 293 645

avatar image Answers.Archive STAFF Jun 17 '16 at 08:04 PM

Ok, I see what I was doing wrong. This method does not work with GPU type data. I removed it and now it works.

Since it is now generating meshes for each emitter, does this mean we are spending an extra draw for this method as well?

Thanks for the quick and detailed response Eric!

avatar image Answers.Archive STAFF Jun 17 '16 at 08:04 PM

Hi Alex -

All Sprite Emitter will generate a set of two triangles in order to render the sprite, the SubUV Animation essentially adds a few vertices in order to eliminate the overdraw caused by using the standard 2 triangle plane.

Overall, the cost of the extra vertices is significantly less than the overdraw generated by a flipbook. My test asset flipbook is a bad example since each frame mostly fills the individual UV space, but something like an explosion flipbook which begins very small then grows to fill the UV space, would get a much greater boost from this method.

In the SubUV Animation file you can set the Bounding mode which will allow you to control how many new vertices are generated, so you can balance the number of vertices with the amount of overdraw.

Eric Ketchum

(comments are locked)
10|2000 characters needed characters left

Follow this question

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

Answers to this question