2023-09-29 05:16 PM - last edited on 2024-10-30 01:21 AM by Laszlo Nagy
Can we have a conversation about this? Seems like it's been an issue for over 10 years with no obvious answers to fix.
I am using AC25 library doors (In AC25 Solo), one pocket, one hinged -- both doors have the texture rotated 90 degrees.
Also same behaviour for architrave - texture runs perpendicular to material direction.
My room has vertical timber acoustic panelling for which I have set up custom surface, material and composites for walls; however, when I apply the surface to my doors, it displays perpendicular to the walls.
As others have said before, yes, I could setup a duplicate surface and rotate it 90 degrees, but is this really the best solution to this issue? What am I missing?
Thanks
Marcus
2024-01-03 11:24 AM
On many of the building elements, like walls, slabs etc, you can align the texture in a custom orientation. Got to document>creative imaging>align 3d-texture. Unfortunately there are limitations and the behaviour is different for different tools. The morph tool is the easiest to map and the column tool is the worst. If you try to make a wooden beam and a wooden column and intend to use the same material (since both are wood!) you need to alter the texture rotation in the material settings so that it fits the column. Then you have to select all beams and rotate the texture by using the "align texture" command.
If you after that want to apply the same material to an object, door or window, you might have problems with the direction again. It is funny because making a parameter in the gdl-script that lets the user rotate or translate the texture is very easy! I wonder why GS don't go through their library and add this feature to all scripted objects. I script many objects myself and I also copy objects from the standard library and add extra features to them. When I do that I always add the ability to rotate the texture.
2024-01-03 12:37 PM
Thanks Karl - I will look into the document>creative imaging>align 3d-texture function in more detail.
I wonder if I can get your details - being able to script objects is a useful skill and knowing someone who can would be excellent - I'm sure I would like to commission a few objects in the future if this would be of interest?
Thanks again,
Marcus
2024-10-25 06:37 PM
Im having the same issue as described:
I have corrugated metal walls and the texture is applied vertically by default. I then applied it to a door which i want as continous material and orientation and it simply rotates the texture on the door. Using the option "align 3d-texture" is impossible cause its greyed out, even after accessing that menu with that specific door selected.
2024-10-26 08:43 AM
Align 3D texture does not work for objects (doors).
The only solution is to create a duplicate material rotated 90° as explained earlier.
Unless the door object has an option to rotate the material (but i doubt that).
Barry.
2024-10-28 02:29 AM
Time to make a wish for this if it hasn’t already be done yet.
2024-10-28 02:36 AM - edited 2024-10-28 02:38 AM
Would be surpised if there isn't already a wish carried over from the old forum since this has been an issue for a long time...
Wish: 12472
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2024-10-28 02:38 AM
I would think the old forum would be forgotten by now lol !
2024-10-28 03:21 AM - edited 2024-10-28 03:21 AM
I am not sure it is a problem with the door itself - although it would be nice if there was an option to rotate the materials.
And the frame material orientation certainly need fixing.
But if you look at a roof and a wall, the texture maps correctly.
A slab on the other hand, the sides are vertical (as would be expected) but I would think that a vertical material on a slab would run vertically in plan.Not like this.
As door leafs are scripted from PRISMs (basically slabs), it seems they are following the same principles.
Fix the slab orientation (probably too late now after all these years) and the door problem would be fixed as well.
The doors could be scripted with a material rotated in the correct way, and it could also be offered as a parameter that the user can set.
Barry.
2024-10-28 04:35 AM
Never thought of that, so it is the box mapping that AC uses and how it rotates the axis for door panels...
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2024-10-28 06:45 AM - last edited on 2024-10-30 01:25 AM by Laszlo Nagy
from memory this bit of code changes the pattern to vertical for doors/windows....
MAT = materialAttribute_1
!----MY DOOR PANEL HERE
CPRISM_{3} mat, mat, mat, mask,
5, 1,
0, 0, 0, 15, mat,
1, 0, 0, 15, mat,
1, 1, 0, 15, mat,
0, 1, 0, 15, mat,
0, 0, 0, -1, mat
!----MY DOOR PANEL HERE
!----FIX THE MAPPING FOR DOORS
BASE
vert 0, 0, 0 !#1
vert 0, 0, 1 !#2
vert 1, 0, 0 !#3
vert 0, 1, 0 !#4
coor 2, -1, -2, -3, -4
BODY 1
!----FIX THE MAPPING FOR DOORS
anything saved as a library part door adds the "coors" lines for you.
and the door leafs do have code for it, but it looks like someone made a mistake