Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Claude

Pages: [1] 2
1
General / Re: Regions Alignment
« on: February 06, 2015, 03:37:29 PM »
I've jut copy your code and save as box.py. Run script and nothing. Next past this code in consol.
I know nothing about coding so for me is like magic.
I need very much this script. What I could do wrong? How I shoud use this script?

Best

2
General / Re: Regions Alignment
« on: February 06, 2015, 01:26:23 PM »
I don't know what I doing wring. When I run from file nothing appear in console. When I put in in console and hit enter apear this:

  File "<console>", line 1
    import PhotoScan

doc = PhotoScan.app.document
chunk = doc.chunks[0]
region = chunk.region


T0 = chunk.transform.matrix

R0 = region.rot
C0 = region.center
s0 = region.size

chunk = doc.chunks[1]


T = chunk.transform.matrix.inv() * T0
       
R = PhotoScan.Matrix( [[T[0,0],T[0,1],T[0,2]], [T[1,0],T[1,1],T[1,2]], [T[2,0],T[2,1],T[2,2]]])
   
scale = R.row(0).norm()
R = R * (1/scale)
       
region.rot = R * R0
c = T.mulp(C0)
region.center = c
region.size = s0 * scale / 1.
       
chunk.region = region
                   

       ^
SyntaxError: invalid character in identifier

3
General / Re: Regions Alignment
« on: February 05, 2015, 11:18:07 PM »
Hello,
Please would you update this script for new API. It desn't work in newest version of agisoft.

Best wishes

4
Face and Body Scanning / Re: Canon 100D vs 600D
« on: August 21, 2014, 12:38:38 AM »
Thanks for reply Magnus!
I have seen that some guys bought this cameras. I think I will do it also. I afraid of kit lenses, probably I will buy standard Canon EF 50MM 1.8II - quite good price. Shutter lag is a bit smaller in 100D.

I hope that newer means better.

Any other advice?

Best Regards

5
Face and Body Scanning / Canon 100D vs 600D
« on: August 20, 2014, 01:58:54 PM »
Hallo guys

Soon I will upgrade my rig and I thinking what kind of camera buy nowadays. Few month ago I wanted buy old Canon 600D but now I thinking about newer Canon 100D.

What do you thing guys?


Thanks for help!
Best Regards Claude

6
Face and Body Scanning / Re: moving mesh inside Agisoft PhotoScan Pro
« on: June 20, 2014, 06:48:38 PM »

I tried few times do it but after import cameras to agisoft cameras are in very distant wrong position. I do something wrong, but I don't know what.
I copy
<transform>1.4535398781299591e-001 -8.4727078676223755e-001 -9.5061463117599487e-001 1.0651415039062500e+004 1.2526946067810059e+000 2.6695787906646729e-001 -4.6392451971769333e-002 1.9347880859375000e+004 2.2867216169834137e-001 -9.2386651039123535e-001 8.5839575529098511e-001 -1.0023635742187500e+004 0.0000000000000000e+000 0.0000000000000000e+000 0.0000000000000000e+000 1.0000000000000000e+000</transform>

past on
in orginal xml file where was
<transform>9.8857689535876303e-001 1.5034484634082798e-001 1.0590049177519024e-002 -2.0465390763710439e-001 7.2704452685543042e-002 -4.1415184985272741e-001 -9.0729945873634221e-001 4.4242032606167578e+000 -1.3202190925193091e-001 8.9770522580762380e-001 -4.2035168970179976e-001 6.0012348653741681e+000 0.0000000000000000e+000 0.0000000000000000e+000 0.0000000000000000e+000 1.0000000000000000e+000</transform>

from new_cam.txt to xml file

What I do wrong?

claude,
you have to edit the original xml file with a text editor and replace each line of the camera transforms matrices by the new ones included in the new_cams.txt
be careful to replace the correct camera transform line

7
Face and Body Scanning / UltraHigh and holes in ears
« on: June 10, 2014, 03:28:46 PM »
Hi,

I like Ultra high quality of scans but it does holes in some areas like ears.
Look at attached image, with High quality the is no holes.

There is some way to fix it?

Claude

8
Face and Body Scanning / Re: moving mesh inside Agisoft PhotoScan Pro
« on: June 04, 2014, 11:45:11 AM »
claude,
export you low resolution model in FBX format to have cameras in your scene
after moving and scaling, you can then export the camera transform matrices with the attached script

Thank you very much. I just searching how to export xml camera from 3d max!

I get new_cams.txt but I can't import it to agisoft. I tried to change txt to xml but it doesn't work.

9
Face and Body Scanning / Re: moving mesh inside Agisoft PhotoScan Pro
« on: June 03, 2014, 02:55:00 PM »
Thanks FLuca and Alexey

I will try this trick with exporting camera to 3d max.

Best Regards Claude

10
Face and Body Scanning / Re: moving mesh inside Agisoft PhotoScan Pro
« on: June 02, 2014, 06:57:14 PM »
Hej Alex

Yes I scale models using mesure, and I orient meshes using rotate tool.
But I don't have method to offset it in space. I tried to do it during export using Shift option, but it not always work, and it not possible use this Shift in Bach.
How to  apply translation vector?


11
Face and Body Scanning / Re: moving mesh inside Agisoft PhotoScan Pro
« on: June 02, 2014, 05:39:06 PM »
I have fixed camera rig and consistent file convention.

I use camera matching to match multiple scans. But I don't know how move all those scans in 3d space. I would like to move scanned heads up in y axis on 170 cm to match character in zbrush.

This is possible?

12
Face and Body Scanning / Re: moving mesh inside Agisoft PhotoScan Pro
« on: June 02, 2014, 05:01:56 PM »
Hello Alex

I would like to move whole scene to match position of scan head to head in 3d application.
I found very tedious work with multiple scans of face expression. If I will set up position of meshes in Agisoft it will speed up my work.

Thank you for answer.

13
Face and Body Scanning / moving mesh inside Agisoft PhotoScan Pro
« on: June 02, 2014, 04:54:36 PM »
Hello,

I couldn't find this information on forum.

I would like to have possibility to move mesh in certain place in scene.

I have Pro licence so maybe scripting is solution.

Thanks for reply in advance.
Greetings Claude

14
General / Re: differ brightness of the lenses
« on: November 15, 2013, 06:02:42 PM »
Hi,

Yes I was switching lenses a lot and always specific lenses are darker. The body has nothing to do with this problem.

Yes I use flesh light but I don't think it have make difference in this case. I swith lenses few times and I know that lenses has this problem.

Any suggestion?

15
General / differ brightness of the lenses
« on: November 14, 2013, 02:12:06 PM »
Hello,

I have 12 nikkor 50mm lenses and I notice that 3 of them give darker images than others.
Fist I thought that is some defect of lenses but almost half of lenses are a bit different than others.

I didn't notice big problem with mesh generation. I am not sure if it is defect or normal variable in brightness of lenses. I don't know if Nikon service will want to repair or replace my darker lensses with more average lenses.

The most important I wonder if it have influence on quality of mesh generation?

What do you think about it?

Pages: [1] 2