MENU

MAXScript: turn multiple diagonals

This is a short, helpful maxscript snippet I wrote a few months back. Without a script like this, the Max UI only exposes a face’s Diagonal through the “Turn” and “edit triangulation” tools, both of which offer cumbersome, multi click interfaces to turn edges. Often an artist will need to turn quads’ diagonals quickly, so I wrote this script to quickly and easily toggle the diagonal rotation of every currently selected face.   fn turnDiagonals = (     local exitcode     if(classof (modPanel.getCurrentObject()) == Editable_Poly) then     (         selectedArray = (polyop.getFaceSelection $) as array         if (selectedArray.count >= 1) then         (                 undo "turn selected faces" on             (                 for f = 1 to selectedArray.count do                 ( -- Formula to get the number of diagonals --                     diagCount = (polyop.getFaceEdges $ selectedArray[f]).count - 3 --Turn every diagonal in the face --                     for d = 1 to […]
Read More ›

Hard Pencil Photoshop brush

  Download _HardPencil brush preset in .abr format here.  This is a photoshop brush I made to solve a common problem sketching pixel art and low res textures. It uses a solid white texture in the brush settings to produce a harder, solid edge, similar to anti-aliased pixel art. I discovered this texture trick a few months ago and have used the brush a ton since — it’s not perfect, but it’s saved me a bunch of time. Some notes due to weird photoshop Texture behavior: The brush cannot produce uniform, clean blending. Instead of a consistent transparency value the blended edges will have a random noisness to them. You shouldn’t use the marks produced by it in pixel art without a little manual cleanup. For the same reasons as above, thin lines seem to depend a little bit on the speed of your stroke. Due to the way photoshop scales/interpolates Textures, you can’t make a 1px line at 100% flow settings — try 20-30% flow if you want to make a single line. I find 23% to be the magic number for shift + clicking lines. Otherwise this can do everything a regular photoshop brush can do — it’s great for […]
Read More ›