GameMonetize Posted July 30, 2014 Share Posted July 30, 2014 Do you set visible to false to hide them? Quote Link to comment Share on other sites More sharing options...
reddozen Posted July 30, 2014 Author Share Posted July 30, 2014 Yes mapZone[0].visiblity=false; mapZone[0].isVisible=false; Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 30, 2014 Share Posted July 30, 2014 So there is a problem:) Could you give me a simplified version? Quote Link to comment Share on other sites More sharing options...
reddozen Posted July 30, 2014 Author Share Posted July 30, 2014 I've been trying to make one. So far, the same meshes that don't behave in the large scene work fine in the small one. I'll work on it some more, and let you know if I just can't reproduce it with a smaller scene. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 30, 2014 Share Posted July 30, 2014 yes please and I promise to find the bug:) Quote Link to comment Share on other sites More sharing options...
reddozen Posted July 31, 2014 Author Share Posted July 31, 2014 I had to get it up to close to 250,000 verts before it would do it, but it's about 6x smaller than the original scene. After the scene loads (almost 250000 verts), press the Octree button to turn them on. You may have to click it a few times. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted July 31, 2014 Share Posted July 31, 2014 The Octree button is not clickable. Use a z-index to make it in the foreground. I could not test. <br /><input type='button' Value='Octrees' onclick='scene.createOrUpdateSelectionOctree();' style='z-index:1000;margin-top:25px'> Or otherwise the button directly in html below the <canvas> tag, and move the with right:50px; and top:280px; + z-index:100; Oh and you open a span tag, but you don't close <span> </span> Quote Link to comment Share on other sites More sharing options...
reddozen Posted July 31, 2014 Author Share Posted July 31, 2014 added the close and set the z index. I was able to click it in FF, but I didn't test with other browsers. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted July 31, 2014 Share Posted July 31, 2014 Page white and Uncaught SyntaxError: Unexpected token ILLEGAL I suggest you to test you even when you send to ensure that everyone can test. style="\z-index: 99;"\ style=\"z-index: 99;\" Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 31, 2014 Share Posted July 31, 2014 Same here:White page and Uncaught SyntaxError: Unexpected token ILLEGAL Quote Link to comment Share on other sites More sharing options...
reddozen Posted July 31, 2014 Author Share Posted July 31, 2014 oops... in too much of a hurry...Sorry, fixed. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 1, 2014 Share Posted August 1, 2014 I cannot click on octree button Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 1, 2014 Share Posted August 1, 2014 Ok it works with IE could you tell me the name of one of the mesh that are disapearing ? Quote Link to comment Share on other sites More sharing options...
reddozen Posted August 1, 2014 Author Share Posted August 1, 2014 I believe prt_sb01 - prt_sb10 all have the issue. Those should all be parts of the wall. What I'm naming them:Parent: Prt_f01_prt_sb05Instant: Prt_f01_prt_sb05_inst_1 When the octrees start up, the child will disappear and the parent will appear. (In Fire Fox anyway). Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 1, 2014 Share Posted August 1, 2014 I published a new version, let me know Quote Link to comment Share on other sites More sharing options...
Dad72 Posted August 1, 2014 Share Posted August 1, 2014 I have this error on the new version: Uncaught ReferenceError: OIMO is not defined Solved I just see that Oimo became by default and has replaced Cannon. Oimo.js is not on GitHub Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 1, 2014 Share Posted August 1, 2014 This is an early beta of oimo for now I suggest keeping cannon Quote Link to comment Share on other sites More sharing options...
reddozen Posted August 2, 2014 Author Share Posted August 2, 2014 Appears to be fixed. I don't get any additional performance out of octrees, but I think that's something to do with my models. I'm looking into that now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.