Page 1 of 2

How to align Emission and Distribution texture? 2.25 R4

Posted: Fri May 13, 2016 2:01 pm
by zoppo
Hi all,

I have an object with an emissive texture with an HDRI on it. The object has an UV tag and the material is set to UVW mapping.

The problem is that the texture in the emission slot and the texture in the distribution slot do not align, even if they are from the same node.
The texture slot works fine, the distribution slot is wrong.

I tried matching them with projection and transform nodes but did not succeed. How do I do that?

Node input texture slot - correct:
Image

Node input distribution slot (everything else the same) - wrong direction and size:
Image

Re: How to align Emission and Distribution texture? 2.25 R4

Posted: Fri May 13, 2016 2:07 pm
by aoktar
inverse face normals. Emissions doesn't cast on back face.

Re: How to align Emission and Distribution texture? 2.25 R4

Posted: Fri May 13, 2016 2:20 pm
by zoppo
The normals are correct and emission works fine as you can see in image 1.

The problem is that the texture in the distribution slot is mapped differently from the same texture in the (emission-) texture slot.

Re: How to align Emission and Distribution texture? 2.25 R4

Posted: Fri May 13, 2016 2:24 pm
by zoppo
Same texture node in texture and distribution, you can see the upside down chair:

Image

Re: How to align Emission and Distribution texture? 2.25 R4

Posted: Fri May 13, 2016 2:40 pm
by zoppo
Another finding:

Still the same texture node in texture and distribution node, UV mapped.
Image

Camera at 0 - sofa from texture slot, wrong chairs from distribution slot:
Image

Camera moved up - sofa from text slot moves down, chairs stay:
Distribution texture is obviously not UV mapped.

Image

Re: How to align Emission and Distribution texture? 2.25 R4

Posted: Sat May 14, 2016 10:24 am
by zoppo
Can anyone confirm the problem?

Is it a bug or am I doing something wrong?

Re: How to align Emission and Distribution texture? 2.25 R4

Posted: Sat May 14, 2016 10:29 am
by aoktar
see manual/ html/scenes. I had no time to check but it's propably wrong.

Re: How to align Emission and Distribution texture? 2.25 R4

Posted: Sat May 14, 2016 10:53 am
by zoppo
Someone else then?

Re: How to align Emission and Distribution texture? 2.25 R4

Posted: Sat May 14, 2016 3:59 pm
by aoktar
After sitting back and reading your post again, i see you're trying to match texture vs. distribution. Why? They are different logics as i know. Works different and you can't expect to match both. Use just one at same time in case not both. Next time please compare also in Standalone to be sure is it bug or not on plugin side.

Re: How to align Emission and Distribution texture? 2.25 R4

Posted: Sat May 14, 2016 7:22 pm
by zoppo
Well, why not? I think it might help to model the light nicely. If I use a grid like image the lighting is in a grid like pattern. So it has to be mapped in some way or the other. And why not use the image you use for lighting?

But I will check in the standalone, did not think of that.