• Content count

  • Joined

  • Last visited

About chicagobob123

  • Rank
    Advanced Member

Contact Methods

  • Twitter
  1. What makes VR flat?

    I will have to create one for demo. Maybe on Saturday. All you need is some columns a ground with a sky box. Is there a sky texture available in playground, ground could be just gray.
  2. What makes VR flat?

  3. What makes VR flat?

    Ok I know this is broad topic but I am looking for a broad answer. I have a Samsung VR headset and even in this environment the experience is not as 3D as I would think. Which makes me wonder why? Everything in the distance looks flat and lots of times foreground looks like it pops out rather than melds in as with normal sight. I know you are shooting with one camera but duplicating the image and offsetting each eyes image by horizontal inches should give you realistic depth, right? Least not from what I can see. I was also wondering why there isn't something to separate the eye lenses in the unit. Maybe its just not needed.. Anyway its just a passing thought. Maybe someone can pass me to some reading material.
  4. Lighting for dummies

    What's ya workin' on for the real app? Is it a secret? OH, I work for a private company and its an app thats not released yet so not a DOD secret but restricted. Its not a game or anything that people would consider fun to play with but its 3D web based and keeps me pushing the boundaries.
  5. Lighting for dummies

    Thanks a bunch that worked like a champ. No more hot spot on the ground. YAY!!
  6. Lighting for dummies

    Looks like it wont know until i get back. Here i thought it setting it to the same as the plane was the right thing to do
  7. Lighting for dummies

    OK I have tried changing specular for the material the ground color of the light and other options trying to eliminate the highlight in the middle. In my real app its even more pronounced. So how do you get rid of it? I need a light like the sun that just gives off a flat light to everything with no hot spot.
  8. Babylon Scene vs some Model

    Thanks to you I was able to get a major chunk of what we needed done. I would have never figured this out. Thanks a bunch
  9. Particle system can I do this?

    Copy and pasting into playground. Bad idea. That was a point light I wanted to position with the camera. So I eliminated it and then I saw loading assets... Then I eliminated applying the diffuseTexture material now its all OK.
  10. Babylon Scene vs some Model

    TransformNode and set all root meshes as child of this node WOW I will have to look this up but you gave me some real hope in solving this issue. Thanks.
  11. Particle system can I do this?

    I took some code that has a cut out polygon and tried to add it to the particle system and it dies. Without the particle With the particle.
  12. Babylon Scene vs some Model

    Is there any way to treat a scene like a model. Load, position, scale, rotate? And what is the difference between the two anyway. When I Execute BABYLON.SceneLoader.Append I have nothing to reference to Load, or position, or scale, or rotate. If there is link that talks about this I did not see it.
  13. Exception issue loading Babylon scene file

    NEVER MIND it was my browser cache.
  14. Exception issue loading Babylon scene file

    I would if you can tell me what that means. I tried to attach it here but its too big. Its ~11MB
  15. Exception issue loading Babylon scene file

    I probably screwed up. (More background) At first was getting a 404 for a .manifest file. I created the a file and named it .manifest <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Measurement</title> <style> html, body { height: 100%; width: 100%; padding: 0; margin: 0; overflow: hidden; position: fixed; } #renderCanvas { width: 100%; height: 100%; margin: 0; padding: 0; } </style> </head> <body> <canvas id="renderCanvas"></canvas> <div id="MessageDisplay" style="position: absolute; top: 50px; left: 200px; background-color: black; opacity: 0.8; color:white; touch-action:none;"></div> <script src="babylon.max.js"></script> <script> var sps; var Tail=1; var nb = 50000; // particle number function writeToScreen(message) { var pre=document.getElementById("MessageDisplay");"break-word"; pre.innerHTML=message; } window.addEventListener('DOMContentLoaded',function() { var canvas = document.getElementById('renderCanvas'); var engine=new BABYLON.Engine(canvas,true); sleepFor=function(sleepDuration) { var now = new Date().getTime(); while(new Date().getTime()<now+sleepDuration) { /* do nothing */ } } var createScene=function() { BABYLON.Engine.enableOfflineSupport = false; var scene = new BABYLON.Scene(engine); var light = new BABYLON.PointLight("Omni", new BABYLON.Vector3(20, 20, 100), scene); var camera = new BABYLON.ArcRotateCamera("camera1", 0, 0, 0, new BABYLON.Vector3(0, 0, -0), scene); camera.setPosition(new BABYLON.Vector3(0, 0, -150)); BABYLON.SceneLoader.Append("models/", "YardTile001.babylon", scene); scene.registerBeforeRender(function() { light.position = camera.position; }); // the canvas/window resize event handler window.addEventListener('resize', function(){ engine.resize(); }); return scene; } // call the createScene function var scene=createScene(); function onMessage(evt) { } scene.executeWhenReady(function () { // Attach camera to canvas inputs scene.activeCamera.attachControl(canvas); // Once the scene is loaded, register a render loop engine.runRenderLoop(function() { scene.render(); }); }); }); </script> </body> </html>