Page 1 of 1

LWO file could be corrupted if saved with a lot of the LiveD

Posted: Tue Aug 18, 2015 1:31 am
by asher
..."NOTE: due to the large storage space needed by this node, and the current limitations of the LWO file format, it is not safe to have more than few LiveDB nodes in the same material node editor, even if they are disconnected. The LWO file could be corrupted if saved with a lot of the LiveDB nodes inside the same material node editor."

Hi Juanjo, I am a bit confused, how to avoid the above?

1.- Create more separate objects with only a few materials?

OR

2.- ok to have as many materials on one object, but only a few nodes on each material???

is the issue with file size? or adding to many nodes per material, as opposed to many nodes per object?

Secondly, is the issue present with Local DB ??? ( if LIVE DB gets saved into Local DB, then used in LW, does this still create problems? )
I would use Live to download and share but not do a project with a strictly "live" file right? only after saving it locally?

Re: LWO file could be corrupted if saved with a lot of the LiveD

Posted: Tue Aug 18, 2015 9:00 am
by juanjgon
This is a problem related to the limitations of the old LWO file format architecture. You can have any number of materials in the object, don't worry, but each material in the LWO format only can store up to 64Kb of data in the surface chuck. LightWave doesn't verify the data size limits while writing the files, so there is no way to avoid this issue.

The more complex Octane material available in LiveDB needs about only 3Kb of storage space in the LWO file (the xml material data is compressed to need as less space as possible), so there is no problem at all if you don't add a lot of the LiveDB nodes in the same material.

This a LW architecture limitation, not a plugin issue. You can corrupt a .lwo file even using only native LW nodes if you add a lot of them ;)

-Juanjo

Re: LWO file could be corrupted if saved with a lot of the LiveD

Posted: Mon Aug 24, 2015 4:47 am
by asher
Thank you Juanjo,

So i understnd from this, that as long as each material does not have to many nodes is ok. 100 materials per object no problem. But 100 nodes in ONE material could be. right?

Re: LWO file could be corrupted if saved with a lot of the LiveD

Posted: Mon Aug 24, 2015 5:35 am
by juanjgon
Yes, you are right. The problem can be to have 100 nodes in only one material.

-Juanjo