Coder Social home page Coder Social logo

web's People

Contributors

atomarch avatar cmbartschat avatar dattanchu avatar erikmchut avatar evanmcarlson avatar janpio avatar jparismorgan avatar mralbean avatar nathanbwaters avatar nbutko avatar positlabs avatar rigel-prime avatar spencer-evans-pnt avatar vejandla avatar willeastcott avatar

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  avatar  avatar  avatar  avatar

web's Issues

gettingstarted/ Page rapidbly reloading on prompt

I am having trouble getting the examples to run in a stable manner. When the node server is running and I connect, I am prompted with " would like to access the camera", which then rapidly reloads, leading to a never ended prompt and reload session. Even if I click "Allow", the page then continues to reload and prompt again. Once I stop running the node server, this stops and I am able to proceed as usual. I'm a node amateur, but thinking this is a server problem?

Take screenshot without augmented objects

Is there anyway to take screen shot of the current canvas without the augmented objects on top of it? I want a screenshot purely of camera feed.
I am currently using A-frame and emitting screenshotrequest by scene and capture it through event listeners.
The only thing coming to my mind is making the objects invisible for a moment and redisplay them, are there any better ways?

AR not working in the Android Webview version 91+

When we try to open the AR in webview(version 91+), the camera is not loaded and it just shows a black screen and AR model comes up on a black screen and the Model gets repeatedly painted over and over.

OrbitControls using ThreeJS

Hi , i have been working with 8th wall + ThreeJS to Render ( VIDEOS, IMAGES, 3D Objects ), I was trying to apply OrbitControls from ThreeJS docs into 8th Wall Code but I was unable to do that as of 8th Wall do a lot of Job internally, I want to know if it's possible to do that and put me on the right track .
PS : my Code looks similar to the ThreeJS Example of Placeholder on your Repo .

Thanks in advance

Minimizing Drift in 8thWall Web

Hi, I'm trying to develop a web AR experience with 8thwall web. It needs to be synced with the physical world and I need 6DOF for this project. I can place my objects and augment them but the problem is that the drift I experience is too much, For example, if I go 4-5 meters away from my initial location I experience about 2 meters drift. I don't experience this much drift with my ARKit projects and I also tested google's 'view in 3d' in searches on the web on Safari and that also didn't give me this much drift.
I was wondering if I'm doing something wrong and how can I minimize drift in my project. I develop on my iPhone XS
PS: I also tested a web AR sample on 8thwall website and I also experienced drift issues with that.
Thanks very much

xrimagefound not emiting

I trying run Alpha Video example, but events xrimagefound not emitting and not found the tracking.
I using a default outside.jpg and default features from example
Does anyone have a suggestion?

Autoplace objects

Hello,
Thank you for this web sdk. I have a simple question. While trying the getting started example with aframe, I'm trying to "automatically place" an object, when recognizing first time a flat surface.
Do you have an idea about how this could be done using 8thwall sdk ?
Thank you!

Video is not playing

Hi 8th wall tried your amazing platform, works smoothly just the video on your frames examples, the jelly fish one is not working properly. It is recognising the target but the image is not playing

Three.js examples don't work

When trying to work with Three.js demos I get the "Oops, something went wrong!" message, testing on Safari using an Iphone 7 with software version 13.3.1. The A-Frame demos do work correctly, but none of the ones using Three.js as a rendering platform.

World tracking broken for ThreeJS based solutions running on iOS15

This project works as expected on iOS14 but not on iOS15:
https://www.8thwall.com/8thwall/placeground-threejs

In both cases the modal asking for access to motion sensors appear, but on iOS15 there is significant drift, nothing sticks to the floor.

On iOS15, orientation/rotation of the phone is correctly detected and the placed trees rotate away, but moving left/right/forward/backwards has no effect at all.

The equivalent A-Frame project works fine on both iOS14 and iOS15:
https://www.8thwall.com/8thwall/placeground-aframe

It appears to be exclusive to ThreeJS in combination with iOS15. All my existing projects are currently broken and migrating to a-frame is too much work. I'm keen to help in any way I can to resolve this issue if that's through additional testing or providing logs.

Image target a real bottle

Hi,

If I take pictures of water bottle from 4 to 5 angles, and use them as image target, will it detect the image? I have tried with water bottle but it did not detect?

Suppose I go to supermarket and try to scan a soda bottle, will it work if I have image target set from 4 to 5 angles of soda bottle?

Can anybody put some light on this?

AR Placing not working with ios WKWebView

I was making a simple iOS application with WKWebView.

Examples with ar masks work for me, but examplex with "A-Frame: Manipulate 3D Model" not running. I have request permission for "Motion sensor" -> I press "Continue" - > Allow -> and nothin

I'm testing on iPad 5th gen with iOS 15 beta and iPad 6th gen with iOS 14. When I open 8th wall through safari, everything works.

image
image
image

Tutorial for WKWebView which used - https://www.youtube.com/watch?v=3XTcVi7tASU

device not authorized to view ios 13

I have problems showing my example through IOS 12.2 and 13.3.1
When the device displays, it receives the message "device not authorized to view". Although I have javacripts cookies enabled and camera and microphone access is not successful. With Android devices there is no problem.

Serve image targets locally

Hi,

is there any licence/possibility to self-host image targets locally or do you need to do some serverside optimization?

How to dynamically load 3d models ?

I am trying to dynamically load model based on URL.
Unable to view in camera feed though it downloads the model.

<body onload="modelLoad()">
/*
some code...
*/
<a-assets id="assets-id">
      
</a-assets>
/*
some more  code...
*/
....

function modelLoad(){
var modelEl = document.createElement('a-asset-item');
modelEl.setAttribute('src', "phone.glb");
document.getElementById('assets-id').appendChild(modelEl);
}

is it because AFRAME.registerComponent('image-target', { gets called before body onload ?

note : Am using xrAframe-image target example.

Canvas position always has 1px strip at the top

I am using the xrextras library in my project and I always get back the canvas with style top:1px. I'm not sure, what 1px at the top is for, but it makes my app has a 1px strip at the top.

When I checkout your sample projects. For example, this one https://8thwall.8thwall.app/camera-shaders/. I also notice that 1px at the top 😆 . Is that deliberate? Should I remove that strip in my app or leave it there?

In my attached picture, there is a small white strip at the top
Screen Shot 2021-06-07 at 11 35 49 PM

Handling Events With JavaScript

It is possible to implement event handling as it is done in a-frame? In my opinion, is it does not work in 8thwall

<script> AFRAME.registerComponent('change-color-on-hover', { schema: { color: {default: 'red'} }, init: function () { var data = this.data; var el = this.el; // var defaultColor = el.getAttribute('material').color; el.addEventListener('mouseenter', function () { el.setAttribute('color', data.color); }); el.addEventListener('mouseleave', function () { el.setAttribute('color', defaultColor); }); } }); </script>
<a-camera><a-cursor></a-cursor></a-camera>

export error

when I try to run 'npm start' its throwing error

ERROR in ./src/app.js
Module not found: Error: Can't resolve './sumerian-exports' in 'D:\Kumaresh\web-master (2)\web-master\gettingstarted\xrsumerian\src'
@ ./src/app.js 7:0-46 18:21-33

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: webpack && pushd serve && npm install && popd && ./serve/serve -d dist -n
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Anurag\AppData\Roaming\npm-cache_logs\2018-12-28T15_32_38_443Z-debug.log

solution thanks in advance!

ThreeJS Editor JSON loading. JSON served incorrectly

I'm trying to load a JSON file produced by the three.js editor. However when I try to load the JSON it is served as an HTML page with status 200 instead. I can't seem to place the JSON into the assets folder, despite it being an asset and so load from same level of the JS as that seems to be where it sits.

needed Trigger face effect and image-marker manually by JS

I need the face effects and image marker action to wait until the verification result is true then they can access them in order. Get verification from API -> open image marker -> found image -> trigger face effect

any help is very appreciated, I'm still new in this framework...

Multi-camera smartphones choice the regular lens

I have a phone with multiple rear cameras,and try with the demo it's use the wrong lens ,like a telescope lens,my phone is HUAWEI mate 20pro it‘’s use the 3x lens.
So is that possible to select the regular lens ?

src folder missing..?

Hey team,

I ran into a strange issue when deploying the tutorial found here.

Specifically I get the following issue when I go to serve:

`PS C:\Dev\Web\EightWallExampleProject\web-master> serve\bin\serve.bat -d gettingstarted\xraframe
8888888888888888888888888888888888888888888888888888888888888888
8
8 ""C:\Dev\Web\EightWallExampleProject\web-master\serve\bin\serve.bat"" [options]
8 -d DIR path to serve [required]
8 -p PORT default PORT=8080
8 -h hot reload on localhost
8 -r enable hot reload
8 -i IFACE choose network interface
8 -n don't print these instructions
8
8888888888888888888888888888888888888888888888888888888888888888
ECHO is off.
The filename, directory name, or volume label syntax is incorrect.
internal/modules/cjs/loader.js:895
throw err;
^

Error: Cannot find module 'C:\Dev\Web\EightWallExampleProject\web-master\src\index.js'
�[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:892:15)�[39m
�[90m at Function.Module._load (internal/modules/cjs/loader.js:785:27)�[39m
�[90m at Function.Module.runMain (internal/modules/cjs/loader.js:1143:12)�[39m
�[90m at internal/main/run_main_module.js:16:11�[39m {
code: �[32m'MODULE_NOT_FOUND'�[39m,
requireStack: []
}`

It looks like it wants a .js file that isn't in the expected src/ folder? Sorry if this is a dumb question!

How to load more than 5 image target

Hello,
I try since two weeks to add more than 5 image target automatic. I can't find any information or code example about it. The only line on the doc is this one
XR.XrController.configure({imageTargets: ['image-target1', 'image-target2', 'image-target3']})

Could you explain me how to make it work ? In fact I have 6 image to target... So only one that don't work for the moment.

Thanks a lot.

8i-hologram example not working on iOS (Safari) or Android (Chrome)

I'm not sure what the cause of the error is, but when try to load the 8i-hologram example I get an "Oops, something went wrong!" error message. This happens on both iOS (Safari) and Android (Chrome). I'm wondering if this is just happening for me (possibly some network issue) or if other people have also encountered this error.

MediaRecorder Patent Costs

Hi guys,

I'm considering implementing the video recording on a potential client web project, but before I go down that route I'd like to know more about this new feature.

It seems to encode the video client-side, which is great. However, with the lack of native MediaRecorder support on iOS mobile browsers, and even on Android it seems we can only encode .webm, i'm assuming you're using your own encoder packaged with the rest of your code, in web assembly or something similar. Is that correct?

My fear is that, if that's the case, then any project implementing it would have to register with MPEG-LA and be subjected to the usage terms of their AVC/H.264 patent portfolio license.
The license states that the each downloaded encoder would be counted, with the first 100k downloads/video encodes being free, and each consecutive video costing $0.20, which is not a small figure!

Have you considered how we can use this feature without incurring massive costs if the video recording part of a project is mildly successful?

Thanks in advance for any help you can give me.

Leo

Dynamically change dimension of video

Hello, I'm trying to augment an image by playing a video on it. The aim is to make the video size dynamic according to the image to be augmented. How do I achieve this, as I cannot seem to set the value of geometry dimension via assets. Thank you!

a-entity attribute position not work for gltf-model

Hi,

I have an image recognization and would like to change the position of 3D model relative to the image. But the following code with attribute position does not work:

<a-entity xrextras-named-image-target="name: fox">
    <!-- Add a child entity that can be rotated independently of the image target. -->
    <a-entity xrextras-one-finger-rotate gltf-model="#mech_drone_glb" position="-100 100 0"></a-entity>
</a-entity>

Could you please help?
Thank you

Serve script no longer working

I downloaded this project a few weeks ago and installed the serve script. That is currently still working on my local computer. However, if I reclone this repo, and npm install the serve script now, it causes a loop in the browser's privacy menus when I hit my localhost on mobile.

https://github.com/8thwall/web/tree/master/serve

The only difference is the node_modules folder. It works when I use the node_modules folder fro a few weeks ago. But not when I install a fresh copy. Any thoughts?

In these images, I hit "Show Details", then "visit this website".But it loops back around again to the first privacy page again and again.

Privacy Screen 1
Privacy Screen 2

Remove MediaRecorder endCard

I'm using the following configuration for the MediaRecorder:

XR8.MediaRecorder.configure({
    maxDurationMs: 5000,
    maxDimension : 1024,
    enableEndCard : false
 });

The settings for maxDurationMs and maxDimension are working, but the end card on the video is still being applied.

Videos does not work on iOS - Safari

Hello,

First of all, thank you for 8th wall.
I have a project that displays video in AR mode without any image recognition.
The problem is that i managed to display mp4 videos and any type on android, but not an only video worked in iOS.
I tried different devices, different OS versions (even iOS 11 and 13), different videos formats, (mp4, mov, ogv ...) nothing works.
Here an example of what i'm doing :
<video id="video" loop crossOrigin="anonymous" webkit-playsinline style="display:none"> <source src="my_video.mp4" type='video/mp4'> </video>

I have no issues by images by the way (so the website is whitelisted and everything is great)
And i have no problem with CORS because the video is on my server,

I could send you a private message for the link to be tested by you, i really tried every solution and i have an agency subscription.

Any help is welcome,

How to use post processing stack / webGL renderer

Hi - I'm trying to implement the post processing stack of threejs. Do you have an example of this? I'm trying to port a working non-ar example of this into threejs. Normally what I would do is create a webGL renderer:

renderer = new THREE.WebGLRenderer({alpha: true});
renderer.setSize( ww,wh );
document.body.appendChild( renderer.domElement );

and then add all my passes:

composer = new THREE.EffectComposer( renderer );
composer.addPass( new THREE.RenderPass( scene, camera ) );

dotEffect = new THREE.ShaderPass( THREE.DotScreenShader );
dotEffect.uniforms[ 'scale' ].value = 4;
composer.addPass( dotEffect );

...

I noticed a few things:

  • I'm not sure how to refer to my renderer in 8th wall, so I can't pass a reference to it to my effect composer.

  • The post processing stack does not seem to be loaded by default so I have to load all the scripts individually.

Any idea how to get going with this? I'm just trying to incorporate it into the 8thwall / web / gettingstarted / xr3js example.

Not able to connect to local serve from phone

Hi, I'm trying to get the quick start app working so that I can serve it locally, using the quick start guide https://console.8thwall.com/quick-start-web. I've got the project building and have tried using en0 and en4 as the network interface. I went into my phone's Safari browser and it says that the device is authorized (I authorized it via qr code as well as I logged into my 8thwall console via my phone's Safari browser). But every time I go to the address with the port (https://192.168.0.203:8082) it shows the popup saying "Device Not Authorized to View https://192.168.0.203.

Not sure what else to do? Am I missing something?

Thanks

Changed color when screenshot if fragment shader alpha color under 1 using A-Frame

Become brighter color when screenshot on android (Pixel 3).
Become psychedelic color when screenshot on iPhone.

Also, its state is maintained on canvas.

For example, when

const fs = 'void main() { gl_FragColor = vec4(0.5) }'

AFRAME.registerShader('sample', {
  fragmentShader: fs
})

const el = document.createElement('a-plane')
el.setAttribute('material', 'shader: sample; transparent: true;')

Video keep playing in the background even though its marker is not scanned

Hi, it is my first time developing a web AR app using 8thWall and A-Frame. I start using Flyer example and edit its model, video target, and content. Then I found two issues, that is:

  • Video keep playing in the background even though its marker is not scanned
  • Video still can be played (by tap) on its last scanned marker location (without a scanned marker in camera)

I wonder how to fix those, thank you very much and have a nice day!

Video not playing

Hello, I tried to create a green screen & SLAM project, using 8th Wall's example.

However, the video isn't playing on neither the example (alpaca) nor my project.

It just shows the 1st frame of the video as a static image.

I didn't change anything from the example except replacing the video with my own (but even the default one doesn't work).

Does anyone have any suggestions?

Thank you

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.