Skip to content

uv() method in ISurface has a problem at the seams #4

@ghost

Description

When using the uv() function to project a point (IVec) on to a surface, there seem to be a problem if the surface is closed (like a tube or a cylinder).

A picture is worth a thousand words so :

capture decran 2013-11-11 a 21 56 58
The black line is where the UV coordinates wrap back, the red dots are projected through the yellow arrow to the magenta points. Around the seam, the projected points end up on the seam instead of their normal place.

Also, every 10 points or so, the projection is a bit off. Dunno if it's related or not...

I hope this can help correcting it !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions