Adopt texture from face directly below
-
Hello.
I am in need of advice for a cruical step of a process. I am playing around with terrain that was divided by a BSP tree, meaning it has been subdivided for rendering. I am "undoing" this process by recreating it as it has created an insane amount of subdivisions. Have a look:
First, I determine the size of the original terrain tiles. Then I use the amazing "Drop Vertices" plugin. Now for the final piece of the puzzle, I would a like a quick way to grab the textures for each "tile" by raycasting down and then applying the texture of the polygon it intersects. I can of course do it by hand, but I have a lot of these and want to try to automate it as best as possible.
Firstly, are there any scripts that do something like this? Secondly, if not, is there a good example that will get me going where I need?
I am a programmer by profession so digging into Ruby shouldn't be impossible but if there is some script that does this already (or someone I can hire to write it), that would be better. Seriously happy to pay someone for their time.
Thank you.
Here are pictures that illustrate what I mean.
It needs to apply the texture from the bottom to the top.
Thank you for your time.
-
Eye dropper + don't make the trick in one click ?
-
adding the skp file would help us in suggesting workflows...
john
-
Hey guys, thanks for the quick replies.
The eye dropper and paint bucket tool work very well but only on large areas. The problem is that in the border between the sand and grass in this model, there are several other smaller textures. I can't really figure out a good camera angle or way to make both models visible so I can quickly and accurately copy the textures over. I can sample one texture and tile a number of them but really the issue is when there are many small variations like with the border I described.
Can you think of a better workflow or have any ideas?
Here is the sketchup file. The created terrain is above. The original is down below and the tile sizes should be exact.
Thanks
-
Looks like this might be a bit more complicated than I thought. Does anyone have any idea? Or, can anyone confirm that the idea I have for the script would work?
-
Have you try ThruPaint by Fredo6?
-
One way...
- Smooth edges
- scale old topo with Vertextools and scale factor 0
- combine textures
- make a projected texture
- assign to new topo faces
-
I you have not more the original image
View Top
Maybe I "Flat" (or not) the original Ground, hide Edges, Export 2D as "Image", Crop in 2D Prog
Flatten Vertices by Niall Campbell or more powerful : Drop Vertices by Tig(Scale 0,001 in Z make quasi the same and better for the aspect of the texture!
And use this image as texture projected on the Top? -
Thank you guys for the suggestions and replies. Unfortunately, I need the model to not have just 1 texture but to retain it's original tile texturing. Do I have any other options? Does Thrupaint have anything here that can help me? Is there any way I can paint through surfaces to all faces that are under the drop bucket tool?
Advertisement