Feature Request - Basic Drawing Tools

Mark Durham's icon

Just wondered if anyone else would use this feature - basic drawing tools to draw or scribble on the canvas. I often just want to draw a couple of lines or boxes etc, would be nice not to have to do this in Photoshop and import as an image. Presumably Max has some advanced vector graphics built into it already, could this be used to create boxes, curves, numbers etc that are nice scalable, perhaps even rotatable..??

$Adam's icon

You may be interested in sadam.canvas (see https://cycling74.com/forums/announce-the-sadam-library-version-2012-10-08 ). Although you can't directly use the mouse to draw, the object reports mouse actions as well, so with some patching you may be able to create a basic drawing tool with it. And yes, it supports rotations and scalings. ;-)

With fonts, I have had minor problems, as the native rendering and Max-rendering deals with text rotation differently, so you may want to experiment a little bit to find out the proper settings (and, as far as I remember, the proper settings are different in Max5 and Max6). However, I can confirm that, once the proper settings are figured out, the object works fine.

Hope this helps,
Ádám

Rob Ramirez's icon

check out jit.mgraphics. the helpfile implements a canvas for drawing.