Porting .ply files to Blender with colors?

Hi All, I was curious if anyone has had any luck porting .ply files generated with yt into Blender with colors? It seems to port in the surfaces just fine, but they are a uniform color. From what I can gather, Blender imports .ply files with face color instead of vertex so I tried the surf.export_ply routine with "face" instead of "vertex" for sample_type, but no luck ("vertex" doesn't work either). Let me know if I can provide any more useful info. Thanks for any help, -J

Hi Jill, On Fri, Feb 22, 2013 at 6:02 PM, Jill P. Naiman <jnaiman@ucolick.org> wrote:
I haven't actually been able to do this. One issue I ran into with PLY export is that the file format has a lot of semi-defined standards, and I don't know precisely the "right" way to do them. Looking at this message: http://www.blender.org/forum/viewtopic.php?t=12262 Suggests that a header format of this type *might* work: ply format ascii 1.0 element vertex 24 property float x property float y property float z property uchar red property uchar green property uchar blue element face 6 property list uchar int vertex_indices end_header But we use format binary. Does that roughly line up with the header of the exported .ply files you're working with, other than the vertex count and the binary/ascii difference? -Matt

I can't do that! it's almost possible I think. I use Blender, this 3D program is good for 3D modelling, animation, rendering and more. I own a XP-Pen Artist 16 2nd generation ( https://www.xp-pen.com/product/1203.html ) display drawing pad which is perfectly usable for drawing, sculpting, or modeling.

Hi Jill, On Fri, Feb 22, 2013 at 6:02 PM, Jill P. Naiman <jnaiman@ucolick.org> wrote:
I haven't actually been able to do this. One issue I ran into with PLY export is that the file format has a lot of semi-defined standards, and I don't know precisely the "right" way to do them. Looking at this message: http://www.blender.org/forum/viewtopic.php?t=12262 Suggests that a header format of this type *might* work: ply format ascii 1.0 element vertex 24 property float x property float y property float z property uchar red property uchar green property uchar blue element face 6 property list uchar int vertex_indices end_header But we use format binary. Does that roughly line up with the header of the exported .ply files you're working with, other than the vertex count and the binary/ascii difference? -Matt

I can't do that! it's almost possible I think. I use Blender, this 3D program is good for 3D modelling, animation, rendering and more. I own a XP-Pen Artist 16 2nd generation ( https://www.xp-pen.com/product/1203.html ) display drawing pad which is perfectly usable for drawing, sculpting, or modeling.
participants (3)
-
fengluan@gazeta.pl
-
Jill P. Naiman
-
Matthew Turk