We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

JPG image applied to a Fasuma door displays improperly

Hubert Wagner
Participant
Hello:

The JPG is 400 pixels wide by 800. The door is 90 cm wide by 180.
AC texture is set as follows:
Width = 90, Height = 180
Sample frequency is 1 x 1
However, the image is displayed 4 x 4 although only part of each image is shown.

How do I display a 1 x 1 image scaled to the door size?

Thanks: Douglas Wagner
12 REPLIES 12
Djordje
Virtuoso
Douglas wrote:
I've created a wall 90 x 180 cm, same as the Fasuma door. The image displays correctly. (The original image is 90 x 180 pixels. I don't know if this coincident sizing is significant).
It very much is. Use the pixels as your working units - like you did in mapping - and the map will come in at exact size.
Djordje



ArchiCAD since 4.55 ... 1995
HP Omen
Hubert Wagner
Participant
Hello Djordje:

Thanks for your response.

The fusuma door measures 92 x 180. The paper area, the part to be imaged, measures 86 x 174, i.e the door, less the 4 cm frame plus a 1 cm overlap all round. ("material" is set in the sub-routine which draws the paper part of the door).

The JPG is 86 x 174, and I've set the image size in the materials dialog to the same dimensions.

I've set the origin to the top-left and the bottom-right corner of the door by clicking on the edge of the paper area and on the 3D handle. And I've set the origin Z = +30 cm. Little effect.

AC still displays the image 4 x 4. However, after resetting the image size more precisely, the origin has shifted a few cm to the left. Please see the attached image.

What are we missing here?

Douglas Wagner
Anonymous
Not applicable
douglas

if you want to code it into the object this is what i would do:

use the 'picture' gdl command in the 3d script to create the paper panels

if you do this you don't have to worry about pixels n stuff

the gdl 'picture' will centre the image and resize the image to the size of the panel

eg

Picture Fasuma,width,height,4

hope that makes sense

bill