Aras Pranckevicius aras_p
Aras Pranckevicius commented on pull request blender/blender#117387 2024-01-24 14:10:07 +01:00
ImBuf: Refactor pixel interpolation functions

Pushed a commit that clarifies the doc comments.

Aras Pranckevicius pushed to interp_cleanup at aras_p/blender 2024-01-24 14:09:37 +01:00
88fe427cdf Code review: fix lack of nearest wrap sampling, clarify floored modulo docs.
Aras Pranckevicius commented on pull request blender/blender#117387 2024-01-24 10:52:36 +01:00
ImBuf: Refactor pixel interpolation functions

Ah! But good catch, one branch below this calls into "nearest" function that does not wrap internally. Will fix!

(looks like this code is not covered by any tests lol...)

Aras Pranckevicius commented on pull request blender/blender#117387 2024-01-24 10:49:51 +01:00
ImBuf: Refactor pixel interpolation functions

Because the "wrap" bilinear functions now wrap the u,v internally. So no longer need to do floored_fmod equivalent outside the call.

Aras Pranckevicius commented on pull request blender/blender#117387 2024-01-24 10:49:09 +01:00
ImBuf: Refactor pixel interpolation functions

Yes. It's a question I asked on the sculpt-painting channel, "why there's a clamp in there?". I took the clamp out of the interpolation function and put it in the calling place. But Brecht thinks…

Aras Pranckevicius commented on pull request blender/blender#117387 2024-01-24 10:47:59 +01:00
ImBuf: Refactor pixel interpolation functions

Both are floored modulo, i.e. behave the same wrt negative numbers.

Aras Pranckevicius pushed to interp_cleanup at aras_p/blender 2024-01-24 09:44:18 +01:00
b029883802 ImBuf: Cleanup BLI/IMB interpolation functions
Aras Pranckevicius commented on pull request blender/blender#117371 2024-01-24 09:03:06 +01:00
Add support for NURBS surfaces in Wavefront .OBJ files.

Yeah I'm not sure if the code as-is actually solves your problem properly. If you want to implement support for exporting Bezier curves as actual curves, then sure that could be implemented. I…

Aras Pranckevicius commented on pull request blender/blender#117471 2024-01-24 08:58:53 +01:00
Fix: Obj crash exporting curve without modifier property

Ah! Good catch.

Aras Pranckevicius pushed to interp_cleanup at aras_p/blender 2024-01-23 21:00:50 +01:00
3b9baf7ede ImBuf: Cleanup BLI/IMB interpolation functions
Aras Pranckevicius pushed to interp_cleanup at aras_p/blender 2024-01-23 20:37:27 +01:00
7fda29a9a8 ImBuf: Cleanup BLI/IMB interpolation functions
91b4f9f1f6 Data Transfer: Avoid unnecessarily computing existing normals
da6405fee7 Fix #117410: Corner normals cache not reset on geometry clear
e0ff7731e0 Core: make BKE_appdir functions thread safe, using optional<string>
4e483dad4b Fix: String Offset Assert in Color Picker
Compare 78 commits »
Aras Pranckevicius commented on pull request blender/blender#117387 2024-01-22 12:16:20 +01:00
ImBuf: Refactor pixel interpolation functions

Agreed with Sergey via chat:

  • Make this more extensive: low level BLI pixel interpolation function, possibly templated upon filter mode, wrapping behavior, etc. Could return color by value…
Aras Pranckevicius created pull request blender/blender#117387 2024-01-21 19:16:18 +01:00
Cleanup: reduce amount of ImBuf sampling wrapper functions
Aras Pranckevicius pushed to interp_cleanup at aras_p/blender 2024-01-21 19:15:28 +01:00
00a2487acc Cleanup: reduce amount of ImBuf sampling wrapper functions
af5731ce03 Cleanup: Move BKE_idtype.h to Cpp header BKE_idtype.hh
bbaa4e9d26 Fix #117354: Crash loading file browser tooltips
33bb3d838f Fix #117224: Outliner recursive selection fails in reverse order
d2e4da0f5b Cleanup: reduce C-isms in imbuf headers
Compare 10 commits »
Aras Pranckevicius created branch interp_cleanup in aras_p/blender 2024-01-21 19:15:28 +01:00
Aras Pranckevicius pushed to main at blender/blender-developer-docs 2024-01-21 16:28:24 +01:00
1f78ded411 Update docs/release_notes/4.1/vfx.md
Aras Pranckevicius commented on pull request blender/blender#117352 2024-01-20 08:40:22 +01:00
UI: Image Rotate

I think IMB_transform could be used for this, even if it's somewhat overkill. You would get multi-threading "for free" though.

If not that, I think factoring out the actual rotation function…

Aras Pranckevicius deleted branch imbuf-cpp from aras_p/blender 2024-01-19 20:29:56 +01:00