Sunday, November 30, 2014

Grease Pencil Dev Updates

Here is a quick update of some of the things I've been working on with the Grease Pencil integration since my last update.




EDIT: Now in master
https://developer.blender.org/rB14b951747f6a93a8e87a25f5001d9e3afc6528b1


Perhaps the biggest points worth noting here are that:
1) You can now animate Grease Pencil settings such as line thickness, opacity, and colour. Naturally, this opens up quite a few creative possibilities.

2) I've fleshed out the pie menus a bit more to make them (hopefully) even more useful as quick-access type things. That said, for those who do not like these, they are not the primary interface for working with these tools; it is still perfectly possible to get work done without needing to see one at all. Indeed, I've changed the hotkeys to make them a bit less intrusive (i.e. "Ctrl-D" "D Q" for bringing up the main pie menu, and "D Q" "D W" for the new "Settings" pie; "D Tab" still toggles between strip edit mode)

3) We have a few more frequently requested tools: Namely, "Bend", "Shear", "To Sphere", and "Select Linked" now work. A few other tools added include "Select More/Less".

4) Proportional Editing settings should now be visible and work everywhere Grease Pencil is supported, provided that you are in "Stroke Edit Mode".

5) Editing strokes on frames where there isn't already a keyframe creates a new keyframe

6) World backgrounds are now rendered in OpenGL renders too. You'll need to enable a separate option to get these to show in the 3D viewport now, but once that's done, they will work in your OGL renders too. (Courtesy of Antony @ BI/Gooseberry)

7) Using Grease Pencil in the Node Editor should be a bit nicer/faster now, since actions there no longer force the node editor to recompute everything (including every single time you move a pixel while painting strokes)

14 comments:

  1. Nice!

    btw I found three bugs.
    * grease pencil of 'View' placement is buggy on editing.
    * color fill and volumetric on non-3D-view are broken.
    * changing grease pencil data does not change without zoom on 3d-view

    ReplyDelete
    Replies
    1. Thanks for testing!

      1) This one is slightly tricky to resolve, and is admittedly something i'd been a bit wary about for a while. It's on my todo list of things to fix now though.

      2) Nice catch. Fixed the issues there (there were 2 different ones from what I saw), along with another long standing bug there that I hadn't been able to fix before.

      3) Fixed as well :)

      Delete
    2. Thank you for fixing :)
      but zoom-independent thickness of 2D grease pencil looks regressed.

      Delete
    3. btw I found the way to fix offscreen renderer.

      in gp_draw_data(...):
      - glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
      + glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ONE_MINUS_SRC_ALPHA);

      Delete
    4. Wow! Thanks for finding that - I didn't know of this function :D

      Delete
  2. Such an important commit. Thank you for your hard work!!
    PD: Any luck with previewing scene strokes on the sequencer (when using scene strips)??.

    ReplyDelete
  3. Hi, thanks for your hard work, it would be interesting to have a couple of basic shapes, square and circle


    This is looking more and more like a vector animation program, a few more "details" and we have a new tool creation in blender ....
    Text, shapes, control in thick stroke in each point shape and finally 2D bones

    Thanks for your work
    =:-)

    ReplyDelete
  4. And not only that, we could have the best animatic / previz tool in the market, if only the sequencer would see those strokes... Imagine doing shots with 3d + the grease pencil and then be able to preview a whole sequence of that, without having to render anything.

    ReplyDelete
  5. ... And Shape Keys

    Thanks for your work
    =:-)

    ReplyDelete
  6. About what I have been constantly insisting (sequencer opengl preview to see grease pencil). Couldn't it be that the sequencer by default reads the scene as "render only", like with the setting in the viewport?? This way the opengl preview doesn't see grids, hidden stuff, etc. To me it works just the same as activating render only. If this is just a setting in the sequencer code, maybe it would be easy to add a tick to disable it!

    ReplyDelete
    Replies
    1. Ok, I've taken a look into this today. After some investigation, it does look like it should be fine to do this, so I've committed this functionality now. :)

      Delete
  7. THANK YOUUUUUUUUUUUUUUUUUUUUUUUUUUUU!!!!!!!!!!! MAN I CAN'T EXPRESS THE LOVE ENOUGH!! This is the storytellers DREAM!!!!

    ReplyDelete
  8. http://www.blenderartists.org/forum/showthread.php?318765-Blender-2-7x-development-thread&p=2735847&highlight=#post2735847

    Just what I wanted! Thank you! Now if only GP gets tied into render and material system, that would be perfect.

    ReplyDelete
  9. Not sure where would be an official place to comment, but it seems connected proportional edit isn't working right now?

    ReplyDelete