Search the Community
Showing results for tags 'ogv'.
Hi, I'm trying to use WidgetSpriteVideo to display video on in-game screen models and it works pretty fine. However, I can't have the video cropped properly. As I show on my screenshot, I'd like the right part of the video not being displayed. I've made some research, found this topic and tried to do the same. Here is the code in which I try to create my WidgetSpriteVideo and attach it to my GuiObject: // gui: Gui of my ObjectGui WidgetHBox container = new WidgetHBox(gui); container.setStencil(1); WidgetSpriteVideo videoSprite = new WidgetSpriteVideo(gui, "MyVideo.ogv", 0); videoSprite.setFlags(GUI_ALIGN_OVERLAP); container.addChild(videoSprite); gui.addChild(container); What am I missing? Thanks, Alexandre.
peter.caddock posted a topic in RenderingWe need to play a couple of very short video clips over the top of Unigine scenes. The clips will act as buffers to hide camera cuts and scene changes, so they will be very quick (less than a second in most cases). We have converted slips across to OGV but can't tell if the video transparency has come across, we don't know if there is a setting or flag we need to set to get it to work. Currently the videos have transparency but we can't see that effect. Can anyone help us understand the process or suggest a new process which will allow us to take a video with alpha channel and convert it so when it runs in Unigine we will be able to see the Unigine scene underneath/through the video clip? Thanks in advance. P.