KenzieMac130 / ogre-procedural

Automatically exported from code.google.com/p/ogre-procedural
0 stars 0 forks source link

UV Coordinates wrong for IcoSphere near poles #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Generate IcoSphere by generator
2. Apply material with texture
3. See chaos !

What is the expected output? What do you see instead?
http://img845.imageshack.us/img845/6131/tmp1.png
Both poles seem to be affected.

What version of the product are you using? On what operating system?
0.1, WinXP, Ogre 1.7.2 ( Mogre )

Everything other seems to be fine, just the UV generated for Ico is not correct.

Original issue reported on code.google.com by rattus...@gmail.com on 11 Apr 2011 at 12:26

GoogleCodeExporter commented 8 years ago
It's not really a bug... it is a well known fact that mapping a planar texture 
to a sphere produces singularities at the 2 poles. Even cartographs had to face 
this problem..
The same problem also appears with "non-ico" sphere.
And if you try to create a sphere with a modeling tool, you'll have the same 
issue.

Now for the solutions :
- Could you try increasing the number of iterations? If I remember correctly, 
it makes the seam less visible (have to check that)
- Mapping the icosphere to something else than a planar map, for example a cube 
map (that's a feature not yet implemented in OgreProcedural). You may get no 
seam at all with this method, but the texture is harder to produce.

Original comment by michael.broutin@gmail.com on 12 Apr 2011 at 12:04

GoogleCodeExporter commented 8 years ago
I created issue 52, which sums up what I was saying earlier, and that would 
allow to circumvent the problem, but still requiring some manual action..

Original comment by michael.broutin@gmail.com on 25 Apr 2011 at 9:11