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

Redefine UV coords #52

Open
GoogleCodeExporter opened this issue Dec 30, 2015 · 5 comments
Open

Redefine UV coords #52

GoogleCodeExporter opened this issue Dec 30, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link
Collaborator

Every mesh generator produces default UV coords, but sometimes we might want 
something different.
So different UV texCoords generators could be created, including, for example : 
- Cube map texcoord
- Planar map
- Cylindrical map
- Spherical map
...

Original issue reported on code.google.com by [email protected] on 25 Apr 2011 at 9:08

@GoogleCodeExporter
Copy link
Collaborator Author

Original comment by [email protected] on 29 May 2012 at 3:38

  • Added labels: Priority-Medium
  • Removed labels: Priority-Low

@GoogleCodeExporter
Copy link
Collaborator Author

Beware that mapping with UV gaps (what happens when using a cube map, for 
example), triangles must be cut, too.
The same problem appeared when implementing IcoSphere, and a workaround was 
used (letting UVs go beyond 0-1). It may be time to rework it as well.

Original comment by [email protected] on 8 Nov 2012 at 9:13

@GoogleCodeExporter
Copy link
Collaborator Author

Original comment by [email protected] on 13 Nov 2012 at 6:21

  • Changed state: Started

@GoogleCodeExporter
Copy link
Collaborator Author

Implemented Box, Sphere, HemiSphere, Cylinder UV modifiers.

Not handled yet : vertex split, triangle split, and some UV modifiers lack 
basic parameters.

Original comment by [email protected] on 29 Nov 2012 at 7:31

@GoogleCodeExporter
Copy link
Collaborator Author

Vertex split is implemented on a local clone, but I won't commit until I find a 
more elegant way to do it (at the moment, UV modifiers need to subclass a 
template, like in MeshGenerator<T>, and SWIG doesn't like it very much...

Original comment by [email protected] on 17 Dec 2012 at 8:42

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

No branches or pull requests

1 participant