Coder Social home page Coder Social logo

Comments (9)

evgenykuzyakov avatar evgenykuzyakov commented on May 4, 2024

Please add more details with screenshots. It's probably related to expansion coefficient for each cubemap face.

from transform360.

xuws20 avatar xuws20 commented on May 4, 2024

_20171101132703

from transform360.

xuws20 avatar xuws20 commented on May 4, 2024

it happens only in android5.1 and opengles 3.1. but in windows and opengles3.1 , there is no line distortion.
It happens only transparent and smooth area. In these areas, eyes are sensitive.
expansion coefficient is set 1.01 or 1.1, the problem still exist.
The face size is equal to 896.

from transform360.

xuws20 avatar xuws20 commented on May 4, 2024

Problem has been already solved. Interpolation model is modified from GL_LINEAR to GL_NEAREST.Thanks.

from transform360.

evgenykuzyakov avatar evgenykuzyakov commented on May 4, 2024

It's probably not the interpolation that causes the seam to be visible. Something is off with UV coordinates. The correct padding for rendering is (1.0 - 1.0/expand_coef) * 0.5 from each side of each face. So if expand_coef is 1.01, the padding should be 0.5 / 101.0

from transform360.

h4ck3r89 avatar h4ck3r89 commented on May 4, 2024

Could you share how you set this up? The steps you followed to build transform360 and the OS and 32bit/64bit version details?

Thanks..:)

from transform360.

xuws20 avatar xuws20 commented on May 4, 2024

you are right。After the interpolation mode is changed, image quality is getting worse。
expand=coef=1.003,off_x = (1.0 - 1.0/expand_coef) * 0.5 /3.0f,off_y=(1.0 - 1.0/expand_coef) * 0.5 /2.0f

from transform360.

evgenykuzyakov avatar evgenykuzyakov commented on May 4, 2024

expand_coef=1.003 is probably too small for 896. Since you're likely using yuv420, you need at least 2 pixels from each side of the face to avoid color seams. And this assumption ignores compression artifacts, which are not as obvious.
So you need 1 + 4 / 896=0.00446428571. Try using expand_coef=1.005

from transform360.

evgenykuzyakov avatar evgenykuzyakov commented on May 4, 2024

Ok, closing for now. Reopen if you need more help.

from transform360.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.