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"

How can I iterate through pixel indexes of a texture in materials

I want to map the kinect depth texture to real points. I have the formula and have implemented it in materials a material function. the formula convert each X,Y of the image ( the index of each pixel in depth image texture ) to the real world X,Y. my question is that if I multiply texture coordinate node in materials with Width and height of the desired texture will I get the pixel index of a texture ? if not then how can I ?

Product Version: Not Selected
Tags:
more ▼

asked Feb 26 '16 at 09:09 AM in Using UE4

avatar image

plangton
352 17 20 31

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

1 answer: sort voted first

you assumption is correct, you will get the pixel index by multiplying coordinate shared with texture to the width and height. i have done un-distortation of kinect X and Y and is fairly simple

more ▼

answered Mar 24 '16 at 01:44 PM

avatar image

plangton
352 17 20 31

(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