Mike Erwin (merwin)
Animal

Projects

User Details

User Since
Apr 27 2010, 10:07 PM (360 w, 5 d)

Recent Activity

Thu, Mar 23

Mike Erwin (merwin) committed rB5d6e9f237be3: OpenGL: viewport background & depth buffer fixes (authored by Mike Erwin (merwin)).
OpenGL: viewport background & depth buffer fixes
Thu, Mar 23, 9:30 PM
Mike Erwin (merwin) committed rB09ad6842499f: cleanup use of GPU matrix API (authored by Mike Erwin (merwin)).
cleanup use of GPU matrix API
Thu, Mar 23, 6:53 AM
Germano Cavalcante (mano-wii) awarded T49042: remove GLU from Blender 2.8 a Party Time token.
Thu, Mar 23, 3:32 AM · Restricted Project, OpenGL / Gfx
Mike Erwin (merwin) closed T49042: remove GLU from Blender 2.8 as "Resolved".

Woohoo! GLU is no more.

Thu, Mar 23, 2:38 AM · Restricted Project, OpenGL / Gfx
Mike Erwin (merwin) closed T49042: remove GLU from Blender 2.8, a subtask of T49165: OpenGL Refactor: Main Task, as "Resolved".
Thu, Mar 23, 2:38 AM · OpenGL / Gfx, Restricted Project
Mike Erwin (merwin) committed rBb69f0479a421: OpenGL: remove GLU option from build system (authored by Mike Erwin (merwin)).
OpenGL: remove GLU option from build system
Thu, Mar 23, 2:36 AM
Mike Erwin (merwin) committed rB005b7bfbdc21: remove mention of GLU from comments (authored by Mike Erwin (merwin)).
remove mention of GLU from comments
Thu, Mar 23, 2:36 AM
Mike Erwin (merwin) committed rB559bfd973eb7: convert last remaining GLU calls in BGE (authored by Mike Erwin (merwin)).
convert last remaining GLU calls in BGE
Thu, Mar 23, 2:36 AM

Wed, Mar 22

Mike Erwin (merwin) committed rB762319e91184: fix redundant assignment (authored by Mike Erwin (merwin)).
fix redundant assignment
Wed, Mar 22, 9:27 PM
Mike Erwin (merwin) committed rB4646ecf74917: OpenGL: use new API for persp & ortho projection (authored by Mike Erwin (merwin)).
OpenGL: use new API for persp & ortho projection
Wed, Mar 22, 9:02 PM
Mike Erwin (merwin) committed rB98a0dd6888b7: OpenGL: load projection matrix with new API (authored by Mike Erwin (merwin)).
OpenGL: load projection matrix with new API
Wed, Mar 22, 9:02 PM
Mike Erwin (merwin) committed rB0c2fd1357d32: OpenGL: fix new projection matrix API (authored by Mike Erwin (merwin)).
OpenGL: fix new projection matrix API
Wed, Mar 22, 9:01 PM
Mike Erwin (merwin) added a comment to T51021: Viewport Design.
  • Object mode in Rendered with GUI Overlay mode, with wire on on the objects. Slight Fresnel on the wires.
  • Edit mode in Isolated Display mode, all edges selected.
Wed, Mar 22, 12:54 AM · User Interface, Restricted Project
Mike Erwin (merwin) committed rBc2f3ec437800: OpenGL: convert one more matrix call (authored by Mike Erwin (merwin)).
OpenGL: convert one more matrix call
Wed, Mar 22, 12:38 AM
Mike Erwin (merwin) committed rB78878a132f45: fix blenderplayer build (authored by Mike Erwin (merwin)).
fix blenderplayer build
Wed, Mar 22, 12:38 AM
Mike Erwin (merwin) committed rB0a274df53625: OpenGL: add gpuLoadProjectionMatrix3D function (authored by Mike Erwin (merwin)).
OpenGL: add gpuLoadProjectionMatrix3D function
Wed, Mar 22, 12:38 AM

Tue, Mar 21

Mike Erwin (merwin) committed rB6d2aca5a96ef: OpenGL: convert to new matrix API (part 5) (authored by Mike Erwin (merwin)).
OpenGL: convert to new matrix API (part 5)
Tue, Mar 21, 10:51 PM
Mike Erwin (merwin) committed rB7aad5cf573a9: OpenGL: generic inputs for new matrix API (authored by Mike Erwin (merwin)).
OpenGL: generic inputs for new matrix API
Tue, Mar 21, 10:51 PM
Mike Erwin (merwin) committed rB20d02be6b81d: OpenGL: remove fdrawline & other helper functions (authored by Mike Erwin (merwin)).
OpenGL: remove fdrawline & other helper functions
Tue, Mar 21, 10:51 PM
Mike Erwin (merwin) committed rB3bd831d1d616: OpenGL: convert to new matrix API (part 4) (authored by Mike Erwin (merwin)).
OpenGL: convert to new matrix API (part 4)
Tue, Mar 21, 10:51 PM
Mike Erwin (merwin) committed rBd409c483104c: OpenGL: convert to new matrix API (part 3) (authored by Mike Erwin (merwin)).
OpenGL: convert to new matrix API (part 3)
Tue, Mar 21, 7:53 AM
Mike Erwin (merwin) committed rB8fe9e94a5298: OpenGL: remove 'circ' helper function (authored by Mike Erwin (merwin)).
OpenGL: remove 'circ' helper function
Tue, Mar 21, 7:53 AM
Mike Erwin (merwin) committed rBbef63acbd638: remove gpuMatrixUpdate_legacy function (authored by Mike Erwin (merwin)).
remove gpuMatrixUpdate_legacy function
Tue, Mar 21, 6:43 AM
Mike Erwin (merwin) committed rB4a01ff278d0b: fix use-before-init error + local cleanup (authored by Mike Erwin (merwin)).
fix use-before-init error + local cleanup
Tue, Mar 21, 6:43 AM
Mike Erwin (merwin) committed rB54bed786a630: OpenGL: convert to new matrix API (part 2 of x) (authored by Mike Erwin (merwin)).
OpenGL: convert to new matrix API (part 2 of x)
Tue, Mar 21, 6:43 AM
Mike Erwin (merwin) committed rB231b5d96bbfd: track dirty state of legacy matrix API (authored by Mike Erwin (merwin)).
track dirty state of legacy matrix API
Tue, Mar 21, 6:43 AM
Mike Erwin (merwin) committed rB0c47923fca9b: OpenGL: remove older matrix macros (authored by Mike Erwin (merwin)).
OpenGL: remove older matrix macros
Tue, Mar 21, 6:43 AM
Mike Erwin (merwin) committed rB938613f720f0: OpenGL: convert to new matrix API (part 1 of x) (authored by Mike Erwin (merwin)).
OpenGL: convert to new matrix API (part 1 of x)
Tue, Mar 21, 6:43 AM
Mike Erwin (merwin) committed rB06f7fba6aaad: add missing gpuRotate2D function (authored by Mike Erwin (merwin)).
add missing gpuRotate2D function
Tue, Mar 21, 6:43 AM
Mike Erwin (merwin) committed rB74434beb1c50: OpenGL: more legacy support for matrix routines (authored by Mike Erwin (merwin)).
OpenGL: more legacy support for matrix routines
Tue, Mar 21, 6:42 AM

Fri, Mar 17

Mike Erwin (merwin) committed rBcf62424e47c2: Gawain: remove PER_THREAD macro (authored by Mike Erwin (merwin)).
Gawain: remove PER_THREAD macro
Fri, Mar 17, 7:18 PM
Mike Erwin (merwin) committed rB63fb57fbc6d0: fix blenderplayer build after moving Gawain to intern (authored by Mike Erwin (merwin)).
fix blenderplayer build after moving Gawain to intern
Fri, Mar 17, 4:59 AM
Mike Erwin (merwin) committed rBc669bf126c5d: Gawain: fix compiler warning (authored by Mike Erwin (merwin)).
Gawain: fix compiler warning
Fri, Mar 17, 4:59 AM
Mike Erwin (merwin) committed rB4452bea2f170: move Gawain library to intern (authored by Mike Erwin (merwin)).
move Gawain library to intern
Fri, Mar 17, 4:59 AM

Thu, Mar 16

Mike Erwin (merwin) committed rBb4e8dc8c82df: set required MacOS version to 10.9 (authored by Mike Erwin (merwin)).
set required MacOS version to 10.9
Thu, Mar 16, 8:09 PM
Mike Erwin (merwin) committed rB0fc4cf7637e8: OpenGL: draw navmesh with new imm mode (authored by Mike Erwin (merwin)).
OpenGL: draw navmesh with new imm mode
Thu, Mar 16, 5:06 AM
Mike Erwin (merwin) added a comment to T50958: `template_ID_preview` is crashing the blender's UI from branch 2.8.

More info:

Thu, Mar 16, 3:36 AM · Restricted Project

Wed, Mar 15

Mike Erwin (merwin) committed rB0895550d2434: OpenGL: more new imm mode for image_draw (authored by Mike Erwin (merwin)).
OpenGL: more new imm mode for image_draw
Wed, Mar 15, 9:54 PM
Mike Erwin (merwin) committed rBc5f97dfe598b: Gawain: bypass strict error checking for release builds (authored by Mike Erwin (merwin)).
Gawain: bypass strict error checking for release builds
Wed, Mar 15, 9:54 PM
Mike Erwin (merwin) committed rBfce0ff0a3134: OpenGL: remove non-GLSL option from basic shader (authored by Mike Erwin (merwin)).
OpenGL: remove non-GLSL option from basic shader
Wed, Mar 15, 4:57 PM

Tue, Mar 14

Mike Erwin (merwin) added a comment to T50935: gawain presents problems when particle.

Thanks for the info! I suspect this is a buffer alignment/padding issue. I'm talking to someone from NVIDIA tonight (local C++ meetup) and will ask him for details.

Tue, Mar 14, 3:52 PM · Restricted Project
Mike Erwin (merwin) updated subscribers of rB225e3a6857b3: Gawain: multiple VertexBuffers per Batch.

Every Batch has at least one VertexBuffer. Now you can add more & they will all be used when drawing. There is a fixed limit like we discussed over email. It's easy to raise this limit if needed.

Tue, Mar 14, 6:49 AM
Mike Erwin (merwin) committed rB3ee0723b7db7: fix warnings from previous commit (authored by Mike Erwin (merwin)).
fix warnings from previous commit
Tue, Mar 14, 6:41 AM
Mike Erwin (merwin) committed rB225e3a6857b3: Gawain: multiple VertexBuffers per Batch (authored by Mike Erwin (merwin)).
Gawain: multiple VertexBuffers per Batch
Tue, Mar 14, 6:41 AM
Mike Erwin (merwin) committed rB9bf0b246ac49: OpenGL: remove deprecated calls (authored by Mike Erwin (merwin)).
OpenGL: remove deprecated calls
Tue, Mar 14, 5:45 AM

Mon, Mar 13

Mike Erwin (merwin) added a comment to T50935: gawain presents problems when particle.

After more testing -- zoom/rotate viewpoint, run animation -- I'm still not seeing this problem.

Mon, Mar 13, 10:58 PM · Restricted Project
Mike Erwin (merwin) added a comment to T50935: gawain presents problems when particle.

No problems on Mac, tested on Intel and NV. Trying Windows next...

Mon, Mar 13, 9:43 PM · Restricted Project
Mike Erwin (merwin) committed rBac276e154108: fix "Modern Viewport" regression (authored by Mike Erwin (merwin)).
fix "Modern Viewport" regression
Mon, Mar 13, 9:13 PM
Mike Erwin (merwin) committed rBb4157dedb0ff: OpenGL: remove packed imm mode functions from Python API (authored by Mike Erwin (merwin)).
OpenGL: remove packed imm mode functions from Python API
Mon, Mar 13, 7:10 PM
Mike Erwin (merwin) committed rB0e40f1bac498: OpenGL: remove GLU functions from Python API (authored by Mike Erwin (merwin)).
OpenGL: remove GLU functions from Python API
Mon, Mar 13, 7:10 PM
Mike Erwin (merwin) raised a concern with rB9c6b9e889c01: Clay Engine: Mode engine templates..

Does not build with MSVC 2015. Getting lots of these:

error C2016: C requires that a struct or union has at least one member

We get warnings on Mac + clang, but it does build & run there.

Mon, Mar 13, 5:49 AM

Wed, Mar 8

Mike Erwin (merwin) added tasks to D2548: OpenGL immediate mode: finish editarmarture_sketch.c: T49042: remove GLU from Blender 2.8, T49043: replace OpenGL immediate mode in Blender 2.8.
Wed, Mar 8, 4:19 AM · Restricted Project
Mike Erwin (merwin) added a revision to T49042: remove GLU from Blender 2.8: D2548: OpenGL immediate mode: finish editarmarture_sketch.c.
Wed, Mar 8, 4:19 AM · Restricted Project, OpenGL / Gfx
Mike Erwin (merwin) added a revision to T49043: replace OpenGL immediate mode in Blender 2.8: D2548: OpenGL immediate mode: finish editarmarture_sketch.c.
Wed, Mar 8, 4:19 AM · Restricted Project, OpenGL / Gfx
Mike Erwin (merwin) closed D2548: OpenGL immediate mode: finish editarmarture_sketch.c.

Pushed to blender2.8

Wed, Mar 8, 4:19 AM · Restricted Project
Mike Erwin (merwin) committed rB1345d298068f: OpenGL: convert editarmarture_sketch to new imm mode (authored by Khanh Ha (khanh_ha)).
OpenGL: convert editarmarture_sketch to new imm mode
Wed, Mar 8, 4:18 AM
Mike Erwin (merwin) accepted D2548: OpenGL immediate mode: finish editarmarture_sketch.c.
Wed, Mar 8, 4:01 AM · Restricted Project
Mike Erwin (merwin) added a comment to D2548: OpenGL immediate mode: finish editarmarture_sketch.c.

Tested armature sketching and it works same as 2.78. Awesome!

Wed, Mar 8, 3:36 AM · Restricted Project

Tue, Mar 7

Mike Erwin (merwin) added a comment to D2548: OpenGL immediate mode: finish editarmarture_sketch.c.

Thanks a lot, Looks nice! I can test it tonight before accepting.

Tue, Mar 7, 2:58 PM · Restricted Project

Sat, Mar 4

Mike Erwin (merwin) committed rB76c9f1a649c1: OpenGL: remove fdrawcheckerboard (authored by Mike Erwin (merwin)).
OpenGL: remove fdrawcheckerboard
Sat, Mar 4, 7:54 AM
Mike Erwin (merwin) committed rBa514fea93248: OpenGL: remove old DrawPixels util functions (authored by Mike Erwin (merwin)).
OpenGL: remove old DrawPixels util functions
Sat, Mar 4, 12:19 AM

Fri, Mar 3

Mike Erwin (merwin) committed rB87d5f670a0af: OpenGL: remove glaDrawBorderCorners (authored by Mike Erwin (merwin)).
OpenGL: remove glaDrawBorderCorners
Fri, Mar 3, 11:56 PM
Mike Erwin (merwin) committed rB0215b3e9574f: OpenGL: draw image render info with new imm mode (part 1) (authored by Mike Erwin (merwin)).
OpenGL: draw image render info with new imm mode (part 1)
Fri, Mar 3, 11:56 PM
Mike Erwin (merwin) committed rBaf1635eeb020: OpenGL: remove stipple pattern defines (authored by Mike Erwin (merwin)).
OpenGL: remove stipple pattern defines
Fri, Mar 3, 11:56 PM
Mike Erwin (merwin) committed rB29683d623c55: OpenGL: remove glutil_draw_*_arc (lined, filled) (authored by Mike Erwin (merwin)).
OpenGL: remove glutil_draw_*_arc (lined, filled)
Fri, Mar 3, 11:26 PM
Mike Erwin (merwin) committed rB053589da7d4f: OpenGL: paint_draw_cursor with new imm mode (authored by Mike Erwin (merwin)).
OpenGL: paint_draw_cursor with new imm mode
Fri, Mar 3, 11:26 PM
Mike Erwin (merwin) committed rB3fdffc1e95f3: Gawain: fix for MSVC 2013 (authored by Mike Erwin (merwin)).
Gawain: fix for MSVC 2013
Fri, Mar 3, 8:51 PM
Mike Erwin (merwin) committed rB3381cf98cb3e: OpenGL: remove fdrawbox, sdrawbox, sdrawline (authored by Mike Erwin (merwin)).
OpenGL: remove fdrawbox, sdrawbox, sdrawline
Fri, Mar 3, 7:27 PM
Mike Erwin (merwin) committed rB6999e8269334: OpenGL: remove last uses of fdrawbox (authored by Mike Erwin (merwin)).
OpenGL: remove last uses of fdrawbox
Fri, Mar 3, 7:27 PM
Mike Erwin (merwin) committed rBb3a4b61a3b55: OpenGL: remove last uses of sdrawline & sdrawbox (authored by Mike Erwin (merwin)).
OpenGL: remove last uses of sdrawline & sdrawbox
Fri, Mar 3, 7:27 PM
Mike Erwin (merwin) added a comment to D2543: Experimental depth sorting selection picking.

I'm also glad!

Fri, Mar 3, 6:39 PM · BF Blender, OpenGL / Gfx
Mike Erwin (merwin) committed rB8cf524cec943: plug ShaderInterface into GPUShader (authored by Mike Erwin (merwin)).
plug ShaderInterface into GPUShader
Fri, Mar 3, 3:51 AM
Mike Erwin (merwin) committed rBc2baf3e48602: OpenGL: draw PBVH bounding box with new imm mode (authored by Mike Erwin (merwin)).
OpenGL: draw PBVH bounding box with new imm mode
Fri, Mar 3, 3:51 AM
Mike Erwin (merwin) committed rBe0a2bd43dda7: Gawain: add ShaderInterface for GLSL introspection (authored by Mike Erwin (merwin)).
Gawain: add ShaderInterface for GLSL introspection
Fri, Mar 3, 3:29 AM
Mike Erwin (merwin) committed rB0c1c646118df: clean up clay vertex shader (authored by Mike Erwin (merwin)).
clean up clay vertex shader
Fri, Mar 3, 12:12 AM

Thu, Mar 2

Mike Erwin (merwin) committed rB33758c7cb86f: Gawain: move PRIM types to new file, classify by geometry (authored by Mike Erwin (merwin)).
Gawain: move PRIM types to new file, classify by geometry
Thu, Mar 2, 9:08 PM
Mike Erwin (merwin) added a comment to rB869f2940c2bd: Gawain: allow use of final 2 bits of 10_10_10_2 format.

@Clément Foucault (fclem) to use as a flag do this on CPU side

PackedNormal p = convert_i10_v3(normal);
p.w = 1;

Then extract values in GLSL

Thu, Mar 2, 9:24 AM
Mike Erwin (merwin) committed rB869f2940c2bd: Gawain: allow use of final 2 bits of 10_10_10_2 format (authored by Mike Erwin (merwin)).
Gawain: allow use of final 2 bits of 10_10_10_2 format
Thu, Mar 2, 9:17 AM

Tue, Feb 28

Mike Erwin (merwin) committed rB3176bb83469d: clean up GL / GPU #includes (authored by Mike Erwin (merwin)).
clean up GL / GPU #includes
Tue, Feb 28, 9:32 PM
Mike Erwin (merwin) committed rB2a8dd3c5ff5b: remove GPU_basic_shader calls from wm_gesture (authored by Mike Erwin (merwin)).
remove GPU_basic_shader calls from wm_gesture
Tue, Feb 28, 9:32 PM
Mike Erwin (merwin) committed rB2fcdb6df10ac: remove unused code from uvedit_draw (authored by Mike Erwin (merwin)).
remove unused code from uvedit_draw
Tue, Feb 28, 9:32 PM
Mike Erwin (merwin) committed rB7b1e5e86202b: remove unused code from interface_icons (authored by Mike Erwin (merwin)).
remove unused code from interface_icons
Tue, Feb 28, 9:32 PM
Mike Erwin (merwin) edited the description of T49165: OpenGL Refactor: Main Task.
Tue, Feb 28, 7:47 PM · OpenGL / Gfx, Restricted Project
Mike Erwin (merwin) committed rB5e889ebf19ae: OpenGL: no more display lists (authored by Mike Erwin (merwin)).
OpenGL: no more display lists
Tue, Feb 28, 7:16 PM
Mike Erwin (merwin) committed rB811e90c95705: OpenGL: enable use of AMD_debug_output (authored by Mike Erwin (merwin)).
OpenGL: enable use of AMD_debug_output
Tue, Feb 28, 10:40 AM
Mike Erwin (merwin) committed rB2de9bf113876: skip OpenGL debug logic on Apple (authored by Mike Erwin (merwin)).
skip OpenGL debug logic on Apple
Tue, Feb 28, 10:40 AM
Mike Erwin (merwin) committed rB08e654935c6b: OpenGL: remove GPU_state_print function (authored by Mike Erwin (merwin)).
OpenGL: remove GPU_state_print function
Tue, Feb 28, 10:40 AM
Mike Erwin (merwin) committed rB6a3dd21eddcf: OpenGL: remove obsolete GL_POINT_SMOOTH (authored by Mike Erwin (merwin)).
OpenGL: remove obsolete GL_POINT_SMOOTH
Tue, Feb 28, 10:40 AM
Mike Erwin (merwin) committed rB8a76049e84c7: rename built-in point shaders, SMOOTH --> AA (authored by Mike Erwin (merwin)).
rename built-in point shaders, SMOOTH --> AA
Tue, Feb 28, 8:20 AM
Mike Erwin (merwin) committed rBe7d57628c955: OpenGL: keyframe shape fixes (authored by Mike Erwin (merwin)).
OpenGL: keyframe shape fixes
Tue, Feb 28, 7:23 AM

Sun, Feb 26

Mike Erwin (merwin) updated subscribers of rBe9011100f75c: Fix compiler warnings on macOS / clang / c++11..

Thank you! This greatly reduces warning noise.

Sun, Feb 26, 4:38 PM
Mike Erwin (merwin) awarded rBe9011100f75c: Fix compiler warnings on macOS / clang / c++11. a Doubloon token.
Sun, Feb 26, 4:26 PM
Mike Erwin (merwin) awarded rB2724fad58267: OpenGL: replace gluProject and gluUnProject, and simplify surrounding code. a Doubloon token.
Sun, Feb 26, 4:25 PM

Feb 24 2017

Mike Erwin (merwin) closed D2376: Blender 2.8: OpenGL: immediate mode for wm_gesture.c (+ needed vert and frag shaders for dashed lines).

Landed in blender2.8, woohoo!

Feb 24 2017, 9:56 PM · Restricted Project, OpenGL / Gfx
Mike Erwin (merwin) accepted D2376: Blender 2.8: OpenGL: immediate mode for wm_gesture.c (+ needed vert and frag shaders for dashed lines).
Feb 24 2017, 9:55 PM · Restricted Project, OpenGL / Gfx
Mike Erwin (merwin) committed rBbda0456933e8: OpenGL: wm_gesture uses new imm mode (authored by Willian Padovani Germano (ianwill)).
OpenGL: wm_gesture uses new imm mode
Feb 24 2017, 9:41 PM
Mike Erwin (merwin) added a comment to T49043: replace OpenGL immediate mode in Blender 2.8.

Hey everyone, I updated the call for help wiki page with recommended coding style. It's worth another read even if you've been doing this a while, to clarify how the new API works.

Feb 24 2017, 7:42 PM · Restricted Project, OpenGL / Gfx
Mike Erwin (merwin) added a comment to rBe4378412394c: OpenGL immediate mode: modifying immDrawPixelsTex.

@Dalai Felinto (dfelinto) do you mean pass an extra boolean into the function? That would make it less mysterious.

Feb 24 2017, 12:51 PM
Mike Erwin (merwin) added a comment to D2294: blender 2.8: OpenGL: New bezier curve shader and use in node editor..

Hey @Mike Erwin (merwin) since we are already assuming OpenGL3.3 for 2.8 can we merge this in? Or at least with some #ifdef. No reason for the patch to get too old :)

Feb 24 2017, 12:35 PM · OpenGL / Gfx, Restricted Project

Feb 23 2017

Mike Erwin (merwin) accepted D2521: Initial rework of BKE's mesh_render to support BMesh directly..

Code looks good. I had concerns at first but the more I read the better I feel about this.

Feb 23 2017, 6:09 AM