Code Monkey home page Code Monkey logo

webar-article's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webar-article's Issues

Possible to run in Canary?

Does anyone have this example working in Canary?

Now that the Chacmool AR example can work in Canary with the WebXRDevice API and WebXR Hit Test flags enabled (from these instructions) โ€” is it possible for the Spacesuit example to work in Canary as well?

When I tried it, the 3D spacesuit loads, which you can view inline and in 3D, but the icon for AR placement doesn't appear.

Can't load a material

My apologies if this isn't the right place to ask for help. I'm trying to load up a different mesh and material and I'm having a heck of a time.

I've edited /src/app/App.js to point to the new mesh and material:


loadMaterial = () => {
        let mtlLoader = new THREE.MTLLoader();
        var path = '../public/models/test/';
        var filename = 'test.mtl';
        mtlLoader.setPath(path);
        mtlLoader.load(filename, materials => {
            materials.preload();
            this.loadModel(materials.materials.material);
        });
    };

    loadModel = material => {
	        let dracoLoader = new DRACOLoader('../third_party/draco/', {
	            type: 'js',
	        });

	        dracoLoader.load('../public/models/test/test.obj.drc', geometry => {
	    	//var material = new THREE.MeshStandardMaterial( { vertexColors: THREE.MeshNormalMaterial } );
	        geometry.computeVertexNormals();            
	        this.setupModel(new THREE.Mesh(geometry, material));
	        this.setupModelShadow();
	        this.setupLights();
	        this.setupReticle();
	        this.setupModelTween();
	        this.parseURL();
	        this.HUD.hideLoadingIndicator();
        });
    };

All I did was change the path from the Astronaut, but every time I reload the page, the mesh is a random solid color.

I've tried it with multiple meshes and textures that I know work in Blender and Maya. I've poked around the Googles a fair bit, but I'm coming up short. Do I have to do something special with my material that I'm not thinking of? Everything is pretty basic.

Here's a link to the test files I'm using
Any help would be greatly appreciated.

AR - proper place and tool for such an idea

Hello everyone,
I'm looking for a way how to start with implementation of my idea. I would like to make this "first step".
Idea is to give a possibility to random people to see really old pictures of some places in AR reality. These pictures should be hanged in AR enviroment exactly in that same place where were taken. What could be the best base for this? Maybe this kind of enviroment where we can put some objects (like mentioned pictures) already exist?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.