Jump to content

Auto Texture Tiling


Recommended Posts

Hi all,

Been playing in the hdk again, and have a first effort at an auto texture tiler.

It comes from a paper by Petr Somol and Michal Haindl

Novel Path Search Algorithm for Image Stitching and

Advanced Texture Tiling

I can't remember where I found the paper it was in siggraph, I'm sure a google search will turn it up if you are interested.

Things yet to do are:

1. At the moment it tiles only in X, fairly trivial to extend it to Y too, just need the time.

2. Add blending funtion for areas that a good auto solution can't be found.

3. Extend to create families of tiles that remove obvious tiling patterns.

Here's the first test file, compiled for H8.0.487 source included as always.

It seems to work in H8.0.410 too so it probably works in a few production releases.

TextureTiler_release.zip

It takes a few seconds to cook so be patient.

If you play with it please note turning up the Max step size beyond 2 will slow it down a lot! and the result won't change much. Turning it down to 1 makes it very quick but then you get artifacts.

This is the result from just cropping and tiling

post-509-1138471008_thumb.jpg

And this is the result after applying the stitching algorithm

post-509-1138471043_thumb.jpg

Not bad eh?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...