Aras Pranckevicius aras_p
Aras Pranckevicius commented on pull request blender/blender#105598 2023-03-12 10:46:27 +01:00
WIP: IO: C++ STL exporter

Maybe instead of use_apply_modifiers this could be apply_modifiers? That way it would be consistent with OBJ, PLY, Collada APIs.

Aras Pranckevicius commented on pull request blender/blender#105598 2023-03-12 10:46:27 +01:00
WIP: IO: C++ STL exporter

Suuuper minor: I'd put the float member before the bool ones. Right now it wastes 3 bytes of padding between the last bool and the float, in order to align the float to 4-byte boundary. This does not really matter all that much for this struct, but as a general guidance it's a good one to learn.

Aras Pranckevicius commented on pull request blender/blender#105598 2023-03-12 10:46:27 +01:00
WIP: IO: C++ STL exporter

PLY export uses ascii_format name for the same argument, so maybe follow that.

Aras Pranckevicius commented on pull request blender/blender#105598 2023-03-12 10:46:27 +01:00
WIP: IO: C++ STL exporter

Similar, maybe instead of use_selection_only it should follow some existing export APIs. The trouble is... there's no consistency for that name. Alembic and Collada use selected, USD uses selected_objects_only, OBJ and PLY use export_selected_objects. But at least picking one of those is better than introducing yet another new name :)

Aras Pranckevicius commented on pull request blender/blender#105598 2023-03-12 10:46:27 +01:00
WIP: IO: C++ STL exporter

Similar to ASCII writer: fopen will fail correctly writing to a non-ASCII path on Windows. Use BLI_fopen from BLI_fileops.h instead.

Aras Pranckevicius commented on pull request blender/blender#104404 2023-03-06 09:22:55 +01:00
IO: New C++ PLY importer/exporter

Done in 08db6bf215ab

Aras Pranckevicius pushed to main at blender/blender 2023-03-06 09:22:19 +01:00
08db6bf215 IO: factor out axis validation logic between OBJ and PLY
Aras Pranckevicius approved blender/blender#105478 2023-03-06 05:56:14 +01:00
Fix #105395: Handle quoted paths better in the OBJ importer

Looks good to me, thanks!

Aras Pranckevicius closed issue blender/blender#101294 2023-03-05 21:00:53 +01:00
Implement a PLY importer/exporter in C++
Aras Pranckevicius commented on issue blender/blender#101294 2023-03-05 21:00:31 +01:00
Implement a PLY importer/exporter in C++

The project got done, reviewed, feedback addressed and just landed to main branch for Blender 3.6 (43e9c90061fc1eb).

Aras Pranckevicius pushed to main at blender/blender 2023-03-05 20:50:37 +01:00
71c366f5cc PLY: fixing tests
Aras Pranckevicius closed pull request blender/blender#104404 2023-03-05 19:47:23 +01:00
IO: New C++ PLY importer/exporter
Aras Pranckevicius commented on pull request blender/blender#104404 2023-03-05 19:47:14 +01:00
IO: New C++ PLY importer/exporter

Merged (squashed) in 43e9c90061fc1ebae 🎉

Aras Pranckevicius commented on pull request blender/blender#104404 2023-03-05 19:46:41 +01:00
IO: New C++ PLY importer/exporter

I've implemented option for vertex colors Linear vs sRGB color space in a30abe9c2e79a01. Defaulted to sRGB to match the current Python addon behavior.

Aras Pranckevicius pushed to main at blender/blender 2023-03-05 19:45:09 +01:00
a30abe9c2e IO: minor tweaks to the new C++ PLY importer/exporter
43e9c90061 IO: New C++ PLY importer/exporter
Compare 2 commits »
Aras Pranckevicius approved blender/blender#104404 2023-02-28 20:21:53 +01:00
IO: New C++ PLY importer/exporter

My part of feedback was addressed, thanks!

Aras Pranckevicius commented on issue blender/blender#105001 2023-02-22 08:22:50 +01:00
OBJ: Add hierarchy support by name splitting (Python patch provided)

I reopened, changed to ToDo, assigned to myself. The old discussion slipped from my radar indeed.

Aras Pranckevicius reopened issue blender/blender#105001 2023-02-22 08:20:23 +01:00
OBJ: Add hierarchy support by name splitting (Python patch provided)
Aras Pranckevicius commented on pull request blender/blender#104404 2023-02-18 14:15:34 +01:00
IO: New C++ PLY importer/exporter

Interesting. So it might be that various people just write linear colors in there, without realizing that at 8 bits per channel there's severe banding in the darks :) Or alternatively, the…