holocronweaver / ogre-procedural-old

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

The direction of texture is wrong in PlaneGenerator #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I found the direction of texture is wrong in PlaneGenerator.The direction is 
different from Ogitor and src image.

The Attachment is my screenshot.

I fixed it with my friend's help.

In \ogre-procedural\library\src\OgreProceduralPlaneGenerator.cpp

    change line 59

        Vector2(i1/(Real)numSegX, i2/(Real)numSegY));

    to

        Vector2(i2/(Real)numSegY, i1/(Real)numSegX));

Original issue reported on code.google.com by cylon...@gmail.com on 4 Feb 2012 at 12:44

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
Was the solution I proposed to you by mail useful?
If so, I'll mark this issue as fixed...
(for other people reading that, the solution is to use switchUV)

Original comment by michael.broutin@gmail.com on 27 Feb 2012 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by michael.broutin@gmail.com on 28 Feb 2012 at 4:32