Home »  » General Discussion » Starting simple with color but failing
Search Search  
Show: Today's Messages    Show Polls    Message Navigator
Starting simple with color but failing [message #34450] Sat, 17 September 2011 13:32 UTC Go to next message
avatar CristobalGordo  is currently offline CristobalGordo
Messages: 79
Registered: July 2010
Go to all my models
Member

I just wanted to upload a test color model- nothing complicated, no textures or anything. I imported an x3d model into meshlab, sprayed some color on it with zbrush then saved it as an x3d model. I got the rescaling problem that they warned us about so I shrunk it down by a thousand and it uploaded fine. Problem is, the color doesn't show up in the preview window. So is it colored or not? I tried other things- zipping it before uploading, making sure the faces were colored not just the vertices in meshlab. I'm probably missing something in meshlab.

All I want to do is import a nice mesh into meshlab, throw a little color on it, upload it as a colored model, and see it with my own two eyeballs colored on my "my designs" page. I have to go this route because my CAD program doesn't export x3d or vrml2. Any insights? Thanks.
Re: Starting simple with color but failing [message #34457 is a reply to message #34450 ] Sat, 17 September 2011 14:45 UTC Go to previous messageGo to next message
avatar stop4stuff  is currently offline stop4stuff
Messages: 3109
Registered: June 2010
Go to my shop
Senior Member
aeron203 created a tutorial specifically for sketchup & meshlab, but the meshlab portion & file editing section should work out ok for you.
see; http://www.shapeways.com/tutorials/textured_models_with_sket chup_and_meshlab

A lot of issues with colour upload are in the colour image path name in the model file.

If you are on a windows machine, Accutrans3D is pretty good at file conversions. It includes the functionality to be able to truncate the image filename as well as performing scaling upon saving.

Hope this helps.
Paul
Re: Starting simple with color but failing [message #34523 is a reply to message #34457 ] Sun, 18 September 2011 09:26 UTC Go to previous messageGo to next message
avatar CristobalGordo  is currently offline CristobalGordo
Messages: 79
Registered: July 2010
Go to all my models
Member
Specifically on the "Exporting to VRML and X3D for color printing" page it says,

"'Per face' materials are easier to work with, but will give you less detail.
UV texture maps can be very detailed, but require the careful mapping of the texture map to your object.

To use 'per face' materials, simply apply material colors in your 3D application and export to VRML2. Then, jump to step 4 below to read how to upload your model. "

That's what I would like to do- paint some surfaces in my model a solid color (no need for textures) and it would seem from the above that that is fairly straightforward to do. I'd love to hear from someone who has done this- uploaded a "per face" colored model successfully.

On a possibly related sidenote, in scanning the first few hundred recent uploads I noticed that only three people had used color at all. Seems like if you could upload a vrml file with per face color info just like any other file there'd be a lot more almost by accident. Often I use color in the development process even though I know I'm just getting it in WSF in the end.
Re: Starting simple with color but failing [message #34525 is a reply to message #34523 ] Sun, 18 September 2011 10:53 UTC Go to previous messageGo to next message
avatar stop4stuff  is currently offline stop4stuff
Messages: 3109
Registered: June 2010
Go to my shop
Senior Member
As long as you are using a Widnows machine, get yourself a copy of Accutrans3D from http://www.micromouse.ca/

I already had the file save with coloured faces, checking my workflow for the below two methods only took 25-30 minutes total.

Method 1: Converting face colours to UV map

With Accutrans3D
Load model
Align normals on all layers
Depending how many colours you have will be the number of layers, you may need to go through the list of layers one by one to flip normals
Under the tools tab, click 'Convert layer colours to UV and texture' save the image file as a jpg
Go file, save with options
Selesct Save File Type as VRML 2.0 (97)
Check UV, Texture Path and Partial
Click use units, make import unit as millimeters and export units as meters (SW treats native VRML units as meters so the model needs scaling down to 1/1000 of it's original size).
Click save
Find the model and image file
Create an archive zip file containing the image and model file
Upload zip and wait for a bit for confirmation.

Example of the above technique
http://www.shapeways.com/model/335986/13900f0e77821287248c52 e08e29a88b/colour_police_phone_box.html

Method 2: Saving model with face colours.

Again with Accutrans3D
Load model and align normals as above
Save with options as VRML2.0
Check Vertex colours and Vertex Normals, scale as above
Click save
Upload wrl file and wait for confirmations

Example of this technique
http://www.shapeways.com/model/335991/5e65eaedfe3a0d7faf588c 0043ad250d/colour_police_phone_box_vertex_face_colour.html

Paul

Re: Starting simple with color but failing [message #34528 is a reply to message #34525 ] Sun, 18 September 2011 11:21 UTC Go to previous messageGo to next message
avatar stop4stuff  is currently offline stop4stuff
Messages: 3109
Registered: June 2010
Go to my shop
Senior Member
And just in case you're not able to use Accutrans3D, I just created this model;
http://www.shapeways.com/model/336000/44ab3c5dc855f817b16dcb b38fa63ce8/mesh_lab_coloured_police_phone_box.html
using MeshLab's paint tool, exported as a VRML, and uploaded.

This was using MeshLab v1.3.0

Paul
Re: Starting simple with color but failing [message #34541 is a reply to message #34528 ] Sun, 18 September 2011 14:53 UTC Go to previous messageGo to next message
avatar CristobalGordo  is currently offline CristobalGordo
Messages: 79
Registered: July 2010
Go to all my models
Member
OK I did "Normalize Vertex Normals" in meshlab and then again with the scaling- make sure your model is in meters and you choose meters when you upload and IT WORKED.

Thanks you lead me in the right direction talking about the normals.

Cool.
Re: Starting simple with color but failing [message #34542 is a reply to message #34541 ] Sun, 18 September 2011 15:03 UTC Go to previous messageGo to next message
avatar CristobalGordo  is currently offline CristobalGordo
Messages: 79
Registered: July 2010
Go to all my models
Member
Yes that was it. "Normalize Vertex Normals" in meshlab did the trick.

Thanks again
Re: Starting simple with color but failing [message #34573 is a reply to message #34528 ] Mon, 19 September 2011 13:01 UTC Go to previous messageGo to next message
avatar lensman  is currently offline lensman
Messages: 1526
Registered: December 2009
Go to my shop
Senior Member
stop4stuff wrote on Sun, 18 September 2011 11:21

And just in case you're not able to use Accutrans3D, I just created this model;
http://www.shapeways.com/model/336000/44ab3c5dc855f817b16dcb b38fa63ce8/mesh_lab_coloured_police_phone_box.html
using MeshLab's paint tool, exported as a VRML, and uploaded.

This was using MeshLab v1.3.0

Paul


Looks like some whacked-out grafitti artist had a go at this, Paul Twisted Evil


Glenn ------ My Website Third Dimension Jewellery
Re: Starting simple with color but failing [message #34638 is a reply to message #34573 ] Tue, 20 September 2011 07:32 UTC Go to previous message
avatar CristobalGordo  is currently offline CristobalGordo
Messages: 79
Registered: July 2010
Go to all my models
Member
Must've happened during the riots this summer in the UK.

 
   
Previous Topic:New design rules for WSF Polished & FUD/FD -- Feedback Request
Next Topic:Deleting a file from my account?

Logo

Hello.

We're sorry to inform you that we no longer support this browser and can't confirm that everything will work as expected. For the best Shapeways experience, please use one of the following browsers:

Click anywhere outside this window to continue.