ethnhe / raster_triangle

A simple renderer with z-buffer for synthesis data generating.
56 stars 22 forks source link

New Object #3

Closed Michael187-ctrl closed 3 years ago

Michael187-ctrl commented 4 years ago

Hey, thanks for sharing this great work.

Can someone tell me, how to create pictures for a new object? Greetings Michael

ethnhe commented 3 years ago

One workaround way is to modify the path to your ply path here. But the unit of vertexes in the ply model should be in meter. The color of each vertex also should be in the ply or the rendered RGB image may be wrong. The raster triangle doesn't support models using the uv map yet.

Y-pandaman commented 2 years ago

您好,我有个obj模型文件,以及对应的mtl文件,请问怎么转换成ply文件,我用meshlab和cloudcompare直接转成ply文件,加载时会报错缺少颜色信息