video as a scene object

  • #1, z vanoakSunday, 13. November 2016, 17:58 hodinky 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.

    Bažant

    26 Posts


  • #2, z afrlmeSunday, 13. November 2016, 18:21 hodinky 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.

    Imperátor

    7285 Posts

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

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

    Bažant

    26 Posts

  • #4, z afrlmeSunday, 13. November 2016, 20:43 hodinky 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.

    Imperátor

    7285 Posts

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

    Čestný člen

    440 Posts

  • #6, z afrlmeSunday, 13. November 2016, 22:10 hodinky 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.

    Imperátor

    7285 Posts

  • #7, z vanoakSunday, 13. November 2016, 22:59 hodinky 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.

    Bažant

    26 Posts

  • #8, z afrlmeMonday, 14. November 2016, 00:22 hodinky 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

    Imperátor

    7285 Posts

  • #9, z ke4Monday, 14. November 2016, 12:50 hodinky 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.

    Zabiják klíčů

    810 Posts

  • #10, z afrlmeMonday, 14. November 2016, 13:30 hodinky 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

    Imperátor

    7285 Posts