MoI discussion forum
MoI discussion forum

Full Version: Images in the Object Library

Show messages: All  1-9  10-13

From: BurrMan
11 Aug   [#10] In reply to [#9]
I fooled around with it a bit....

Changing the resolution of the created png file didnt change the behavior you are after

Changing the zoom factor seems to control it better

I found a setting of "2.0" to work as you asked

The line:

...........
vp.zoom(2.0);
...............

With that said, I have no idea what that means
From: fcwilt
11 Aug   [#11] In reply to [#8]
Hey BurrMan,

You provided the solution.

Making sure the image ratio is 5:4 (400 divided by 320) and the image comes out nicely centered.

And Windows (I think it is part of Windows) happens to have a tool which allows adjusting an image to exactly 5:4.

Thanks.

Frederick
From: Michael Gibson
11 Aug   [#12] In reply to [#6]
Hi Frederick,

re:
> The great thing is when you pick a part to use, it appears ready to adjust it's orientation
> to whatever surface you need, at whatever point you need it.

That's using the ImportPart command, you can run it by right clicking on File > Import.

- Michael
From: fcwilt
12 Aug   [#13] In reply to [#12]
Hi Michael.

Good to know.

Before encountering that feature in the Object Library, I was importing parts and messing around with aligning them using move/rotate which was tedious.

Frederick

Show messages: All  1-9  10-13