Login  Register

Re: weird rendering issue

Posted by keith on Jul 29, 2016; 8:37pm
URL: https://forum.jogamp.org/weird-rendering-issue-tp4036958p4037006.html

I thought this might help too. Here are the nodes that describe the site. I'm assuming you don't need my skybox.

I got them with

        Node[] save = new Node[] { ground, buildings, models };

        BinaryExporter binaryExporter = new BinaryExporter();
        for (Node node: save)
        {
          File f = new File(Setup.getApp().getSite().getFileName());
          String sitePath = f.getCanonicalPath();
          sitePath = sitePath.replace(f.getName(), "app_" + node.getName() + ".bin");
          App.diagnose("write " + sitePath);
          OutputStream os = new FileOutputStream(sitePath);
          binaryExporter.save(node, os);
          os.close();
        }

app_buildings.bin
app_ground.bin
app_models.bin