Page 1 of 1
Mirrored Instance
Posted: Tue Feb 21, 2012 5:27 pm
by khan973
Hi guys, I tried to do mirrored instance and it is not working.
I have a shape associated to a null.
I copy the hierarchy
I mirror the Null parent (X size : -1.0) and when i want this object to be an instance, it doesn't appear.
It appears only If I put its Null parent to 1.0 again...
Is there a way to make mirrored instances?
Re: Mirrored Instance
Posted: Wed Feb 22, 2012 2:47 pm
by khan973
Any answer?
How do you manage mirror instances?
So far from what I've tested, it's only possible by doing an ctual mirror of the object and ther instance that one.
It couls save me a few hudred thousand polys if there was a more straight forward solution.
Thanks guys
Re: Mirrored Instance
Posted: Wed Feb 22, 2012 5:15 pm
by jure
khan973 wrote:Hi guys, I tried to do mirrored instance and it is not working.
I have a shape associated to a null.
I copy the hierarchy
I mirror the Null parent (X size : -1.0) and when i want this object to be an instance, it doesn't appear.
It appears only If I put its Null parent to 1.0 again...
Is there a way to make mirrored instances?
Clone object, replace it with Null and change it's scale to -1. That works here. I'm not sure what's going on with your hierarchies though... post a scene and i'll take a look.
Re: Mirrored Instance
Posted: Thu Feb 23, 2012 3:48 pm
by khan973
Here is my scene
I did a simple scene with original object on one side and mirrored clone on the other side (-1 X)
Then I replaced both with Point poly + Kray instance
I did the same with Null

- scene
After render, it looks like this

- render
Instance works on point poly but not on the one that has been mirrored.
If I parent them to a null and mirror it , same result.
So it appears Kray wont instance objects of child objects that have negative size values.
Is there a workaround to mave mirrored instances?
Re: Mirrored Instance
Posted: Thu Feb 23, 2012 5:33 pm
by khan973
I have a very very annoying problem with instance also...
I have huge scene so I worked each piece separately for the sake of efficiency & speed. In those independant scenes, there are many instances.
When importing them all in the master scene (Import from scene) All Instances are completely messed up (the object instanced is an other object). Very counter productive.
I was thinking maybe instances use object' ID, not object's name which leads to an other ID when Imported.
If so, It will be a show stopper for me
I'll check in other versions of Lightwave or it means I'll have to check Thousands objects one by one.
Edit: same problem in LW10.1. Some objects are instancing to completely different object from what was made originaly...
I would like to find a solution cause there is a 10days work assuming it was working with import from scene. I will try with 9.6.1 as it's the one I'll use on the renderfarm.
Edit2: even after seeing the problem, if I replace by hand to re-associate the right instance, it doesn't show on render. Like they are gone! Or not working anymore.
I can't find a work around.
Re: Mirrored Instance
Posted: Fri Feb 24, 2012 11:31 am
by jure
khan973 wrote:I have a very very annoying problem with instance also...
I have huge scene so I worked each piece separately for the sake of efficiency & speed. In those independant scenes, there are many instances.
When importing them all in the master scene (Import from scene) All Instances are completely messed up (the object instanced is an other object). Very counter productive.
I was thinking maybe instances use object' ID, not object's name which leads to an other ID when Imported.
If so, It will be a show stopper for me
I'll check in other versions of Lightwave or it means I'll have to check Thousands objects one by one.
Edit: same problem in LW10.1. Some objects are instancing to completely different object from what was made originaly...
I would like to find a solution cause there is a 10days work assuming it was working with import from scene. I will try with 9.6.1 as it's the one I'll use on the renderfarm.
Edit2: even after seeing the problem, if I replace by hand to re-associate the right instance, it doesn't show on render. Like they are gone! Or not working anymore.
I can't find a work around.
You could try it the other way around perhaps? Import non insanced items into the scene with instances? That way object ID's shouldn't get messed up.
Re: Mirrored Instance
Posted: Fri Feb 24, 2012 2:01 pm
by jure
khan973 wrote:Here is my scene
Instance_Test.zip
I did a simple scene with original object on one side and mirrored clone on the other side (-1 X)
Then I replaced both with Point poly + Kray instance
I did the same with Null
Instance_explained.JPG
After render, it looks like this
Instance_Render.jpg
Instance works on point poly but not on the one that has been mirrored.
If I parent them to a null and mirror it , same result.
So it appears Kray wont instance objects of child objects that have negative size values.
Is there a workaround to mave mirrored instances?
I checked the scene. It seems that negative scale is not working on -X but on -Y and -Z it is working. Looks like a bug.
Re: Mirrored Instance
Posted: Fri Feb 24, 2012 6:00 pm
by khan973
Thannnnnnks!
Really, I didn't try as I thought it wouldn't work.
If you can remember that issue to fix it that would be awesome.
Maybe notify it on the Wiki (manual).
I'll change my scenes, at least Z + rotation will help.
Re: Mirrored Instance
Posted: Fri Feb 24, 2012 9:02 pm
by jure
khan973 wrote:Thannnnnnks!
Really, I didn't try as I thought it wouldn't work.
If you can remember that issue to fix it that would be awesome.
Maybe notify it on the Wiki (manual).
I'll change my scenes, at least Z + rotation will help.
We will try to fix it for 2.5.