-
Posts
11 -
Joined
-
Last visited
peraxel7's Achievements
Newbie (1/14)
6
Reputation
-
Temechon reacted to a post in a topic: Playground for Webcam Blob Detection (with Tracking)
-
Lugtigheid reacted to a post in a topic: Playground for Webcam Blob Detection (with Tracking)
-
Pryme8 reacted to a post in a topic: Playground for Webcam Blob Detection (with Tracking)
-
peraxel7 reacted to a post in a topic: New model updated - Perplexus maze build with boxes
-
New model updated - Perplexus maze build with boxes
peraxel7 replied to ian's topic in Demos and Projects
This looks cool. Is it online somewhere? -
peraxel7 reacted to a post in a topic: Playground for Webcam Blob Detection (with Tracking)
-
Playground for Webcam Blob Detection (with Tracking)
peraxel7 replied to peraxel7's topic in Demos and Projects
@c75 Thank you! Yes, the plan is to learn how marker tracking works so I can figure out distance and rotation. Then hopefully make some implementation of it which still gives an fps of 60. Probably by using some compromise in accuracy like limiting the player to only see the game from certain angles and so on.- 4 replies
-
- webcam
- blob detection
-
(and 1 more)
Tagged with:
-
c75 reacted to a post in a topic: Playground for Webcam Blob Detection (with Tracking)
-
c75 reacted to a post in a topic: Playground using the Webcam
-
This is Awesome! Love the smoothness of the controls and the high fps.
- 13 replies
-
- babylon.js
- cannon.js
-
(and 3 more)
Tagged with:
-
peraxel7 reacted to a post in a topic: Bjs is moving fast
-
Hold up something red like a bottle cap and you should see a 3d sphere following it around. When your up to it, use arrows and mouse to move around and it should still track to the plane showing your webcam. https://www.babylonjs-playground.com/#YGKM4#1 As it identifies red above a certain threshold make sure there are no other red objects in the environment (like a t-shirt) or tracking may get weird. Let me know if it works since I've only tried it at home
- 4 replies
-
- webcam
- blob detection
-
(and 1 more)
Tagged with:
-
peraxel7 reacted to a post in a topic: Babylon Playground getUserMedia() Webcam
-
peraxel7 reacted to a post in a topic: Babylon Playground getUserMedia() Webcam
-
Babylon Playground getUserMedia() Webcam
peraxel7 replied to peraxel7's topic in Questions & Answers
@dbawel Made a sample that uses a standard material for the video. https://www.babylonjs-playground.com/#LIVJ8#0 In this one I needed to set an emissive color because the scene has no lights. -
Made a small demo on how to use the Webcam in 2.6. https://www.babylonjs-playground.com/#EETLE#0 More info about Video here: http://doc.babylonjs.com/tutorials/advanced_texturing. From what I gather you don't need to use a shadermaterial if you just want to display the webcam stream. However applying it to a shadermaterial allows for custom pixelshaders on the stream. [EDIT] Had some time so I made a sample using standard material for the video. https://www.babylonjs-playground.com/#LIVJ8#0 In this one I needed to set the emissiveColor because the scene has no lights. Also use of the webcam requires a HTTPS connection (in Chrome) which might require use of a local webserver if anyone is developing at home.
-
Babylon Playground getUserMedia() Webcam
peraxel7 replied to peraxel7's topic in Questions & Answers
Works perfectly now. Thank You! -
peraxel7 reacted to a post in a topic: Annoying Canvas Outline
-
Hello, I noticed in the documentation that WebRTC and Webcam support was being added to Babylon 2.6. So I made a simple example where createFromWebCam is applied to a shadermaterial. That would allow custom pixelshaders to filter the webcam stream which could be useful for blob/edge detection in Augmented Reality applications. Everything works fine on localhost so I created a simple Playground for it. However on Chrome I get permission denied. getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. So I was wondering if there is something I should do differently, if the Playground needs to update to a HTTPS, or if this is only happening to me? I saved the playground http://www.babylonjs-playground.com/#EETLE#0 which for me shows a black plane. (Ctrl + shift + I) to bring up console with warnings on Chrome.
-
Nice one, liked the restriction of camera movement, the speed of animation and the light. Cool piece.
-
Nabroski reacted to a post in a topic: ImportMesh with renderOutline
-
Ok, got it working now. I was actually surprised that debugLayer could show the bounding box whereas I had failed. Thanks for the comments. Iterating all the meshes to outline all of them will probably come into use one of these days at well. Turns out I needed to set newMeshes[0] to newMeshes[1]. At least I got to spend a few hours reading the documentation Onwards to the next user error!
- 3 replies
-
- importmesh
- renderoutline
-
(and 1 more)
Tagged with:
-
peraxel7 reacted to a post in a topic: ImportMesh with renderOutline
-
peraxel7 reacted to a post in a topic: Contributing to documentation 101
-
peraxel7 reacted to a post in a topic: Contributing to documentation 101
-
Hi, new to Babylon.js and the forum. I want to use the renderOutline property on the rabbit.babylon model from BONES demo. BABYLON.SceneLoader.ImportMesh("", "models/", "rabbit.babylon", scene, function (newMeshes, particleSystems, skeletons) { var mdl_Rabbit = newMeshes[0]; mdl_Rabbit.position = new BABYLON.Vector3(0, 0, 40); mdl_Rabbit.renderOutline = true; }); It changes the position of the rabbit but it does not render outline. Also for some reason, I could use newMeshes[12] and the rabbit would still display correctly. mdl_Rabbit.showBoundingBox doesn't work either. Overall it's obvious I don't understand how the ImportMesh works. So, what am I missing and how do I get renderOutline to work?
- 3 replies
-
- importmesh
- renderoutline
-
(and 1 more)
Tagged with: