Random Tiles
Random Tiles
Was just wondering... Ono's material http://www.indigorenderer.com/materials/materials/1182 which I copied the ISL from to use for random floor tiles http://www.indigorenderer.com/materials/materials/1222 - Can the ISL gurus change this code to offset the tiles by a certain amount, rather than just a regular grid? For example if the tiles could be offset by 1/2 a tile we could use this in conjunction with individual hi-res textures to create non-repeating brick walls, timber floor boards etc... This would work a bit like (I assume) the 'mighty tiles' plugin for 3ds max does. Just wondering because for us ArchViz'ers this would be pretty awesome...
Re: Random Tiles
Yup, it's very easy to offset by half a tile.
Re: Random Tiles
I think this is potentially pretty exciting... At the minute SketchUp users, such as myself, are stuck with having to make huge texture images in an attempt to avoid visible repetition. Brick in pparticular is a killer on any large building...f, it's not too much hassle and you get a minute to post the code, I'd be happy to have a play and post any useful results.
Re: Random Tiles
Here yo go:
- Attachments
-
- Random Parquet with offset.pigm
- (99.7 KiB) Downloaded 336 times
Re: Random Tiles
Right... I'm out of my depth here... I'm afraid I just don't know ISL at all...
I've managed to get the diffuse sort of working with 6 different maps, although some of the images are stretched / distorted for some reason... with non square tiles, we would want to just have the mirror on x & y and no rotation.
Also it would fantastic if the same sort of code could be used to link each randomly selected diffuse map to it's corresponding bump / exponent etc.
If anyone who actually knows what they're doing wants to have a go at this I think it has great potential. I've attached below individual diffuse and bump / exponents for anyone who fancies a crack at it...
I've managed to get the diffuse sort of working with 6 different maps, although some of the images are stretched / distorted for some reason... with non square tiles, we would want to just have the mirror on x & y and no rotation.
Also it would fantastic if the same sort of code could be used to link each randomly selected diffuse map to it's corresponding bump / exponent etc.
If anyone who actually knows what they're doing wants to have a go at this I think it has great potential. I've attached below individual diffuse and bump / exponents for anyone who fancies a crack at it...
Re: Random Tiles
Fantastic!!! As a sketchup user I think this is really very exciting! Thanks Ono!
Re: Random Tiles
Some of the diffuse maps still seem to be getting distorted, any idea what might be causing that?
edit
* sorry my fault, forgot to delete the old unpacked files... works fine!
edit
* sorry my fault, forgot to delete the old unpacked files... works fine!
Last edited by bubs on Thu Jun 05, 2014 12:37 am, edited 1 time in total.
Re: Random Tiles
Can you post a pic?
Works fine for me.
Works fine for me.
Re: Random Tiles
Hi bubs, can I upload this one to the MatDB?
Re: Random Tiles
It was really only a test, if you could drop in a similar piece of code for the exponent slot I'll sort this out with better maps and try for 10 or 12 variations. Then it's all yours!
Re: Random Tiles
Here's a version with an exponent shader as well:
- Attachments
-
- Random brick.pigm
- (3.24 MiB) Downloaded 321 times
Who is online
Users browsing this forum: No registered users and 29 guests