Scurest scurest
  • Joined on 2021-01-18
Scurest commented on issue blender/blender#127785 2024-09-26 14:24:18 +02:00
Alpha Ignored When Loading OBJ Vertex Colors

Importing the seventh component as vertex alpha was considered in a Godot PR here. According to that thread, the program TreeIt already uses the…

Scurest closed issue blender/blender#98910 2024-09-22 08:39:21 +02:00
Python: bizarre behavior of mesh.normals_split_custom_set for vectors with length < 1
Scurest commented on issue blender/blender#98910 2024-09-22 08:39:17 +02:00
Python: bizarre behavior of mesh.normals_split_custom_set for vectors with length < 1

This should have been fixed by #127814.

Scurest commented on issue blender/blender#122256 2024-09-03 22:22:09 +02:00
Regression: OBJ import: Clamp Bounding Box does not work

Since a fix is not forthcoming, here is a script I am using after import as a workaround. It scales both up or down to fit the target cube size.

import bpy
from mathutils import
Scurest commented on issue blender/blender#125187 2024-08-20 23:28:48 +02:00
Python: EnumProperty get/set

I'm not sure why the second example throws (note that it doesn't in 3.6).

My point is obj['test_enum'] is a normal custom prop that behaves like all custom props. An EnumProperty `obj.test_enu…

Scurest commented on issue blender/blender#125187 2024-08-20 16:53:21 +02:00
Python: EnumProperty get/set

My understanding is property obj.propname uses the custom prop obj['propname'] as the low-level store for its data. The custom prop does not know about the higher-level property; information…

Scurest deleted branch fix-117367 from scurest/blender 2024-08-09 17:08:36 +02:00
Scurest commented on pull request blender/blender#126065 2024-08-09 02:08:06 +02:00
Fix #117367: OBJ: fix vertex colors imported scrambled up

Okay, the mrgb_block is implemented. Tests are passing locally.

Scurest pushed to fix-117367 at scurest/blender 2024-08-08 21:38:44 +02:00
b3f618f0af Fix: OBJ: fix importing of #MRGB vertex colors
Scurest commented on pull request blender/blender#126065 2024-08-08 17:47:12 +02:00
Fix #117367: OBJ: fix vertex colors imported scrambled up

Is there a difference between crashing and test failure?

Scurest commented on pull request blender/blender#126065 2024-08-08 17:46:48 +02:00
Fix #117367: OBJ: fix vertex colors imported scrambled up

So I have broken #MRGB colors. AFAICT they work like this

v ... # v1
v ... # v2
#MRGB ffff0000  # sets color for v1 (-2)
#MRGB ffff0000  # sets color for v2 (-1)
v ... # v3
v ... #…
Scurest commented on pull request blender/blender#126065 2024-08-08 13:52:56 +02:00
Fix #117367: OBJ: fix vertex colors imported scrambled up

How's that?

Scurest pushed to fix-117367 at scurest/blender 2024-08-08 13:51:16 +02:00
8c5148042b Fix #117367: OBJ: fix vertex colors imported scrambled up
Scurest created pull request blender/blender#126065 2024-08-08 00:08:56 +02:00
Fix #117367: OBJ: fix vertex colors imported scrambled up
Scurest pushed to fix-117367 at scurest/blender 2024-08-07 23:51:24 +02:00
599ef78a25 Fix #117367: OBJ: fix vertex colors imported scrambled up
Scurest pushed to fix-117367 at scurest/blender 2024-08-07 23:45:51 +02:00
f51b3b8337 Fix #117367: OBJ: fix vertex colors imported scrambled up
Scurest pushed to fix-117367 at scurest/blender 2024-08-07 23:39:11 +02:00
6fea079a8c Fix #117367: OBJ: fix vertex colors imported scrambled up
Scurest commented on issue blender/blender#117367 2024-08-07 23:32:19 +02:00
OBJ Importer: Vertex Colors Lose Alignment In At Least 2 Situations

Here is another test file:

v 0 0 0 1 0 0
v 0 0 1
v 0 1 1
v 1 0 1
v 0 1 0 1 0 0
v 1 0 0 1 0 0

o Red
f 1 5 6

o NoColor
f 2 3 4

In this one, the importer does not create…

Scurest created branch fix-117367 in scurest/blender 2024-08-07 23:04:22 +02:00
Scurest pushed to fix-117367 at scurest/blender 2024-08-07 23:04:22 +02:00
8097432543 Fix #117367: OBJ: fix vertex colors imported in wrong order