Laurynas Duburas laurynas
  • Joined on 2021-06-10
Laurynas Duburas pushed to overlay-next-image at laurynas/blender 2024-08-13 17:42:13 +02:00
91bef57723 int size[2] -> int2 size
Laurynas Duburas commented on pull request blender/blender#126243 2024-08-13 17:10:44 +02:00
Overlay-Next: Image

Also had an idea of a bit different structure. One instance of ImagesState class where passes are stored and two instances of Images class with bool:in_front field.

Laurynas Duburas commented on pull request blender/blender#126243 2024-08-13 17:00:59 +02:00
Overlay-Next: Image

Here I could not find how to make res.select_bind().

Laurynas Duburas commented on pull request blender/blender#126243 2024-08-13 16:56:08 +02:00
Overlay-Next: Image

Only not to have ob_ref.object->dtx & OB_DRAW_IN_FRONT inside Images and use same style as in others with regular and in_front.

Laurynas Duburas pushed to overlay-next-image at laurynas/blender 2024-08-13 16:53:11 +02:00
6b712cb119 view_reference_images added
Laurynas Duburas commented on pull request blender/blender#126243 2024-08-13 16:53:07 +02:00
Overlay-Next: Image

I've changed it after looking in overlay_next_mesh.hh where view_dist is calculated in begin_sync. I also store address to viewinv.

Laurynas Duburas pushed to overlay-next-image at laurynas/blender 2024-08-13 14:22:09 +02:00
b8e382e708 PassSortable
Laurynas Duburas commented on pull request blender/blender#126243 2024-08-13 12:31:48 +02:00
Overlay-Next: Image

How to get view.viewinv in void Instance::object_sync(ObjectRef &ob_ref, Manager &manager)? Purpose: to get z as sort value for PassSortable::sub's as it is calculates in `DRW_pass_sort_sh…

Laurynas Duburas pushed to overlay-next-image at laurynas/blender 2024-08-13 11:14:03 +02:00
7770317560 bg_movie_clips added to Images
Laurynas Duburas pushed to overlay-next-image at laurynas/blender 2024-08-12 23:44:28 +02:00
f58c78983e clean up
Laurynas Duburas pushed to overlay-next-image at laurynas/blender 2024-08-12 23:40:06 +02:00
32f9811181 make format
Laurynas Duburas pushed to overlay-next-image at laurynas/blender 2024-08-12 23:37:37 +02:00
a916510251 Images::PassSource added
Laurynas Duburas pushed to overlay-next-image at laurynas/blender 2024-08-12 20:42:13 +02:00
09367eb647 draw_image_background to overlay_color_only_fb
Laurynas Duburas commented on pull request blender/blender#126243 2024-08-12 19:17:17 +02:00
Overlay-Next: Image

Can't find how to access bg_movie_clips.

Laurynas Duburas commented on pull request blender/blender#126243 2024-08-12 19:16:36 +02:00
Overlay-Next: Image

Here DRW_view_set_active(pd->view_reference_images); call is skipped.

Laurynas Duburas commented on pull request blender/blender#126243 2024-08-12 19:13:45 +02:00
Overlay-Next: Image

With the commented state nothing gets drawn in the background.

Laurynas Duburas created pull request blender/blender#126243 2024-08-12 19:09:52 +02:00
WIP: Overlay-Next: Image
Laurynas Duburas created branch overlay-next-image in laurynas/blender 2024-08-12 19:08:31 +02:00
Laurynas Duburas pushed to overlay-next-image at laurynas/blender 2024-08-12 19:08:31 +02:00
e653070f41 Overlay-Next: Image
45d9bfa734 Refactor: Sculpt: Add active_vert_index() and active_vert_position()
cab4d6f724 Refactor: Restructure sculpt shape key updates
fd7c884aef Fix: Overlay-Next: Crash on scene without active object
461bd0a477 Fix: Overlay-Next: Incorrect overlay_fb_draw lambda
Compare 10 commits »
Laurynas Duburas deleted branch overlay-next-facing from laurynas/blender 2024-08-12 15:18:57 +02:00