Arte

Members
  • Content Count

    341
  • Joined

  • Last visited

  • Days Won

    5

Arte last won the day on December 24 2017

Arte had the most liked content!

About Arte

Profile Information

  • Gender
    Male
  • Location
    London, UK

Recent Profile Visitors

1,731 profile views
  1. @Deltakosh Regular PG results Serializer!!!
  2. @Deltakosh Shared files: index.html // create and download (serialised scene) serializedScene.json // downloaded json file (serialised scene) Loader.html // load serialised scene https://github.com/Gal-Arte/BabylonTest/tree/master/NULL ENGINE using setPivotPoint and CSG Playground to compare https://www.babylonjs-playground.com/#8PIKRZ#1 Lets hope for the best
  3. Okay I'm creating everything on server side and passing data through assetsManager.addMeshTask. Does that make sense? Thank you for your time.
  4. 100% Same as in PlayGround /////////////////////////////// // CODE FROM NULL ENGINE var parent = BABYLON.MeshBuilder.CreateBox("Parent", {height: 3.2, width: 2.2, depth: 1.2,sideOrientation: BABYLON.Mesh.DOUBLESIDE}, scene); var mat = new BABYLON.StandardMaterial("material", scene); mat.alpha = 0.3; parent.material = mat; var part = BABYLON.MeshBuilder.CreateBox("Part", {height: 3, width: 2, depth: 1,sideOrientation: BABYLON.Mesh.DOUBLESIDE}, scene); part.setPivotPoint(new BABYLON.Vector3(0,1,0)); part.position.x = 1; // part.rotation.x = -1; part.parent = parent; var tool = BABYLON.MeshBuilder.CreateBox("Tool", {height: 1, width: 2, depth: 2,sideOrientation: BABYLON.Mesh.DOUBLESIDE}, scene); tool.material = mat; tool.setPivotPoint(new BABYLON.Vector3(5,-1,0)); tool.position.x = 1; tool.rotation.x = -1; // tool.parent = parent; var partCSG = BABYLON.CSG.FromMesh(part); var toolCSG = BABYLON.CSG.FromMesh(tool); var newPartCSG = partCSG.subtract(toolCSG); var newPart = newPartCSG.toMesh("csg", part.material, scene); // tool.dispose(); part.dispose(); // CODE FROM NULL ENGINE ///////////////////////////////
  5. I'm using same code from https://www.babylonjs-playground.com/#8PIKRZ (for NullEngine and Client Side). This is happening if I'm using CSG. I think BABYLON.CSG.FromMesh creating a problem (loosing information about pivot). I'm not that clever to check it .
  6. That's exactly what's happening now. I like what you suggested, but. I think NullEngine should mach client side .
  7. Arte

    Parametric cabinet

    Hi Babylon Community, I decided to make a side project https://3d-visual-solution.com, this is a small part from Parametric Cabinet project. As I still working on Parametric cabinet project (transferring all code to NullEngine). Some projects made using Parametric cabinet. Your opinion is important to me . Comments and suggestions are welcome.
  8. Logic on server side, render on client side.
  9. Hi All, I have strange behaviour in NullEngine using setPivotPoint with CSG Same Code, different results? (Blue background in Playground, grey background NULL ENGINE) https://www.babylonjs-playground.com/#8PIKRZ @Deltakosh do you have any idea? Thank you in advance.
  10. @V!nc3r Thumbs up. 👍 Thanks for sharing.
  11. In CSS need just one overflow-y: scroll; (default) When mouseOver canvas replace scroll with hidden. When mouseOut canvas, hidden replace with scroll. *Edited: That's how I did it with jquery. <iframe class="myIframe" width="800" height="500" src="https://novancia.blackboard.com/bbcswebdav/pid-101835-dt-content-rid-442562_1/xid-442562_1" scrolling="no"></iframe> $( ".myIframe" ).mouseover(function() { $('html, body').css('overflow-y', 'hidden'); }).mouseleave(function() { $('html, body').css('overflow-y', 'scroll'); I know that this is not the most ideal solution, but it works very well.
  12. Arte

    I Love This Forum

    @dbawel I agree with you 100%. 👍
  13. Hi @cstfan Solution: <iframe ......... scrolling="no">...</iframe> Mouse Over iframe => body { overflow-y: hidden;} Mouse Out iframe => body { overflow-y: scroll;} I hope this can help you.