• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Question Preloading multiple appearances in a scene

purpleskies

New member
Joined
Jan 11, 2024
Messages
4
Reactions
0
Hello.

I'm working on a scene where I would like to be able to switch looks/appearances of one person atom, but without the loading - making it somewhat seamless.
Is there any way to preload multiple looks (say, 4-5 looks) during the actual scene load?

I suppose I could add 4-5 person atoms with each look and disable them after loading, but that seems unnecessarily heavy.

Appreciate any help with this!
 
There's no escape, you either load them on demand and wait on each load, or do as you said with persons on/off, loading all at scene load.
If you do find another option, I'm interested in knowing too.
 
Upvote 0
I've done it with images before to avoid stuttering when changing them in the scene animation, by adding them to an iscube under the floor so they are already loaded in the scene. It might work the same if you add the person textures you need, but I've not tested it.
 
Upvote 0
Could this be done with logic bricks triggered by the OnSceneLoad one where you start a sequence of appearance preset loads on the same character? You would have to keep the scene from starting any animations until this is all done. You would have to make them happen in serial fashion, where each one has to wait for the previous one to load before loading itself. The character could be out of view when this happens, or the Overlay could be used to hide the whole scene until the last one has finished. I'm not sure if there's a way to detect if one thing has finished before starting another.
 
Upvote 0
Could this be done with logic bricks triggered by the OnSceneLoad one where you start a sequence of appearance preset loads on the same character? You would have to keep the scene from starting any animations until this is all done. You would have to make them happen in serial fashion, where each one has to wait for the previous one to load before loading itself. The character could be out of view when this happens, or the Overlay could be used to hide the whole scene until the last one has finished. I'm not sure if there's a way to detect if one thing has finished before starting another.
I did some testing with this. Thanks for the suggestion!

I started out with the OnSceneLoad plugin, which loads in Look 2 after the initial scene is loaded. It also triggers the first LoadingDelay (LogicBricks) that will start loading in Look 3, and triggers the second LoadingDelay, which starts loading Look 4, etc. At the end, I had another LoadingDelay which spawns the player to the scene and starts the first animation.

The loading sequence actually works, but the problem is that it doesn't seem to cache the looks, even when pre-loaded. So once everything is done and loaded, there will still be loading involved when you switch between looks later.
 
Upvote 0
An appearance preset includes hair, clothes, morphs and textures. Are you sure you need the whole appearance? If you check out the JAV Simulator scene on the hub, there are multiple clothing presets that get loaded, but it's not a big disruption. Each room in the scene starts with clothing presets that were loaded on scene load, and there are less and less clothes as it proceeds. They get reloaded when going to another room, but it's quick enough. The Vam Overlay can somewhat hide the transitions, though the JAV scene doesn't use that. I don't think there's a cheap and seamless way to do that.
 
Upvote 0
An appearance preset includes hair, clothes, morphs and textures. Are you sure you need the whole appearance? If you check out the JAV Simulator scene on the hub, there are multiple clothing presets that get loaded, but it's not a big disruption. Each room in the scene starts with clothing presets that were loaded on scene load, and there are less and less clothes as it proceeds. They get reloaded when going to another room, but it's quick enough. The Vam Overlay can somewhat hide the transitions, though the JAV scene doesn't use that. I don't think there's a cheap and seamless way to do that.

Yeah, that's why I wanted to try to figure this out. I was hoping to use different texture sets of the person as well as each appearance having their own set of clothes to choose from.

Either way, I settled with creating a loading screen between appearance switches, which works fine.
 
Upvote 0
Back
Top Bottom