Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: textures confusing... flip u or invert image  (Read 10726 times)

gwald

  • Newbie
  • *
  • Posts: 8
  • Mike Garcia
    • View Profile
    • my gamedev blog
textures confusing... flip u or invert image
« on: March 29, 2019, 09:53:00 pm »

Hi guys,
I'm using texture tiles something like this and really need to know how to rotate textures, I see the invert image works (horizontally), but I also need a vertical flip and a combination of the two, is this a possible feature request or can it be done via a scripting? if so any tips? I saw Raxx's UVTools but that's overkill.
I'm not sure what flip u does, I couldn't see a difference.

Also, these settings are 'linked' to the image/texture, which means you have to reload the same image for each rotation combination, would be nice if these settings where moved up to material settings..

any thoughts? cheers.
Mike.

Also, I was hoping I could "stamp" textures on faces but it looks like it's using the whole object in the UV instead of the faces?
Ie in texturesprob.png a stamp would be using the textures UV mapped to the poly like on the right two.

Also the UV feature doesn't help with stamping as it's too delicate.. maybe I'm using it wrong though.
Anyway, I can still use anim8or, I can just read the material names and roll my own UV coords.


Was also raised here  in 2009 http://www.anim8or.com/smf/index.php/topic,1953.msg14329.html#msg14329
« Last Edit: March 30, 2019, 09:25:12 am by gwald »
Logged

gwald

  • Newbie
  • *
  • Posts: 8
  • Mike Garcia
    • View Profile
    • my gamedev blog
Re: textures confusing... flip u or invert image
« Reply #1 on: March 30, 2019, 07:23:36 pm »

I don't want to bump an old thread: http://www.anim8or.com/smf/index.php/topic,1953.msg14329.html#msg14329

Thanks floyd, but I think I didn't express correctly what I wanted...
In fact, I have a 1024x1024 texture with a 16x16 brick on it. What I really need is to map this texture on the wall by selecting polys and automatically tile-map the (u,v) coordinates of these polygons with no need to use more than 1 material (just to speed up things on my engine).
I don't know if it is possible with current anim8or version.

This is exactly what I was hoping to do, to some degree.. in anim8or also, and my 3DS engine also uses a single texture (tile map) :D

Tile-mapping isn't possible with any 3D CG program as far as I know.
Go to edit mode and select the polys you want to UV Map (put the tiling texture on), remember that Anim8or projects UV's onto the face from the current view so you should only UV Map the polys face on so you may have to repeat on every poly.

It's old and yes niche I guess.. very much like anim8or :D
It's an older way of doing 3D texturing sure.. but old doesn't mean bad, it's far easy and quicker then UV mapping everything.


And here are some that do it:

crocotile3d.com
[/youtube]

and a blender plug in:

https://chemikhazi.itch.io/sprytile
[/youtube]


And thanks to Mactetra for his reply and video on discord: https://discordapp.com/channels/428273476248272906/428274030781661204/561536420930519041
Quote
Not sure i understand what you are trying to do, but using the UV tool you should be able to rotate textures however you want. Hold outside the circle and drag
to flip the image, hold inside the circle, and position the yellow cube in the orientation you want the texture projected onto the mesh
if by being "too sensitive" you mean that the texture rotates in ways you don't want. you can grab the little dots along the line of the circle to only rotate along one axis
Or is the issue that this process is too tedious, and you want to automate it?

The problem (at least for me) is getting the UV correct,  it's just not precise enough, it's too easy to be a few pixels out, also you have to be 100% above the quad, I'm not sure if the f or F do that?

I'll keep experimenting...
« Last Edit: March 30, 2019, 07:37:08 pm by gwald »
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: textures confusing... flip u or invert image
« Reply #2 on: March 30, 2019, 08:22:54 pm »

A plugin could probably be written to expedite this process, but there aren't any UI capabilities for the Anim8or scripting language, so it's going to be clunky no matter what. At best it would be like my UVTools plugin except geared more towards tilemapping.
Logged