Agisoft Metashape

Agisoft Metashape => General => Topic started by: igor73 on February 13, 2014, 01:46:38 PM

Title: Shelling photoscans
Post by: igor73 on February 13, 2014, 01:46:38 PM
Hi,

I need to shell (hollow out) a few photosscanned models for 3d print.  The prints would be to expensive solid. One is a scan of a 10.000 year old skull and the other is cannon. Images captured under water.  The models are very detailed.  Around 1 millon faces.  The skull have many small extrusions and the cannon large nr of small details. 

I use Blender for modeling. Normally the solidify command works very well on hand modelled meshes.  But not on these.  There are details that are smaller then 1mm and if i set the thickness to anything more then 1mm lots of artifacts are introduced.  As these are archeological artifacts they need to be exact and not deformed in any way.  I need a wall thickness of 2-3mm. 

So i have tried Meshlab using the uniform mesh resampling filter.  This almost works but not quite yet. 

Are there any software that would work for me?  I have Netflabb basic but that does not have the shell feature.  The Pro version is 1500USD.  If it works it would be worth the money but with no trial version i am hesitating to buy it.  Lot of money wasted if it does not work. 

So have anyone tried Netflabb Pro on complex models with small details and found it worked?  Any other software that can do the trick? 

If anyone would like to help i could send you the files and you can have a go with them. Would be great if someone that has Netflabb pro could try if the shell command works on my models.  If so i can buy it without remorse. 



Title: Re: Shelling photoscans
Post by: Wishgranter on February 13, 2014, 03:18:16 PM
Hi Igor73

just send it to muzeumhb@gmail.com, can help with it, im dealing with hollowing on daily basis.....
Title: Re: Shelling photoscans
Post by: chrisd on February 13, 2014, 06:06:31 PM
I bought Netfabb Pro, and shelling does work very well.

You can also set the accuracy of the shell. So if you have a lot of surface variation, it can simplify the inside surface based on an amount that you choose.

Title: Re: Shelling photoscans
Post by: FoodMan on February 13, 2014, 07:28:57 PM
or.... at $375 you have

http://3d-coat.com/

it works very well for shelling as well.. import you model as voxel, shell it.. re-export your model as obj or fbx

voila 8)
Title: Re: Shelling photoscans
Post by: chrisd on February 13, 2014, 09:38:37 PM
That is good to know.

I've considered buying 3dcoat for the voxel functions, but I have been waiting to see how ZBrush moves along in this area since I already have a license. ZBrush calls their counterpart to voxels "Dynamesh" and while its not the same thing, there is some crossover in capability.

I think that when ZBrush goes 64 bit, the relatively low Dynamesh resolution will go up quite a bit.
Title: Re: Shelling photoscans
Post by: igor73 on February 13, 2014, 09:51:20 PM
Wishgranter,  thank you so much for offering assistance!.  Greatly appreciated.  I have been pulling my hair on this matter for a few days.   I will email  a download link.

 I would really like to know for future project how to do this though.   What software are you using? 

Netfabb also has a private version for only 300USD that has the shell function. Do you guys think it has the functions i need?   I am mainly after the shell function. 

 Chris D,  Do you think Netfabb could generate a shell for the attached model?   It is a picture  of an actual print that was printed solid.  I am worried it will go wrong on the small details such as the wooden branches and encrustations on the cannon. 

Does Netfabb destroy the UV mapping or is it kept intact?  I like to print in color so keeping the textures intact is important.  Pros- Cons 3d -coat vs Netfabb? 

Title: Re: Shelling photoscans
Post by: chadfx on February 13, 2014, 10:08:18 PM
I wound up using Mudbox to do some crude shelling by scaling down a smoother lores mesh and roughly shaping it to fit the irregular shapes I was printing. So I could leave some delicate parts more (or completely) solid, while still removing most of the main volume. I think I used Meshlab to do the boolean subtraction. Not the most precise method, but still saved quite a bit on the printing costs.

I haven't used Blender much, but possibly it's modelling tools would allow you to use a similar methodology.

Earlier I had tried using some filtering and other procedural recommendations all inside Meshlab, but it kept crashing and was difficult to predict how well it would work.

Cheers, -C
Title: Re: Shelling photoscans
Post by: igor73 on February 13, 2014, 10:20:57 PM
Stupid question from me about 3d coat vs Netflabb.  I did not realize that 3d coat was a full blown modeling program.  Checked out the video.  Looks like really interesting modeling tools!.  Will investigate further.  I do need a very fast and efficient method and i have already spent a lot of time learning Blender for my modeling needs.  Maybe the Netfabb approach seems easier?.  Just drag a few slider and then done'?
Title: Re: Shelling photoscans
Post by: Wishgranter on February 14, 2014, 12:45:03 AM
Hi Igor, im uploading results, but need a bit Q/A

Depend on what need to model, or clean up models, when need cleanup, its much better to use ZBRUSH......
Title: Re: Shelling photoscans
Post by: igor73 on February 14, 2014, 01:12:19 AM
Great news.  Looking forward to the result!    The skull had some disconnected faces.  What do your ever to with clean up?  Non manifold faces or just general cleanup such as removing disconnected faces and artifacts?   Guess i could do clean up pretty well with Blender and shell generation in Netfabb?

Are you you using Z brush for the entire workflow?  Obviously you  know this better then me so i am very interested in your opinions.  It is important to me to keep the work flow simple and time effective.Z brush is 795USD to.The private version of Netfabb 300 USD. 

 
Title: Re: Shelling photoscans
Post by: Wishgranter on February 14, 2014, 01:17:27 AM
Yes the Zbrush is much better for this sort of work..... see the email please....
Title: Re: Shelling photoscans
Post by: chrisd on February 14, 2014, 03:29:29 AM
Netfabb also has a private version for only 300USD that has the shell function. Do you guys think it has the functions i need?   I am mainly after the shell function. 

Chris D,  Do you think Netfabb could generate a shell for the attached model?   

Does Netfabb destroy the UV mapping or is it kept intact?

I have not used the Netfabb private version so I can't comment there. The shelling on the "Pro" version should handle the detail like the wooden branches and encrustations.

If the thickness of the shell exceeds the minimum dimensions of the detail, then the detail just gets filled in. (This is where other tools have problems, because the shelling can create intersecting surfaces.)

Any operation that adds or deletes vertices is going to destroy the UV's. This is true for any app. However some apps allow you to take the UV map from the original model and reproject it on the modified version. Unfortunately, Netfabb does not do this, at least in version 4, which I have. I don't know about version 5 ...?

I have seen some demos using Blender that show how to do this, but they used an open surface in both cases. I don't know how it would handle projecting it from a open surface to a shelled solid.

You would still need a modeling app in addition to Netfabb.
Title: Re: Shelling photoscans
Post by: igor73 on February 14, 2014, 04:02:32 AM
"Any operation that adds or deletes vertices is going to destroy the UV's. This is true for any app. However some apps allow you to take the UV map from the original model and reproject it on the modified version"

It should be possible to import the UV map exported by Photoscan i think.  When using obj files this is handled automatic in blender.  I have no idea if netfab messes this up.  Anyone know?  99%  of the time i will hollow out closed models.  Then this should not be a problen right?  The skull was a special case.   Don?t expect to run in to many of those type of objects. 

Title: Re: Shelling photoscans
Post by: chrisd on February 14, 2014, 08:30:20 AM
Netfabb v4 does not keep texture information, UVs, or vertex colors. I don't know if they have added support for this this in v5, but with the demand for 3d printing texture, it would be useful.

However, the downside to adding ability to use the color info now, in my understanding, is that 3d printing in color currently is not using ANY standard for how the color is defined. I don't believe it is possible to make one color file that will print on every color 3d printer without conversion to a different format on some systems.
 
Title: Re: Shelling photoscans
Post by: FoodMan on February 14, 2014, 12:01:33 PM
yes in 3D coat, after voxelization, UV are destroyed... but it's not a problem... you just re-import the Hollowed model in Pscan and redo a texturing.. voila..  ;)
Title: Re: Shelling photoscans
Post by: Wishgranter on February 14, 2014, 12:44:52 PM
Hi All, Geomagic is perfect tool for the hollowing of textured parts, its "easy", when the mesh is "clean, without any problems. For the skull i need approx 1 hour, to clean problems there, normally when is the mesh prepared, i get it under 10 minutes...... With all UVs and  vertex colors other stuff, even when need to delete few problematic areas....


There is way to do it even in Zbrush, as we have tested, but you have not the precise control about the shell thickness.... and it need a bit knowledge of the Zbrush sw 

It took me few day to get it working with Geomagic shell commands, as there can be problems when the mesh is not absolutely clean from errors in mesh. - as i asked few months back

Have used the Zcorp 3D 3DEDIT Pro, but it has problems with larger or "complicated" meshes, so sometimes we could not make hollow models there.....

Title: Re: Shelling photoscans
Post by: chrisd on February 14, 2014, 09:57:31 PM
wishgranter,

Are you indicating Geomagic can handle repairing & shelling without destroying UVs or other texture info?

When the shell is created, where is the color coming from  ... nearest points?
Title: Re: Shelling photoscans
Post by: igor73 on February 14, 2014, 10:49:26 PM
" but it's not a problem... you just re-import the Hollowed model in Pscan and redo a texturing.. voila.. "

Sounds like a good approach.  Will try this. 
Title: Re: Shelling photoscans
Post by: Wishgranter on February 15, 2014, 12:19:36 AM
Hi chris, if want upload model and can show it, its how they do the internall parts..... Will be back in office in 4 days.......
Title: Re: Shelling photoscans
Post by: chrisd on February 15, 2014, 05:00:18 AM
Hi chris, if want upload model and can show it, its how they do the internall parts..... Will be back in office in 4 days.......

Not necessary to upload a file ... I'm taking a class in Geomagic next week, so I will probably learn how to do it there.

thanks
 
Title: Re: Shelling photoscans
Post by: scanlab.ca on February 19, 2014, 07:52:13 PM
Hey there Igor,

The way we do it here at Scanlab is through zBrush.

1. Import your model
2. Duplicate the tool
3. Dynomesh the duplicate to 128 or something low
4. Deflate the duplicate to -6 or whatever works in your case.

5. Dynomesh the original tool
6. Merge Down the two tools
7. PolyGroups - Auto Group the new combined tool by continuity
8. Isolate and make visible only the inner Group(the one that's gonna be used as a boolean object)
9. PolyGroups - Group As Dynamesh Sub
10. Make the whole tool visible and Dynomesh again at required resolution.


Done.
Title: Re: Shelling photoscans
Post by: EMULAT3D on February 19, 2014, 09:09:00 PM
Great tutorial Ruslan!

Have you guys seen this tutorial?:
http://www.youtube.com/watch?v=TFgbGN_VphY

Thanks!
Title: Re: Shelling photoscans
Post by: scanlab.ca on February 19, 2014, 09:36:17 PM
Oh cool!

I did not see the video, but was thinking of recording something similar.

Thanks for posting this EMULAT3D!
Title: Re: Shelling photoscans
Post by: igor73 on February 19, 2014, 10:54:44 PM
Thanks  Scanlab. Don?t have Z brush but might look in to buying it. It is at an OK prize point compared to Maya and others.   Herd lots of great stuff about it.  Is it mostly a sculpturing modeling program or is good for hard surface modeling to?  Good render engine, animation tools? 

Cinema 4D looks really interesting to, Don?t know if it has any shelling features though. 
Title: Re: Shelling photoscans
Post by: scanlab.ca on February 19, 2014, 11:40:52 PM
Thanks  Scanlab. Don?t have Z brush but might look in to buying it. It is at an OK prize point compared to Maya and others.   Herd lots of great stuff about it.  Is it mostly a sculpturing modeling program or is good for hard surface modeling to?  Good render engine, animation tools? 

Cinema 4D looks really interesting to, Don?t know if it has any shelling features though.

zBrush is mostly used for organic stuff.
Hard surfaces are also doable in zBrush, but I would use other, better tools for accuracy critical projects. It does have a good render engine, but is not an animation package.

I don't know much about Cinema 4D though.
Title: Re: Shelling photoscans
Post by: chadfx on February 20, 2014, 08:26:59 PM
It looks like Meshmixer was updated recently, with some improved tools that could help for shelling and overall prep for 3D printing:

http://meshmixer.com/forum/index.php?topic=1659.msg3399#msg3399
Title: Re: Shelling photoscans
Post by: scanlab.ca on February 21, 2014, 05:50:45 AM
Oh, nice! I was wondering where this one went, remember it from Siggraph2011.
Title: Re: Shelling photoscans
Post by: igor73 on February 22, 2014, 01:24:37 AM
Chadfx.  thank?s for the tip.  Downloading now. 
Title: Re: Shelling photoscans
Post by: igor73 on February 22, 2014, 01:44:51 AM
Shelling  tutorial http://www.youtube.com/watch?v=ILKspBZjSDM&feature=c4-overview&list=UU0OsvzcGE6iqSP8lW3-M9Dg

Haven?t tried it yet but looks very promising.   For those of you that do not use a mododeling program it seems it has some easy to use sculpt tools for basic clean up to.