Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texture wrapping 2 times around cylinder #439

Open
Mattia9875 opened this issue Jun 11, 2021 · 1 comment
Open

Texture wrapping 2 times around cylinder #439

Mattia9875 opened this issue Jun 11, 2021 · 1 comment

Comments

@Mattia9875
Copy link

Mattia9875 commented Jun 11, 2021

Description

Hi, what i'm trying to do is to wrap a rectangular image around a cylinder but the result is doubled (see images), So i'm trying to make it wrap all around the cylinder without any repetition. Thanks in advance

Images

3d
texture

Code

tex = pv.read_texture("pipe_uncenter.jpeg")
surf = pv.Cylinder(capping=False)
surf.plot(texture=tex)```


@Qjizhi
Copy link

Qjizhi commented Jan 21, 2024

I encountered the same issue, have you solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants