Package com.ngt.jopenmetaverse.shared.sim.rendering.mesh

Examples of com.ngt.jopenmetaverse.shared.sim.rendering.mesh.FacetedMesh


            prim.PrimData.PathShearY == 0 &&
            prim.PrimData.PathRevolutions == 1 &&
            prim.PrimData.PathRadiusOffset == 0)
          primRenderDetail = DetailLevel.Low;//Its a box or something else that can use lower meshing
      }
      FacetedMesh mesh = GenerateFacetedMesh(prim, primRenderDetail);
      rprim.Faces = mesh.Faces;
      CalculateBoundingBox(rprim);
      rprim.Meshing = false;
      rprim.Meshed = true;
     
//          DumpRaw("/media/development/workspace/dev/vw/testclientjomv/openmetaverse_data/logs/"
//              ,prim.LocalID, mesh);
     
    }
    else
    {
      System.out.println("Generating Mesh Sulpt Prim");
      FacetedMesh mesh = GenerateSculptOrMeshPrim(prim, SculptRenderDetail, MeshRenderDetail);
      if (mesh != null)
      {
        rprim.Faces = mesh.Faces;
        CalculateBoundingBox(rprim);
        rprim.Meshed = true;
View Full Code Here


  }

  private FacetedMesh GenerateSculptOrMeshPrim(final Primitive prim, final DetailLevel SculptRenderDetail,
      final DetailLevel MeshRenderDetail) throws Exception
      {
    FacetedMesh mesh = null;

//    System.out.println(String.format("Prim %d Invert %b mirror %s", prim.LocalID, prim.Sculpt.getInvert(), prim.Sculpt.getMirror()));
   
    if (prim.Sculpt.getType() != SculptType.Mesh)
    { // Regular sculptie
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.sim.rendering.mesh.FacetedMesh

Copyright © 2018 www.massapicom. 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.