Questions tagged [videotexture]
10 questions
3
votes
0 answers
THREEJS videoTexture resolution/ streaks
I created a videoTexture using THREEJS but when displaying it, it seems as there are streaks on the video.
const video = document.getElementById('video');
const videoTexture = new THREE.VideoTexture(video)
videoTexture.encoding = THREE.sRGBEncoding;…

Tiphaine Richard
- 31
- 3
1
vote
0 answers
Video transition in Three.js
I want to play multiple videos in Three.js environment. I have finished loading video as texture and play it below and stuck at how to implement to load multiple video textures and play. Also adding some transition into it :(. Hope anyone can help…

Van
- 127
- 1
- 1
- 8
0
votes
0 answers
How do I map a video texture onto a specific material of a 3D object using three js
I am trying to create a website that has a 3D model of a computer. The idea is the user would be able to watch a video on the computer... So the issue I have is I didn't make the model and I am fairly new to both three.js and 3D models in…
0
votes
0 answers
THREE.js: Why VideoTexture is not playing?
I want a very simple workable three.js VideoTexture example, video url starts with "http" is prefered (but basically all of the examples are not, why?), so i trid this one with codepen (modfied from the 1st three.js texture example found here :…

21k
- 391
- 5
- 16
0
votes
2 answers
How can I flip a Three.js VideoTexture horizontally?
We are using the front camera feed as a VideoTexture for the background of the Three.js Scene. This video is flipped compared to the way the front-facing camera normally works. Is there a way to flip the video / VideoTexture so that it will work as…

cvolpe
- 41
- 6
0
votes
0 answers
BGE Error: 'VideoTexture.Texture' object has no attribute 'materialID'
I tried to change the texture of an object in the blender game engine.
I thought it would be a good idea to use the Texture Replacement from the Video Texture (bge.texture).
I tried to run the following script:
def createTexture(cont):
obj =…

Merlin Waldhör
- 11
- 1
- 5
0
votes
1 answer
How to give data to Hardwarepixelbuffer correctly in Ogre3d?
There is a code in "OGRE 3D 1.7 Application Development Cookbook" like this:
m_VideoTexture->m_PixelBuffer->lock(Ogre::HardwareBuffer::HBL_DISCARD);
memcpy(m_VideoTexture->m_PixelBuffer->getCurrentLock().data, lpbi + lpbi->biSize + 25,…

Yin Xiaoguang
- 45
- 10
0
votes
1 answer
WWW.Movie not working unity C#
I have been looking at the WWW.movie documentation and i can seam to get it working.
https://docs.unity3d.com/ScriptReference/WWW-movie.html
The code below is attached to a cube containing both the GUI Texture and Audio Source Components. if anyone…

blobbymatt
- 317
- 1
- 2
- 17
0
votes
0 answers
How to get a (high quality) FLV version of your youtube video?
I need to get a link of a FLV verion of a youtube video so I can play it in mobile, using Adobe Air (VideoTexture).
I'm currently using this library: https://github.com/myflashlab/AS3-youtube-parser-video-link
Which works, the only problem is that…

Artemix
- 8,497
- 14
- 48
- 75
0
votes
0 answers
Mapping video.js as a texture in three.js
I'm trying to get a stream in HLS with video.js and play it as a videoTexture in a Three.js cube: