Code de rotation des textures

Archives of technical help for Cubik LITE and Cubik PRO

Now help is given on Cubik Studio forum: https://cubik.studio
Locked
User avatar
5 Posts
 x 0

Post 19 Mar 2014, 17:38

I'm french and google translate its my friend x_x
Sorry, guys :-/

Salutation Sphax, déja merci pour se super outil qu'est BDcraft Cubik :3
Cependant, j'ai remarqué qu'il manqué une fonctionnalités trés utile, la rotation de la texture

Code: Select all

        },
        "east": {
            "uv": [ 0, 0, 16, 16 ],
            "rotation": 90,
            "textureFacing": "east",
            "cull": false
        }
Image
Le cube de droite est normal et celui de gauche utilise le code de rotation
Les deux cube utilise les mémes textures

Show
Autre exemple, la méme zone a était sélectionné

sans

Image

avec

Image
User avatar
BDcraft Admin
2180 Posts
 x 13

Post 19 Mar 2014, 18:04

Non, ça ne manque pas, il faut faire un click droit sur la face dans l'UV Mapping Editor et sélectionner "Rotation +90°" ou "Rotation -90°". ;)

Par contre j'avoue ne pas encore avoir beaucoup tester la fonctionnalité, c'est une des dernières que j'ai ajouté avant la release donc ça peut être buggué...



No this feature isn't missing. You just need to Right Click on a face in the UV Mapping Editor and select "Rotation +90°" or "Rotation -90°". ;)

However, I've not tested a lot this feature, this is one of the last I added before release, so it can be bugged...
If you like a post give it a diamond! :arrow_heading_up:
Have you tried Cubik?
User avatar
2 Posts
 x 0

Post 19 Mar 2014, 18:39

Sphax wrote:No this feature isn't missing. You just need to Right Click on a face in the UV Mapping Editor and select "Rotation +90°" or "Rotation -90°". ;)

However, I've not tested a lot this feature, this is one of the last I added before release, so it can be bugged...
I don't really know how to explain it but I've noticed that when you use the rotate option it maps using the coordinates of the rotated texture instead of the normal. Like it rotates the image and takes the coordinates of of that instead of taking the coordinates and then applying rotation. Does that make sense? :-/
User avatar
BDcraft Admin
2180 Posts
 x 13

Post 19 Mar 2014, 18:45

Ho yes, that makes sense.
I'll fix that for the first update.
If you like a post give it a diamond! :arrow_heading_up:
Have you tried Cubik?
Locked