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"

Best way of optimizing SubUv textures, need help.

1) Avoiding Overdraw: So in the case of CPU SubUv animations, is always better to use as much alpha space as possible in each frame of the texture right? In order not to get overdraw problems?

2) Laggy textures: Its weird that i make such simple textures and i try to use as much alpha space in each frame of the flip book, yet my textures are still laggy when played many times close to the camera and close to each other (its certainly overdraw?). I mean last night i made this one framed texture of a dust base for explosions, its like around 256x256 in size, imported from BMP format, yet this texture will lag more that for example your T_Smoke_SubUV texture which never really lags for some reason.

3) FlipBook's center point in SubUV's: I,m wondering if the center (or anchor point in After Effects terms) of each frame of the SubUv texture has to always be right in the middle of the frame and not at the middle bottom of the frame for example. This will help in the case of animations like rising flame mushrooms or dust that kicks up so i could use more of the frame's alpha space. Would it be possible to change the center of where the animation runs in each frame?

Thank you Eric!

Product Version: Not Selected
Tags:
more ▼

asked Oct 30 '14 at 03:58 PM in Rendering

avatar image

Bruno_G
51 14 26 30

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

1 answer: sort voted first

Hey Bruno_G -

I am going to sort of answer Question 1 and 3 at the same time. Yes you want to get have a flipbbok texture that is created using the least amount alpha-ed space as possible in each frame. So if you are creating them in After Effects I will often expand each individual frame to fill its alloted frame space as much as possible, because the anchor point is in the center that means even though it looks like I am eliminating a lot of the particles growth I can use the size of the particle in Cascade to give it right back to me.

Here is an example of a rendered Maya Fluid explosion that I did a while back and then put it into After Effects to generate the Flipbook (mind you that you are not seeing any alpha in this image):

alt text

You will notice in the example that the explosion grows but still fills the individual frames because I can increase the size in Cascade of the particle itself. I am able to do this because of that central anchor point.

The lagginess you are describing is a bit unusual, but have you tried to import based of a more optimized image file type, like a TGA or PNG? Does it still generate the amount of lag? Another good test about whether its teh texture or the material would be to replace your texture with the T_Smoke_SubUV texture and see if the lag still occurs, if it does then we need to look at your material and the effect itself.

Thank You

Eric Ketchum

more ▼

answered Oct 30 '14 at 07:31 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.8k 702 260 736

(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