Maniphest T48306

3D Viewport No Longer Display Textures In The Right Interpolation Mode
Closed, Archived

Assigned To
Sergey Sharybin (sergey)
Authored By
J. Harkonnen (SVAFnemesis)
Apr 29 2016, 3:05 AM
Tags
  • BF Blender
Subscribers
Campbell Barton (campbellbarton)
J. Harkonnen (SVAFnemesis)
Sergey Sharybin (sergey)

Description

System Information
win10
i7 5820K
970GTX
16GB of RAM

Blender Version
Broken: 2.77a
Worked: all previous

Short description of error
In Cycles, 3D Viewport no longer display textures that are under "closest" interpolation mode

Exact steps for others to reproduce the error
Choose cycle render, attach a low res texture to a plane, select closest as the interpolation mode, switch 3d viewport to texture mode. Textures not displayed as pixelated as in previous versions.

Event Timeline

J. Harkonnen (SVAFnemesis) created this task.Apr 29 2016, 3:05 AM
J. Harkonnen (SVAFnemesis) raised the priority of this task from to 90.
J. Harkonnen (SVAFnemesis) updated the task description.
J. Harkonnen (SVAFnemesis) added a project: BF Blender.
J. Harkonnen (SVAFnemesis) edited a custom field.
J. Harkonnen (SVAFnemesis) added a subscriber: J. Harkonnen (SVAFnemesis).
Sergey Sharybin (sergey) lowered the priority of this task from 90 to 30.Apr 29 2016, 10:45 AM
Sergey Sharybin (sergey) added a subscriber: Sergey Sharybin (sergey).

I can not reproduce that. Please attach .blend file which demonstrates the issue exactly and also test latets builds from builder.blender.org.

J. Harkonnen (SVAFnemesis) added a comment.Apr 29 2016, 6:52 PM

I have recreated the problem. So did all of my friends in their systems. Please help, this function is quite important to some of us who would use pixelated textures. Thank you.

J. Harkonnen (SVAFnemesis) added a comment.Apr 29 2016, 6:53 PM
In T48306#372264, @Sergey Sharybin (sergey) wrote:

I can not reproduce that. Please attach .blend file which demonstrates the issue exactly and also test latets builds from builder.blender.org.

I forgot to quote you on my previous reply. I have attached a file. Thank you.

Sergey Sharybin (sergey) added a comment.May 1 2016, 11:27 AM

Are you talking about Rendered or Material (GLSL shaded) viewport shading?

J. Harkonnen (SVAFnemesis) added a comment.May 3 2016, 3:54 PM

I am talking about texture mode viewport. The render results are correct.

J. Harkonnen (SVAFnemesis) added a comment.May 3 2016, 3:56 PM

I am talking about texture mode viewport. The render results are correct.

Sergey Sharybin (sergey) changed the task status from Unknown Status to Unknown Status.May 3 2016, 4:31 PM
Sergey Sharybin (sergey) claimed this task.

Viewport was always doing linear interpolation, so not sure why you mention all previous versions worked.

Fixing this will involve some major refactor of how GPU textures works (because it'll requite creating textures per-node, or better re-use created textures with same image and interpolation mode).

While we're trying to switch to 2.8 branch development with much radical changes around everything, would consider this report a TODO.

Thanks for it anyway!

J. Harkonnen (SVAFnemesis) added a comment.May 4 2016, 10:48 AM

Please hear me out. I've been making Minecraft animations and very often I have to use pixelated textures and high res textures in the same scene. I know for a fact that texture mode always shows textures in correspondent interpolation mode this is where I check whether my textures are in its proper mode. I couldn't have gotten it wrong because I was still using texture mode to view models with pixelated textures just 2 weeks ago in 2.74. And then I updated to 2.77a, and when I open up my WIP project, everything looked wrong. This is why I am reporting this as a bug.

please see this viewport snapshot below. This was a test screen generated about 3 to 4 weeks ago back in 2.74. Notice how pixelated textures are pixelated instead of being linearly interpolated.

Sergey Sharybin (sergey) added a comment.May 4 2016, 11:21 AM

As far as i concerned 2.74 didn't have nearest interpolation support for viewport either:

If you have file which worked in previous version and doesn't work now it'll be a regression that we can deal with.

If this never worked i'd rather invest time of handful developers we've got to a bigger refactor projects instead of trying to fix something in a system which is gonna to be replaced.

Campbell Barton (campbellbarton) added a subscriber: Campbell Barton (campbellbarton).May 4 2016, 11:23 AM

@J. Harkonnen (SVAFnemesis), you can disable mip-mapping in the user preferences, this also disables linear interpolation (so textures stay pixelated when you zoom in).

J. Harkonnen (SVAFnemesis) added a comment.May 5 2016, 10:32 AM
In T48306#373073, @Campbell Barton (campbellbarton) wrote:

@J. Harkonnen (SVAFnemesis), you can disable mip-mapping in the user preferences, this also disables linear interpolation (so textures stay pixelated when you zoom in).

It's not a solution. Like I said I need to see all textures in its own correspondent mode. It's not about looking good in viewport, it's about knowing what mode my textures are in by just looking at viewport.