video as a scene object

  • #1, by vanoakSunday, 13. November 2016, 17:58 8 years ago
    Hi,

    I was wondering if it's possible to use a video as a scene object or do I have to break it into animation frames?

    Thank you.

    Newbie

    26 Posts


  • #2, by afrlmeSunday, 13. November 2016, 18:21 8 years ago
    Animation frames. Sorry. I'm not sure it's possible to overlay videos over 3D games either? In any case I'm afraid you will have to export the video as animation frames from whatever program you have used to create it, then import it into Visionaire Studio as a regular animation linked to a scene object, character or interface.

    Imperator

    7278 Posts

  • #3, by vanoakSunday, 13. November 2016, 18:59 8 years ago
    Ok. Thank you!

    Do you mean use a video as a GUI? Not sure either.

    Newbie

    26 Posts

  • #4, by afrlmeSunday, 13. November 2016, 20:43 8 years ago
    Not really, no. I just meant you will have to import the video as a regular animation. You can create animations inside of characters, scene objects & interface buttons.

    Imperator

    7278 Posts

  • #5, by AkcayKaraazmakSunday, 13. November 2016, 21:14 8 years ago
    Thats the feature that I want so badly in VS smile ... It can make the games much more live. 

    Great Poster

    440 Posts

  • #6, by afrlmeSunday, 13. November 2016, 22:10 8 years ago
    @AkcayKaraazmak - is it not possible to create is as a 3D character / object & import it into Visionaire Studio that way?

    Like I said, I'm not sure if it's possible to directly add videos into full 3D games either... don't they also create it as an animation of sorts? I would assume the file-size would be a lot less than a frame by frame 2D version of the animation & with the 3D version you should be able to add more frames to make it smoother too - just a thought mind as I'm not savvy on how 3D stuff works.

    Imperator

    7278 Posts

  • #7, by vanoakSunday, 13. November 2016, 22:59 8 years ago
    Oh, didn't understood what you meant.

    Yes, you can use a movie texture, on a plane for instance. Some allow you to import the audio as well and play it in synch.

    As for building a 3D object and importing it into Visionaire, I haven't tried, so I really don't know.

    Newbie

    26 Posts

  • #8, by afrlmeMonday, 14. November 2016, 00:22 8 years ago
    AkcayKaraazmak knows how to create & import characters. He wrote a guide for it which in on the FAQ section of the wiki I think, but apparently 3D stuff is broken in VS 4.2.5.

    https://wiki.visionaire-tracker.net/wiki/3D_models

    Imperator

    7278 Posts

  • #9, by ke4Monday, 14. November 2016, 12:50 8 years ago
    What is the current system now? I'm not sure if the animations are being loaded frame by frame and thus it doesn't really matter how long they are or they are being loaded whole before they are started?

    In that case having a whole video rendered as an image sequence / animation would not really work.

    Key Killer

    810 Posts

  • #10, by afrlmeMonday, 14. November 2016, 13:30 8 years ago
    Frame by frame I believe still as it's faster than loading each animation entirely on first play or preloading. If you use webp image format for the animation frames to reduce the overall file-size for each frame & the animation overall size in general then the animation will load faster & play more smoothly. However, it depends on the width & height of your images too as large surface areas will usually have large file-sizes regardless of whether most of it is transparent background.

    If it was still using the old method of loading an entire animation in one go I would have recommended splitting the animation up into multiple animations, but seeing as it's frame by frame, there's not much point. The only other thing I will recommend is reducing the amount of frames being used by as much as you possibly can because 2D animation is quite taxing on the old VRAM. There's no need to have duplicated animation frames to control the amount of time a particular frame should be shown for as you can manually enter a delay (show frame for x time) into a number input box on the animation toolbar to control how long a specific frame should be shown for instead of it using the default global delay value you specify in the properties tab.

    https://wiki.visionaire-tracker.net/wiki/Image_Encoding
    https://wiki.visionaire-tracker.net/wiki/Game_Optimization

    Imperator

    7278 Posts