- This topic has 9 replies, 3 voices, and was last updated 10 months, 3 weeks ago by Ben.
-
AuthorPosts
-
2024-01-29 at 4:22 pm #69999BenCustomer
Apologies if this has been asked before – can’t quite find the answer I’m looking for!
I’m trying to create a large area of floor tiles, using puzzles to somehow duplicate a source mesh many times. I need the number of rows/columns to be editable by a user, as well as the size of the tiles.
Is there a solution using puzzles? I began using the clone object puzzle but I’m not sure if this would be an efficient way to do it (is there a way to instance meshes instead maybe?)
To make things more complicated I need to be able to flip every other tile so that they form a kind of book-matched pattern (see image attached).
Any help or thoughts would be greatly appreciated
Thanks
Attachments:
You must be logged in to view attached files.2024-01-29 at 4:34 pm #70001kdvParticipantto create a 2D array of clones see the puzzles of this demo
https://cdn.soft8soft.com/demo/blender/clone_object/clone_object.html
A bit of additional logic will allow you to rotate tiles in every even raw.Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-01-29 at 5:25 pm #70003xeonCustomerGiven this is a tile. Perhaps just create controls for a UV map and not worry about the geo?
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-01-29 at 5:31 pm #70004kdvParticipantUV map controlling won’t allow to combine two neighbouring tiles.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-01-29 at 6:45 pm #70009xeonCustomerStill don’t see the point in trying to flip tiles. A large map with the tiles already flipped as needed in one large texture. Unless you need to allow a user to flip an individual tile having one odd tile in the mix. If you want the user to adjust the orientation of a specific tile, you would just shift the UV the tile width and all other tiles would change with it. But perhaps I don’t fully understand the ask.
KDV sent you an email. Let me know if you are interested.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-01-29 at 7:33 pm #70010kdvParticipantXeon, no letters from you today
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-01-29 at 8:29 pm #70011xeonCustomergo back a few days….sending again now.
Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2024-01-31 at 2:47 pm #70046BenCustomerThanks v much for the info. In the end I used the clone puzzle based on the link kdv sent and the tiles are flipped where needed by inverting scale on x/y axes. The repeated uv approach maybe could have worked but I ended up needing to specify a dynamic gap between tiles, so physical polys were easier to manage. Thanks again
2024-01-31 at 2:56 pm #70047kdvParticipantthe tiles are flipped where needed by inverting scale on x/y axes
If those tiles are simmetrical it’s better rotate them by 180 in their local coordinates (change local rotation) instead of flipping scale. Negative scale is not a good approach in any 3D software )))
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-01-31 at 3:02 pm #70048BenCustomerYeah I agree, but unfortunately they’re not symmetrical. I was actually surprised the tops weren’t flipped to backfacing polys when I inverted on one axis. Verge must handle things a little differently (definitely not complaining in this case).
You’re right though I’ll need to keep an eye out for any odd rendering etc going forward..
-
AuthorPosts
- You must be logged in to reply to this topic.