Forum

Author Topic: Texturing Problem  (Read 14201 times)

zhr69

  • Newbie
  • *
  • Posts: 12
    • View Profile
Texturing Problem
« on: February 25, 2015, 08:47:35 AM »
I am a newbie in Photo scan. I want to model an untextured object. So, I coated it with a spray. The constructed model is good but I don't know how can I get the original texture?

I've used one camera to capture photos using turn table solution. So I can't get two photos in each angle (with and without spray) to replace clear photos before texturing step.

Can anyone help me to solve this problem?

driftertravel

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: Texturing Problem
« Reply #1 on: February 26, 2015, 06:45:16 AM »
This is going to be rather hard. There are exactly three ways to go about it I can think of.

1. Make marks on your turntable at the increments you want to take your photos (15 degrees or so). Then take a set of photos at those increments with and without the spray, use the spray textures to build the cloud and then use the un-sprayed photos to build the texture. Photoscan can only build textures based on what you give it, so realistically there is not a good way to do this.

2. Take a set of sprayed and un-sprayed photos, doesn't matter how close the angles are. Build the mesh using the sprayed ones. Build another mesh using the un-sprayed ones, doesn't matter if it's not very good. Use a program like Wrap to align the models. Project the good texture set onto the good model that has been realigned in space to match the right set of images.
 
2. (the easiest way) Just texture the model the old fashioned way using projection painting from a new set of photos in zbrush, mudbox or mari or whatever. This way you don't have to worry about slight differences in the angle of the photos.

Kiesel

  • Sr. Member
  • ****
  • Posts: 332
    • View Profile
Re: Texturing Problem
« Reply #2 on: February 26, 2015, 11:49:50 PM »
Additional to the answer off triftertravel:

1. A (motor driven) turntable with fixed steps/stops for Photo shooting to work with both sets of photos for mesh/texture within PhotoScan.

2. Not shure if this is working for your photo sets, but nevertheless have a look at the meshlab tutorial "Color Projection: Mutual Information, Basic"
https://www.youtube.com/watch?v=Pv6_qFIr7gs

Karsten

bigben

  • Sr. Member
  • ****
  • Posts: 406
    • View Profile
Re: Texturing Problem
« Reply #3 on: February 27, 2015, 02:19:45 AM »
An alternative to 2. to try.   Export both meshes, align the sprayed mesh to the unsprayed mesh in Meshlab, then import the aligned mesh into the unsprayed Photoscan project and run the texture generation...

zhr69

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Texturing Problem
« Reply #4 on: February 28, 2015, 10:20:57 AM »
So thanks for your replies. I'll try the mentioned solutions and let you know the results.

zhr69

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Texturing Problem
« Reply #5 on: March 03, 2015, 06:47:19 PM »
Hi friends,

I've tested Meshlab to align two meshes (sprayed and unsprayed). I've problem with bad mesh of unsprayed one.
1- I couldn't align them correctly.
2- Due to high  noise of unsprayed mesh the result of alignment is bad too.

Would you please guide me more? I've attached some snap shot of my work.

driftertravel

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: Texturing Problem
« Reply #6 on: March 04, 2015, 06:23:36 AM »
Try a demo of Wrap

http://www.russian3dscanner.com/

See what that does for you. You'll have to read up , but basically use the align function instead of the wrap function. I've had good luck with it, but you're right, the shiny scan isn't helping. One thing you can do is try to clean up the point cloud before making it into a model. Meshlab has some tools for this I think. Otherwise, I've been using cross-polarized light and it works wonders on shiny objects, but it requires special lights and a blackout studio, so it might be extreme for your uses. Check out the difference in the attached photo. Left is just with a polarized lens, right is cross polarized lighting. Plus it's a ninja turtle.

zhr69

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Texturing Problem
« Reply #7 on: March 07, 2015, 07:12:50 AM »
Thanks for your comments and solutions. I'm trying photoscans' alignment too.