Log in or register to post comments

Preserve Child Size for ImageTarget

May 31, 2013 - 2:25am #6

what does this do exactly? can you give some examples? 

Preserve Child Size for ImageTarget

May 31, 2013 - 9:22am #5

Preserve child size allows you to change the scale of the target without affecting the relative scale of the augmentation. Try changing the dimensions of your target in the dataset's XML file and the select Apply Dataset Properties from the Vuforia menu item. You'll notice that the augmentation scales w/ the target if this Preserve Child Size is not checked.

Preserve Child Size for ImageTarget

May 31, 2013 - 12:20pm #4

DavidBeard wrote:

Preserve child size allows you to change the scale of the target without affecting the relative scale of the augmentation. Try changing the dimensions of your target in the dataset's XML file and the select Apply Dataset Properties from the Vuforia menu item. You'll notice that the augmentation scales w/ the target if this Preserve Child Size is not checked.

 

Does this only work with targets that have dataset XML's, so not with UDT?

Preserve Child Size for ImageTarget

September 25, 2014 - 7:06pm #3

This post is quite old. But could you please tell us what objective or in which cases this feature is useful?

Thank you.

Preserve Child Size for ImageTarget

September 25, 2014 - 11:10pm #2

Suppose you have just added an Image Target in your Unity scene (in the Uniy Editor) and the target size is, say, 100 x 100,  and suppose you have put a 3D model as a child of the Image Target (pretty much like in the Image Targets Sample of the Vuforia Samples distribution).

Now, suppose you want to change (for any reasons) the size of your target by editing the Dataset.XML file (e.g. want to make it 200 x 200, or twice as big); when you do that (as soon as you click in the Vuforia toolbar menu -> Apply Data Set Properties), what you'll see is that not only the target gets twice as large, but also the child 3D model becomes larger too (in fact, it will maintain its relative proportions with the parent).

There are certain cases where you don't want this to happen,  i..e you want the target to be twice as large, but you want to keep the original 3D model scale (i.e. you  do  not want the model to double its size);   you can obtain  this by using the Preserve Child Size option, as David explained.

 

 

Preserve Child Size for ImageTarget

April 19, 2017 - 2:18am #1

hello,I put a cube as a child of the Image Target.I haved checked the Preserve Child Size.But when I change the size of Image Taraget.The Cube's size is still changed.Please tell me how to handle it.

AttachmentSize
Image icon 1.png445.16 KB
Image icon 2.png584.15 KB
Log in or register to post comments