Extracting texture from curved building photo???
-
Hi there. I am trying to build the capital of my state for GoogleEarth.
Ive already done 18 models. But I am having problems creating models for buildings which have CURVED FAÇADES!!!
The match photo feature hardly works for matching a model to the photo (specially on buildings with curved façades), and building the curved façade while on Photomatch is near impossible... photomatch works only with straight façades.
Thus, I have the building model completed. Now, I need to extract the texture from a photo and apply it to the building.
But HOW TO DO IT, for the curved façade??? You can remove perspective using photoshop and have a straight texture to apply to flat surface, but how to remove the curvature from the photo, to apply again into the model???
these are the photos... how to extract the texture from the curved façade??
-
I'm not sure how he did it, but look at the curved texture process on these fantastic locomotives
http://forums.sketchucation.com/viewtopic.php?f=81&t=18169&st=0&sk=t&sd=a&start=45#p171629
I would like to see this "pelting" process.
Also, I think it was "Urgen" made great models of food containers along with many other items. Many were curved. I would suspect the same method used for a soup can would work for a curved building.
Sorry I'm not much help but might be a start for you.
-
-
Another possible way is to use SketchUp itself. You could construct the building using PhotoMatch, then either leave the reference shot as the texture for the curved section or, alternately, switch to parallel projection then take a render of the curved section and use that. I've done a very quick one, in which the perspective guides weren't quite right (mostly because of the lack of a visible horizon)...so the image is still slightly curved...but you can see it's a lot less curved than on the original. It's almost there.
-
@urgen said:
wow, what I wanted in fact is how you used the warp in photoshop to flat it out!!! Can you record a video showing you using Photoshop to make that retangular texture?
-
Place a rectangular selection over the whole of the curved part of the building.
Set up guides to mark out the 4 sides of the intended flattened, rectangular image.
Go to Edit > Transform > Warp and use the control handles on the grid to drag the edges of the curved area roughly into position.
Set up as many extra guides as you need to straighten the intermediate rows of windows by dragging the appropriate square in the right direction.You can apply the transformation, then apply a new rectangular selection and go through the whole routine as many times as you need to fine tune the end result.
-
@alan fraser said:
Place a rectangular selection over the whole of the curved part of the building.
Set up guides to mark out the 4 sides of the intended flattened, rectangular image.
Go to Edit > Transform > Warp and use the control handles on the grid to drag the edges of the curved area roughly into position.
Set up as many extra guides as you need to straighten the intermediate rows of windows by dragging the appropriate square in the right direction.You can apply the transformation, then apply a new rectangular selection and go through the whole routine as many times as you need to fine tune the end result.
in other words, its a PAIN IN THE ASS
I wonder why there isnt a tool in Photoshop that does a perspective crop already including tools for curved surfaces...
-
@unknownuser said:
A few links to programs you have used would be very helpful.
Autodesk is a commercial widely used and Grass is open source but some complicated to learn.
You can find some resources here:
http://www.agc.army.mil/gis/
http://www.mapcruzin.com/free_gis.htm -
There are some specific programs to do that. Probably you are on PC and I'm mac user but specially many photo-stitching softwares have the hability to correct linear and non linear perspectives automatically. The Photoshop method described above is OK too but with a little more of hand work.
You can take a look at some topographic GIS software too. There are a lot of open source programs to make orthographical corrections to aerial photos and perspectives that needs to play with earth curvature and camera views like you described so may be capable to transform cilindrical distortions. In fact, Google needs this kind of programs to construct most of their 3d maps. If you will need to replicate this process many times I think it could be a good solution as you can even process many buildings at the same time.
Advertisement