Package com.ngt.jopenmetaverse.shared.protocol.primitives

Examples of com.ngt.jopenmetaverse.shared.protocol.primitives.TextureEntryFace.clone()


      }

      // Need to adjust UV for spheres as they are sort of half-prim
      if (prim.PrimData.getProfileCurve() == ProfileCurve.HalfCircle)
      {
        teFace = (TextureEntryFace)teFace.clone();
        teFace.setRepeatV(teFace.getRepeatV() * 2);
        teFace.setOffsetV(teFace.getOffsetV() 0.5f);
      }

      // Sculpt UV vertically flipped compared to prims. Flip back
View Full Code Here


      // Sculpt UV vertically flipped compared to prims. Flip back
      if (prim.Sculpt != null && !prim.Sculpt.SculptTexture.equals(UUID.Zero)
          && prim.Sculpt.getType() != SculptType.Mesh)
      {
        teFace = (TextureEntryFace)teFace.clone();
        teFace.setRepeatV(teFace.getRepeatV() *  -1);
      }

      // Texture transform for this face
      TransformTexCoords(face.Vertices, face.Center, teFace, prim.Scale);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.