Jump to content

Search the Community

Showing results for tags 'WidgetSpriteVideo'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 2 results

  1. Hi, I'm trying to implement ObjectGui + WidgetSpriteVideo in C++, following the example in gui_00. So far, nothing shows up. Here's my initialization code: objectGui = ObjectGui::create(20.0f, 15.0f); objectGui->setTransform(Mat4(translate(0.0f, 0.0f, 8.0f) * rotateY(90.0f) * rotateZ(90.0f))); objectGui->setMaterial(lookupId.c_str(), "*"); objectGui->setProperty("surface_base", "*"); objectGui->setMaterialState("mode", 1, 0); GuiPtr gui = objectGui->getGui(); sprite_video = WidgetSpriteVideo::create(gui, "resources/data/sanctuary.ogv"); gui->addChild(sprite_video->getWidget(), Gui::ALIGN_EXPAND); sprite_video->setVideoTime(0.0f); sprite_vide->play(); If I replace my gui pointer with the regular GUI, then it works as expected and I can see the video playing, but it takes up the whole screen. //replace this one line and it works on the whole screen gui GuiPtr gui = Gui::get(); //objectGui->getGui(); So it's like I can't see the ObjectGui I created. Even though I know my camera is at the origin when I start up, and it should be putting that ObjectGui around the origin too. I have flown around, trying different camera angles just in case the ObjectGui was back-facing. It doesn't show up from any angle. Suggestions? Thanks
  2. Hi When I play the game on my computer using (launch_release.bat) the video and animation is in sync but when the client plays it on a faster computer the video and animation is out of sync :( I've also tested on a faster computer with a good video card and it's in sync! Why would this be? I set video by email the animation and video starts at 0:26
×
×
  • Create New...