Jump to content

Virtual file, file in memory, something like that?


JRowe
 Share

Recommended Posts

This is related to AU3Irrlicht. I want to animate a talking head. I have a model and some morphs, and I'd like to animate those morphs. The process is simple, I just need to load the basic model, detect the differences between it and the target model, and interpolate between the two. My problem is that writing several thousand small changes to a file,then loading that file to AU3Irrlicht is going to be really slow.

Is there any way I can create something that behaves like a file, in memory, and modify it? That way, I could load all the models, and write the interpolation directly to memory, with the animation sequence simply reloading a single pseudo-file.

Link to comment
Share on other sites

This is related to AU3Irrlicht. I want to animate a talking head. I have a model and some morphs, and I'd like to animate those morphs. The process is simple, I just need to load the basic model, detect the differences between it and the target model, and interpolate between the two. My problem is that writing several thousand small changes to a file,then loading that file to AU3Irrlicht is going to be really slow.

Is there any way I can create something that behaves like a file, in memory, and modify it? That way, I could load all the models, and write the interpolation directly to memory, with the animation sequence simply reloading a single pseudo-file.

Within the last 2 weeks (I think) someone gave a link to a free ramdisk utility so searching should find it.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

That looks to be the closest thing to what I want, so far. I'm mostly exploring what it could be rather than having a concrete idea of what it should be at this point. All I know is 2 things: 1.) It would take a huge amount of space to store the interpolations for each morph target and 2.) Writing an interpolation to disk and then loading into au3irrlicht would be too slow.

My thought was to create a "virtual file" and then have the process reload it as the mesh each frame of the animation. File mapping looks to be exactly what I wanted. Thanks, guys!

Link to comment
Share on other sites

That looks to be the closest thing to what I want, so far. I'm mostly exploring what it could be rather than having a concrete idea of what it should be at this point. All I know is 2 things: 1.) It would take a huge amount of space to store the interpolations for each morph target and 2.) Writing an interpolation to disk and then loading into au3irrlicht would be too slow.

My thought was to create a "virtual file" and then have the process reload it as the mesh each frame of the animation. File mapping looks to be exactly what I wanted. Thanks, guys!

This looks a lot easier to me.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...