• 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.

Are SubScenes terrible?

bill_prime

Well-known member
Featured Contributor
Joined
Feb 24, 2021
Messages
442
Solutions
3
Reactions
1,922
I am trying to build scene logic to load a bunch of different positons/mocaps dynamically using SubScene loading.
There are so many things that don't work with SubScenes: external Person links, external atom AnimationPattern drivers, etc.

These subscenes have maybe 30-50 atoms and when I load a couple VAM just locks up totally.

Anyone else try stuff with SubScenes?
 
Subscenes have their limitations and by design are meant to be used as self-containing resources. Many of the problems associated with subscenes are because they're taken beyond their intended scope. The subscene atom is rather new in terms of VAM 1.x development, and has some specificity that may not be very compatible with other VAM core features or bugs may exist. Possibly animation patterns may not handle subscenes at all.
Regarding subscenes, what you should start by asking is: why does it need to be in a subscene?

I use subscenes for specific needs where other options are too cumbersome or not suitable, while limiting its use as much as possible. If it spits out errors, it's important to understand what those errors mean. They may not mean you can't do something, just that such something will be potentially broken if the conditions are not met.
 
I use SubScene Atoms extensively, but "never" save a scene with a "saved" subscene. Just "lambda" subscenes, so to speak, where if I load a subscene for re-use, I clear the fields out before saving the scene. One thing to note is that using Atom parenting (subscene or not) "moves" the components "into" the Parent atom - so you can't then call childAtom.GetComponent<x> as expected, aside from some cases where the childAtom is a Person.
 
The BDSM scenes I published used a subscene for the spreader unit. It was originally by ZRSX, and it had problems with shapes drifting out of place. Basically, there were a bunch of individual primitive shapes that needed to be held together, with a few unhidden so they could be moved in one direction for adjusting. Lighting rigs as subscenes are fairly common. Scenes with people in subscenes, or where new scenes get loaded from Timeline make it harder to mod the scene. I mod everything... :devilish:
 
Back
Top Bottom