JackFalcon Posted August 11, 2017 Author Share Posted August 11, 2017 freezeProjectionMatrix().... coolest thing outside of reality. jeromeetienne 1 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted August 12, 2017 Author Share Posted August 12, 2017 UPDATE: stellar fire particles... jeromeetienne, jerome and brianzinn 3 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted August 12, 2017 Author Share Posted August 12, 2017 ARjs.Babylon = function(){} Looking awesome. jeromeetienne 1 Quote Link to comment Share on other sites More sharing options...
jeromeetienne Posted August 12, 2017 Share Posted August 12, 2017 @Deltakoshonce it works and looks clean, i would love to see ar.js as tightly integrated as you want. The code is all available on https://github.com/jeromeetienne/AR.js/tree/master/babylon.js but it is currently far from being usable by 3rd party. Currently it starts to works quite OK. (still some issue with window resize). once resize it done, i just need to find a good API. *question*: Can you gimme provide urls to the source which handle window resize in babylon.js ? JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted August 12, 2017 Share Posted August 12, 2017 AFAIK, everything is in the class Engine : https://github.com/BabylonJS/Babylon.js/blob/master/src/babylon.engine.ts#L1314 https://github.com/BabylonJS/Babylon.js/blob/master/src/babylon.engine.ts#L1329 jeromeetienne and JackFalcon 2 Quote Link to comment Share on other sites More sharing options...
jeromeetienne Posted August 12, 2017 Share Posted August 12, 2017 Update: we got the resize running. So we got a running prototype (object pose, projection matrix, window resize) are all handled. Now we need to clean the code. here is a video of the working resize - ivanix, NasimiAsl, Wingnut and 3 others 6 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted August 13, 2017 Author Share Posted August 13, 2017 Q: BABYLON.Extensions - might it be an extension? L: https://doc.babylonjs.com/extensions Quote Link to comment Share on other sites More sharing options...
jeromeetienne Posted August 14, 2017 Share Posted August 14, 2017 doing progress. Now the api starts to be usable by others JackFalcon, jerome and GameMonetize 3 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted August 14, 2017 Author Share Posted August 14, 2017 ... arProfile = new ARjs.Profile() arSession = new ARjs.Babylon.Session() engine.runRenderLoop(function(){ arSession.updateProjectionMatrix(camera) arSession.update() }); ... the jist of it. Quote Link to comment Share on other sites More sharing options...
jeromeetienne Posted August 22, 2017 Share Posted August 22, 2017 q. how to make an object invisible ? aka like ```object3d.visible=false``` in three.js JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
SvenFrankson Posted August 22, 2017 Share Posted August 22, 2017 var mesh = new BABYLON.Mesh("Mesh", scene); mesh.isVisible = false; Could it do the job ? JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted August 22, 2017 Share Posted August 22, 2017 ...and sometimes mesh.visibility = [0.0 to 1.0] ...and sometimes mesh.setEnabled([bool]) is cool, too. These 3js folk... (I think JE is from 3js land, mostly)... they just don't know about the object inspectors that are built-into browsers, eh? Console.dir(anything) works pretty good. Certainly easier and faster than reading an API doc. Or, console.log(anything), then go to console and click on 'object' link. I LOVE OI's. Jet-powered learning curve flattener. Ok, hi/bye. JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted August 26, 2017 Author Share Posted August 26, 2017 @Wingnut -> +1. Time to time, I enjoy the jet-powered, log(anything), step-inside, curve-flattener, myself. : ) Lol...you are the best (don't worry, I won't let the secret out [yet]). CURRENT STATUS: Building demos with @jeromeetienne's awesome stuff. <He might b from 3DWeb-lands me thinks... but eh.> He used the force, to mind control me, into publishing BABYLON demo into GitPages ( and_it_worked! ): https://jsrenaissance.github.io/demos/template1/index.html CyberWorld1- dedicated to you Mr. Wingnut. For no reason... other than (oh-snap) pink-electricity!?! : ) We design-alike. Here are the best instructions to do the GitPages Publishing (for free hosting thing)... for anyone's interest. https://pages.github.com/ And for my certain amnesia later... How again? jerome and Wingnut 2 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted August 27, 2017 Author Share Posted August 27, 2017 BJS - PBR in AR - check: Whoever suggested PBR. Good idea. This is a sphere reflecting a starbox, with some orbiting lightSphere's around it with a mirror plane below it. Amazing we can render all of that... testing. PROBLEM: Anyone know a tip, on how to scale the entire matrix down? The mystery -> looks like viewMatrix is on the relative-small end of scale(above), with matrixWorld big. Sphere (above) became angular after being reduced from 40.0 to 6.0 radius to fit into Projection. Here is original BJS version (before turning off skybox and putting in AR and dropping radius): This scene was created in part by a great babylon sandbox with PRB (thanks). The planetary spheres were not changed. So you can see relative difference (between the two), for the scaling differences. Explains strangeness from before, of things being off-screen. And maybe this is a parameter or.... camera settings. I will dig into it. FIX-UPDATE: move marker away from the camera... : ) lol... UPDATE2: super distant camera settings not having much effect... Ah, I may know why... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 28, 2017 Share Posted August 28, 2017 Really funny to read your experiment blog To scale the scene down, the best option is to create a root mesh (with no geometry) and make sure that all meshes are set as child of the root then change root.scaling JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted August 28, 2017 Author Share Posted August 28, 2017 Thank you Dr.DeltaK. Great tip to scale on empty root. I will give that a TEST. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
HeadClot Posted August 30, 2017 Share Posted August 30, 2017 Looks like ARCore is now out and they have released docs for web devs. https://developers.google.com/ar/develop/web/getting-started JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted September 5, 2017 Author Share Posted September 5, 2017 @HeadClot That link is fantastic. https://twitter.com/jerome_etienne/status/903661578452692992 Upcoming: more BABYLONJS.AR demos. - all eventually in github,... UPDATE: extension is the way. HeadClot 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 5, 2017 Share Posted September 5, 2017 Why not hosting your demos / experiments on our extensions repos? Will be easy for people to find it and use them JackFalcon and HeadClot 2 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted September 5, 2017 Author Share Posted September 5, 2017 @Deltakosh Ah yeah! Thanks for green light. Extension will work then. Wasn't sure... There is a dependency issue going on with super-heavy-asm-backend, in /libs (I think). A tad heavy. All good stuff, (I need to look at), just needs organized. With BABYLON on the root, because, deep nesting in ar/babylon.js/examples/. Needs *-1. So BABYLON.side, at root .index with /lib/arjs and all the options composable. Ah, ok.... And yep, an extension pattern will probably be helpful to unwind and pack variations on dependencies ... interesting. I will check out extensions... thanks! HeadClot and GameMonetize 2 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted September 17, 2017 Author Share Posted September 17, 2017 This represents progress into demo 2... Trying landscapes. UPDATE: scaling by parent worked. Also, sorting out orientation... . Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted September 17, 2017 Author Share Posted September 17, 2017 Demo 2.... jerome 1 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted September 17, 2017 Author Share Posted September 17, 2017 It is working. Variations to follow... Forest Fire. NOTE: interesting (realism) effect - after scaling down particle system (I don't understand). Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted September 17, 2017 Author Share Posted September 17, 2017 Current Status: Upgrading Solar sphere demo... Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted September 17, 2017 Author Share Posted September 17, 2017 Scale down ParentMatrix... and there it is: Utilizing nice fire texture plugin (+1), with stubbed colors. Demo 1. Arte and NasimiAsl 2 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.