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. 

Best way of adding custom data to DataDerivedCache?

To support foveated Rendering in a modified version of the Engine I would like to add saliency textures (which will be derived from an object's texture) as derived data to the DDC.

I think using the DDC would be the best possibility because data in the DDC can be regenerated at any time from data stored in .uasset files, just like saliency textures.

Here are my questions:

  1. Some of the caching code was put into preprocessor directives such that the code won't compile without the Editor. So what happens to the DDC functionality in standalone Games? Is it just not there or replaced by another mechanism?

  2. Are there better/easier ways of realizing that feature?

  3. Are there any good resources on how the DDC generally works? Where should I start looking for beside Engine/Private/TextureDerivedData.cpp?

Thanks in advance!

Product Version: UE 4.16
Tags:
more ▼

asked Aug 21 '17 at 03:08 PM in C++ Programming

avatar image

Ceron
21 1 3 10

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

0 answers: sort voted first
Be the first one to answer this question
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