Instancify looks pretty great

2

Comments

  • JOdelJOdel Posts: 6,288

    Sounds like a useful sort of a do-si-do to keep in mind.

  • L'AdairL'Adair Posts: 9,479
    JOdel said:

    Sounds like a useful sort of a do-si-do to keep in mind.

    Of the tools, features, and addons I've learned to use in Daz Studio, that pretty much sums up using any of them!
    laugh

  • mumia76mumia76 Posts: 146

    TLDR: Can I somehow run instancify on just a subset of a scene? Eg: specific groups / geometries. As all of my scenes have figures or clothing or both in them, and instancify is only supposed to be run on the environment, but selecting objects in the scene seems to have no effect.

  • TotteTotte Posts: 14,066
    mumia76 said:

    TLDR: Can I somehow run instancify on just a subset of a scene? Eg: specific groups / geometries. As all of my scenes have figures or clothing or both in them, and instancify is only supposed to be run on the environment, but selecting objects in the scene seems to have no effect.

    It runs on the whole scene as it needs to do that, but it will ignore things it's not happy with, like figures.
    One thing to remember is workflow, run Instancify early when you have loaded the environment, not late in the process when you have added loads of stuff.

  • L'AdairL'Adair Posts: 9,479

    @mumia76, If you ever find yourself in need of running Instancify on part of the scene, you can always save a Scene Subset and select those items. Open the Scene Subset, run Instancify, save as a Scene and merge back into the main scene.

    You'll need to delete the objects from the main scene, of course. I recommend this sequence:

    • Separate the items you need to process from the other items in the scene. (I like to create a new group with these items, so the Scene Subset only contains these items.)
    • Save as > Scene Subset and select only these items.
    • "Save" the scene.
    • "Open" the Scene Subset and run Instancify.
    • "Save" the modified scene.
    • "Open" the original scene.
    • Delete the items. (Really easy when they are in their own group; just delete the group.)
    • "Merge" the Instancified scene.
    • Verify everything is where it needs to be and Save the scene.
    • If something didn't work as planned, "Open" the main scene, and make sure you DO NOT save the scene in the popup dialog.

     

  • carrie58carrie58 Posts: 4,012
    L'Adair said:

    @mumia76, If you ever find yourself in need of running Instancify on part of the scene, you can always save a Scene Subset and select those items. Open the Scene Subset, run Instancify, save as a Scene and merge back into the main scene.

    You'll need to delete the objects from the main scene, of course. I recommend this sequence:

    • Separate the items you need to process from the other items in the scene. (I like to create a new group with these items, so the Scene Subset only contains these items.)
    • Save as > Scene Subset and select only these items.
    • "Save" the scene.
    • "Open" the Scene Subset and run Instancify.
    • "Save" the modified scene.
    • "Open" the original scene.
    • Delete the items. (Really easy when they are in their own group; just delete the group.)
    • "Merge" the Instancified scene.
    • Verify everything is where it needs to be and Save the scene.
    • If something didn't work as planned, "Open" the main scene, and make sure you DO NOT save the scene in the popup dialog.

     

    See now that's what I was wondering if you can save after running Instancify ,or if you needed to run it each time ..thank you

  • 3WC3WC Posts: 1,113

    For some reason my brain keeps reading this as "In-STANK-ify!" It's not you, it's me. I hope I will get over it! :D

  • TotteTotte Posts: 14,066
    3WC said:

    For some reason my brain keeps reading this as "In-STANK-ify!" It's not you, it's me. I hope I will get over it! :D

    :P

  • barbultbarbult Posts: 24,781

    This product is a real winner! Thank you, Totte.

    I ran it on Moonshine's Diner. It reduced the polygons by 83.18%.

    Screenshot 2020-11-18 03.52.21.png
    746 x 301 - 27K
  • TotteTotte Posts: 14,066
    barbult said:

    This product is a real winner! Thank you, Totte.

    I ran it on Moonshine's Diner. It reduced the polygons by 83.18%.

    That's the kind of things it's made for, sets that comes both for Poser and DS and sets that arrived before instances existed in DS.

  • Totte said:
    barbult said:

    This product is a real winner! Thank you, Totte.

    I ran it on Moonshine's Diner. It reduced the polygons by 83.18%.

    That's the kind of things it's made for, sets that comes both for Poser and DS and sets that arrived before instances existed in DS.

    Yes, it should be a huge boon with many of jack's sets. those were also my motivation for an old script to select nodes by matching labels, but that was just for material application and did nothing for memory use.

  • barbultbarbult Posts: 24,781
    Totte said:
    barbult said:

    This product is a real winner! Thank you, Totte.

    I ran it on Moonshine's Diner. It reduced the polygons by 83.18%.

    That's the kind of things it's made for, sets that comes both for Poser and DS and sets that arrived before instances existed in DS.

    Yes, it should be a huge boon with many of jack's sets. those were also my motivation for an old script to select nodes by matching labels, but that was just for material application and did nothing for memory use.

    Yes, Jack's sets often use a lot of symmetry and repetition of design elements. Instancify should work great on all those older sets. Instances are a wonderful addition to Daz Studio.

  • LOL I know I haven't bought this one yet but I have yet another suggestion for a future script

    a mesh splitter for those awkward sets in one piece, so one doesn't need to constantly hide or delete stuff with the geometry editor and load another and another or export reimport objs for split up props.

  • WendyLuvsCatzWendyLuvsCatz Posts: 38,537
    edited November 2020

    duplicate post

    will add since its here

    say you load Quaint holiday shack with everything in one

    you select the prop you want using various options like geometry editor 

    you click split and a dialogue comes up with a space for the name you wish to call it.

    optional create zeroed prop or load in place

     

    Post edited by WendyLuvsCatz on
  • TotteTotte Posts: 14,066

    LOL I know I haven't bought this one yet but I have yet another suggestion for a future script

    a mesh splitter for those awkward sets in one piece, so one doesn't need to constantly hide or delete stuff with the geometry editor and load another and another or export reimport objs for split up props.

    @ManFriday: This one's for you ;-)

  • SevrinSevrin Posts: 6,310

    One minor drawback, and it's just a matter that reorganizing creates a point-of-no-return of sorts. Once you've run Instancify, there's an issue with moving stuff around if it had been previously parented.  For instance with Charlie's recent Clothes Shop.  There are tons of duplicate items in this set, and Instancify saves nearly half the previous polygons, but once you've run it, moving any of the stands to which clothes items had been parented means that you either have to identify and reparent all the previously parented clothes, or else move those items individually.

    This doesn't mean that I wouldn't use Instancify here.  Just something to be aware of when planning out a scene if you want to use it in a story with multiple angles.

  • NylonGirlNylonGirl Posts: 1,919

    Maybe it needs some thing that returns everything to the original parenting hierarchy after the instances are made.

  • barbultbarbult Posts: 24,781
    NylonGirl said:

    Maybe it needs some thing that returns everything to the original parenting hierarchy after the instances are made.

    That would be very helpful in cases like this.

  • TotteTotte Posts: 14,066
    NylonGirl said:

    Maybe it needs some thing that returns everything to the original parenting hierarchy after the instances are made.

    I looked at doing this, but the sometimes crazy structures and how things would have to be handled made it rather impossible, or at least not possible to do within the budget.

  • For me its a serious limitation that it doesnt work on scenes that have any instances in them. That happens quite often ...

  • TotteTotte Posts: 14,066

    For me its a serious limitation that it doesnt work on scenes that have any instances in them. That happens quite often ...

    Bascally, scenes that has instances usually has nothing to gain as if the PA uses instances repetitions are already instanced.
    Second, If there are some instances, as some sets tested during testing had, it's often 1 item, with some instances parented, then that group has been duplicated and moved, rotated and often paranted to something else. Resolving that without loosing positions, and without loosing the the hierachy or losing the actual instance parent is a nightmare riddle that of course is possible to solve, but not possible to sell as it would be horribly expensive.

  • WendyLuvsCatzWendyLuvsCatz Posts: 38,537
    edited November 2020

    you could always run the other instances to objects script then filter select and group those objects then run this script

    as for parent in place oh god I hate that, it wrecks FBX exports and ease of usage of stuff especially scaling in general I haven't seen it with instances to date but am horrified to learn PAs are doing so!

    Post edited by WendyLuvsCatz on
  • NylonGirlNylonGirl Posts: 1,919

    It works pretty well on whatever "Pool Villa" is. I deleted the objects not in the scene and then ran this script on the remaining objects. It removed over a million polygons and then the whole thing fit in my video ram.

  • WendyLuvsCatzWendyLuvsCatz Posts: 38,537
    edited January 2021

    now it seems obvious

    but I just learnt

    don't run instancify if the scrubber is not at the beginning of the timeline laugh

    I also have another problem set that I think it's because it uses parent in place

    one of the most unoptimised things I own BTW and I will never buy anything from that PA again

    it would hugely benefit from instancing sadly but the script just misplaces too much such as doors etc parented

    unparenting them without the script has the same effect

    god I hate not parenting in place in sets with a passion

    Corrected terminology

     

    Post edited by WendyLuvsCatz on
  • TotteTotte Posts: 14,066

    WendyLuvsCatz said:

    now it seems obvious

    but I just learnt

    don't run instancify if the scrubber is not at the beginning of the timeline laugh

    I also have another problem set that I think it's because it uses parent in place

    one of the most unoptimised things I own BTW and I will never buy anything from that PA again

    it would hugely benefit from instancing sadly but the script just misplaces too much such as doors etc parented

    unparenting them without the script has the same effect

    god I hate parent in place in sets with a passion

     

    @WendyLuvsCatz : pm Me what set and I will look at what the issues are, if not for anything else than learn what to warn about in any future scripts fiddling with something like this.

     

  • WendyLuvsCatzWendyLuvsCatz Posts: 38,537
    edited January 2021

    sets like that explode in iClone 3Dxchange too I really really hate them for so many reasons

    parent in place is bad even in DAZ studio for rearranging the scene tree and for props so pointless

    it is not your script that's the problem it's the PA that just cannot be bothered moving stuff manually to set it up

    it worked beatifully on a set by Merlin for example, one of my favourite PAs who sets stuff up nicely

    Post edited by WendyLuvsCatz on
  • WendyLuvsCatz said:

    sets like that explode in iClone 3Dxchange too I really really hate them for so many reasons

    parent in place is bad even in DAZ studio for rearranging the scene tree and for props so pointless

    it is not your script that's the problem it's the PA that just cannot be bothered moving stuff manually to set it up

    it worked beatifully on a set by Merlin for example, one of my favourite PAs who sets stuff up nicely

    I'm not sure what you mean here - items that are modelled in place, or items thata re modelled at the origin and moved to their final location? The former couldn't be instanced anyway, since they would be distinct meshes, the latter should unparent fine as long as parent In Place is on (it's not a state, it's an instruction on what to do when parenting - adjust the current transforms to keep the object in its original position relative to its new parent).

  • WendyLuvsCatzWendyLuvsCatz Posts: 38,537

    yes I got it wrong its the other parenting option that does it 

    the one I never use

    if you unparent stuff in these sets they fly to another spot

    however the PA makes it is causing this

  • barbultbarbult Posts: 24,781
    edited January 2021

    WendyLuvsCatz said:

    sets like that explode in iClone 3Dxchange too I really really hate them for so many reasons

    parent in place is bad even in DAZ studio for rearranging the scene tree and for props so pointless

    it is not your script that's the problem it's the PA that just cannot be bothered moving stuff manually to set it up

    it worked beatifully on a set by Merlin for example, one of my favourite PAs who sets stuff up nicely

    I don't understand the problem with parent in place. Do the instances move to a different location on the viewport? Is the problem that Instancify moves the items and instances into a separate group, so that the scene hierarchy is no longer correct?

    Edit: we were typing at the same time. I see now that it is NOT parent in place that you were talking about.

    Post edited by barbult on
  • WendyLuvsCatzWendyLuvsCatz Posts: 38,537

    barbult said:

    WendyLuvsCatz said:

    sets like that explode in iClone 3Dxchange too I really really hate them for so many reasons

    parent in place is bad even in DAZ studio for rearranging the scene tree and for props so pointless

    it is not your script that's the problem it's the PA that just cannot be bothered moving stuff manually to set it up

    it worked beatifully on a set by Merlin for example, one of my favourite PAs who sets stuff up nicely

    I don't understand the problem with parent in place. Do the instances move to a different location on the viewport? Is the problem that Instancify moves the items and instances into a separate group, so that the scene hierarchy is no longer correct?

    yes instancify moves it doing exactly that as does just moving the hierachy yourself which I often do grouping stuff for visibility so yes it's a PITA

    as I said I got the term wrong it is actually the opposite to parent in placeblush

Sign In or Register to comment.