Jump to content

Search the Community

Showing results for tags 'Video Texture'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 8 results

  1. I am new to babylon.js I set a scene with 2 objects which named as obj1 & obj2 A video with 426 frames was set as video texture for obj1 while obj2 had a 3d animation with 426 frames. They got same length 426 frames,same rate 30fps Video and 3d animation was triggered by screen tap But video and 3d animation are out of SYNC when running. Video will have 6-8 frames delay(maybe different in other devices) I hope i can figure out a way to do some advanced synchronization for them cause i do need they being synchronized. But, i tried, hardly and did not find anything useful. Hope someone can help, Grateful Thanks.
  2. Hello Everyone, I want to use Babylon.js (great library!!) to show 360 panoramic view for equirectangular photos like http://www.babylonjs-playground.com/textures/equirectangular.jpg The example code http://www.babylonjs-playground.com/#11GAIH is perfect for my needs, but result scene looks like mirrored (look at the child in the original photo and in the rendered scene)... I can suppose the main reason (skyboxMaterial.backFaceCulling = false and camera inside the box)... However, does exist a way to show in a 360 panoramic view an equirectangular photo avoiding a mirrored result? Thanks for your help
  3. Hey, I'm working with video textures and I just noticed that they continue reloading themselves whenever they finish so they can loop. Is this a bug/is there a way to fix this? I was using this playground link and got the results in the attached image: http://www.babylonjs-playground.com/#CHQ4T#1 -Thanks
  4. Hello, I am using video textures in BJS, and can certainly control their HTML5 video functions for play and pause, however, I need to control time such as adding ff and rewind. In HTML5 I would simply do the following: But I've tried accessing the currentTime and other function on the videoTextures and I get a console response that in the case of: video.currentTime I receive a console error of : Uncaught ReferenceError: video is not defined I would like to have all HTML5 video function available, and also be able to identify operations on multiple or individual video textures. If anyone knows the proper usage that I must be overlooking, please let me know. Thanks, DB
  5. Hi, That question might sound 'newbie' to you but I can't seem to find a way to repeat a video texture : Standard material usually repeat themselves in this example : var box = BABYLON.Mesh.CreateBox("boxGeometry", 4, scene, true); box.material = new BABYLON.StandardMaterial("boxMat", scene); box.material.diffuseTexture = new BABYLON.Texture("textures/texture.jpg", scene); box.material.diffuseTexture.uScale = box.material.diffuseTexture.vScale = 5; in this example, 'texture.jpg' is repeated. Now when I use a video texture, the 'video.mp4' is repeated only once, and I can't find the way to have it repeated :/// Anyone knows ??? Thx a lot !
  6. Hi, I'm running into an issue regarding the Assets Manager and the Video Textures : When loading a sound, here is an example of code that works very well, using Assets : var binaryTaskSound = assetsManager.addBinaryFileTask("s1 task", "sounds/sound1.mp3");binaryTaskSound.onSuccess = function (task) { music5 = new BABYLON.Sound("s5", task.data, scene, soundReady, { loop: true});};Now when I want to load a Video Texture using the same method, it doesn't not seem to work anymore : var binaryTaskVideo = assetsManager.addBinaryFileTask("v1 task", "videos/Cocoon720p-Synced.mp4");binaryTaskVideo.onSuccess = function (task) { var videoTexture = new BABYLON.VideoTexture("video", [task.data], scene, false, true);};
  7. Hello, Sorry I've been out for a month - I doubt anyone missed me. I had to travel to Thailand (my Wife is Thai) for personal family issues which will take me back to Thailand on the 24th. So I had to put my multiuser real time drawing app on hold. But now I want to complete the first version in the next week, and am really stuck on something today. I have buttons that send the correct values to my conditional statements, but I don't know what the operation or proper syntax is to play and pause a video texture within my conditions. I must be missing something as this doesn't seem that difficult. I can certainly get these statements to cause a play or pause operation: videoTexture.video.play(); videoTexture.video.pause(); but only once in my scene and not in a conditional statement. I assume I must be missing further declaration - potentially for the object the video is playing attached as a diffuse video texture. Perhaps something similar to: scene.getMeshById("mymesh").visibility = 0; to set visibility and other attibutes for an object. I often use for a simple switch: plane.actionManager = new BABYLON.ActionManager(scene);plane.actionManager.registerAction(new BABYLON.ExecuteCodeAction(BABYLON.ActionManager.OnPickTrigger, function () {videoTexture.video.pause();}));but certainly remark this out as in this case it might cause a conflict with my conditions. So how might I pause and play a video texture in a conditional statement? As always, your help is greatly appriciated. Cheers, DB
  8. Hello, I have only my Sony Expiria Android Tablet to test, but I cannot get any video texture to play on my mobile device(s). We also tried a friend's Iphone. I have tried every scene on the playground and on the html5 game devs forum which uses a video texture, and none play on my Android tablet - the mesh with the video texture applied simply shows up black, and everything else in the scene works fine. I have tried .mp4, .ogg. webm, and every other video format and method of conversion available, but nothing works on mobile. I've also tried coding the actionManager to preload, play, and every other function I know as well as videoTexture.video.(action) - to no avail Again, all scenes work on PC and Mac, but not on mobile, regardless of the format. And I can set these to play in HTML5 if I source them, but not as video textures. Here are two playground scenes which were written by DeltaKosh and another user, and neither work on mobile. I also stripped the body from these out of the playground, and hosted on my servers, and the same behavior is seen - no mobile video texture playback. These are the links: http://playground.babylonjs.com/#256QWU#2 http://playground.babylonjs.com/#EKFLA#13 Please let me know what the secret is. Any help is always appriciated. DB
  • Create New...