PDA

View Full Version : Merge objects in Layout?



Revanto
04-29-2018, 07:18 PM
I just want to know if there is a way of merging objects within layout, kind of like in the similar vein of 'Save Transformed'. Even if there is an option to save multiple objects as one object then that would be fine. A plugin to do this would also be fine. LW 9.6 or LW 2018 but both would be cool.

I realise that there may be surface conflicts, though, especially if you have two of the same objects with the same surface name but you choose to treat the surfaces separately in your scene and may have modified one of them. I'm sure there is a workaround for this.

But the crux of the query is if this is possible or not?

Revanto :p

ernpchan
04-29-2018, 07:55 PM
Try this.
https://www.lightwave3d.com/assets/plugins/entry/scene2modeler/

Revanto
04-29-2018, 09:05 PM
Try this.
https://www.lightwave3d.com/assets/plugins/entry/scene2modeler/

Sadly, dead link.

Revanto

ernpchan
04-29-2018, 09:47 PM
Try Mike Green's Save Transformed lscript.
http://www.mikegreen.name/Lscripts.html

Ztreem
04-30-2018, 02:14 AM
Save as fbx and load it back in.

vipvip242
04-30-2018, 02:36 AM
OD tools have some nice tools for this too

erikals
04-30-2018, 03:28 AM
Save as fbx and load it back in.

yup

Ma3rk
04-30-2018, 10:40 AM
OD tools have some nice tools for this too

I thought he did and was going to mention that earlier, but can't remember the name and using his Invoke Layout Command tool to search isn't helping find it either. You know what it's called?

But I'm going to test Ztreem's suggestion for something quick 'n dirty.

raymondtrace
04-30-2018, 12:32 PM
Sadly, dead link.

Archive.org...

https://web.archive.org/web/20110903062548/http://www.svenart.de/plugins/Scene2Modeler.zip

Revanto
04-30-2018, 09:17 PM
Try Mike Green's Save Transformed lscript.
http://www.mikegreen.name/Lscripts.html
Wow, looks awesome! I'll give this a try.

Thanks to you and everyone who added their two cents.

Cheers,
Revanto :p

vipvip242
05-01-2018, 01:03 AM
I thought he did and was going to mention that earlier, but can't remember the name and using his Invoke Layout Command tool to search isn't helping find it either. You know what it's called?

But I'm going to test Ztreem's suggestion for something quick 'n dirty.

"object to dir" in layout to split layered objects in layout into separated saved objects (with dir. creation/selection)
"directory collapser" in modeler to merge all the saved objects into one piece
this is a very handy combination for many things, particulary for characters coming from apps like poser, which contain many pieces

Revanto
05-01-2018, 01:09 AM
Sadly, Mike Green's script only half worked.

But the Scene2Modeler script worked, albeit in a 2 part process but it did work in the end. It would be nice to have a one-step-process plugin or script but I can work with this for now.

Cheers,
Rev. :p

Ma3rk
05-01-2018, 01:18 AM
"object to dir" in layout to split layered objects in layout into separated saved objects (with dir. creation/selection)
"directory collapser" in modeler to merge all the saved objects into one piece
this is a very handy combination for many things, particulary for characters coming from apps like poser, which contain many pieces

Thanks. I'd have never remembered their purpose from the names.

Sensei
05-02-2018, 11:15 AM
It would be nice to have a one-step-process plugin or script but I can work with this for now.

BakeScene (http://www2.trueart.pl/?URIType=Directory&URI=Products/Plug-Ins/BakeScene)works the best in LW 2015.3.
It allows baking not just static objects, but entire animations to MDD files, or generate full scene object sequence.
I was using it with e.g. objects with applied displacements in Node Editors.

samurai_x
05-03-2018, 11:40 PM
There's a better way than all mentioned but Sensei's plugin is more powerful.
Plus third party devs need to flourish in lw to continue.

jeric_synergy
05-04-2018, 12:16 AM
Sadly, Mike Green's script only half worked.
"Half"? How so?

Revanto
05-04-2018, 08:03 PM
"Half"? How so?
If I remember correctly (because I already deleted the scripts by now) there were two scripts to run. One script saved all the objects into a directory but the other one, which assembled everything afterwards, gave me an error message.

I don't know, maybe I ran the Lscript in the wrong app or it just didn't work for me in LW9.6.

Rev.

jeric_synergy
05-05-2018, 01:52 AM
Sadly, dead link.

Revanto

I happen to have those in my archive: 141568

It appears to also be a two-part tool, one for Layout, one for LWM.

jeric_synergy
05-05-2018, 12:23 PM
Here's the dox for Scene2Modeler, by Sven Daennart:

Notes for Scene2Modeler V1.3.1


"Scene2Modeler" helps to export all or all selected Models from Layout to Modeler.

Installing:

Unzip the folder anywhere you want on your harddisk. Start Layout and press F11.
Click on Add Plugins and choose the file "Scene2Modeler_layout.lsc" in the Pluginfolder.
Start Modeler, press F11 and choose the plugin "Scene2Modeler_modeler.lsc".

You can also add "Scene2Modeler_modeler.lsc" as Startup Command.


Using the plugin:

At first, start "Scene2Modeler_layout" in lightwave layout. Choose your options and click on ok. The models will be temporary saved now in the plugin subfolder "data".
Now, go into modeler and start "Scene2Modeler_modeler.ls". This script will now load all the temporary files and put them together. The temporary created files will be deleted.


Changes in Version 1.3.1

If you have activated "Split into Layers" and Layercount=1, the script will save every single object in a new layer and rename the layer using the object name.




This plugin is freeware. This means:

1. All copyrights to "Scene2Modeler" are exclusively
owned by the author - Sven Daennart.

2. The Scene2Modeler plugin may be used without limitations free of charge.

3. THE SCENE2MODELER PLUGIN IS DISTRIBUTED "AS IS".
NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT
YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING
OR MISUSING THIS SOFTWARE.


Sven Daennart
www.svenart.de

Revanto
05-07-2018, 06:16 PM
Someone else posted the link for the Lscript already, Jeric, but thank you anyway. I appreciate the gesture nonetheless.

Cheers,
Revanto :p

jeric_synergy
05-07-2018, 06:44 PM
Arghghg!!! ;)

Well, it was a good check of my archive.