Results 1 to 4 of 4

Thread: How to load an image sequence?

  1. #1
    Super Member vncnt's Avatar
    Join Date
    Sep 2003
    Location
    Amsterdam
    Posts
    1,551

    How to load an image sequence?

    I'm trying to load an image sequence of 950 images with loadimage("path\filename00216000.tif"); and then use it as a background image with SetBackgroundImage(myFile.name);

    This works fine for a single image but it fails to load the entire sequence.

    I've been searching for a parameter that holds the Image Type.
    It seems most parameters in the Image Editor is not very accessible to LScript.

    Is there a solution for this?

  2. #2
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    7,876
    They are not accessible in Python and LWSDK C/C++ as well. You need to cheat by generating fake temporary file on disk, which contains part of .lws or .lwo chunk, and load using LWImageList->sceneLoad()

  3. #3
    Super Member vncnt's Avatar
    Join Date
    Sep 2003
    Location
    Amsterdam
    Posts
    1,551
    Ah, thanks Sensei. I was getting desperate.

    Quote Originally Posted by Sensei View Post
    ..., and load using LWImageList->sceneLoad()
    This is Python/C only, right?

  4. #4
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    7,876
    I am not using Lscript.
    Lscript-expert here is Mike Green (aka Dodgy).
    https://forums.newtek.com/member.php?485-Dodgy

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •