Notifications
Clear all

[Closed] Grease Pencil Max script

That psycho kees rijnen has done that already…

1 Reply
(@jhaywood)
Joined: 11 months ago

Posts: 0

Waaaaa??? Where’s that script!?

It was in a thread somewhere – Drop him a quick mail. He showed a video of a tool that did that which only worked with aniamte off though I think…

 PEN

Just read in the help that this isn’t the case in Max 8 anymore.

 PEN

If any one cares here is my meger attempt. Thanks for the inspiration Bobo. I always learn from you. Mine doesn’t have half the features of Bobo’s, but hey, I’m not Bobo. I took a different approch to the drawing so you have to go in and out of drawing mode to change colours and navigate the viewport.

http://paulneale.com/scripts/PEN_whiteBoard.zip

 PEN

Of course now I’m seeing some odd errors. Can some one please test this for me and tell me if they get any errors? I can draw with it but eventualy I start to get errors.

 PEN

Ok I have some huge problems with this. If the curser leaves the viewport while drawing it will cause a line to be drawn down to the corner of the viewport. Often it will crash Max and I just got it to restart my computer for me.

1 Reply
(@jhaywood)
Joined: 11 months ago

Posts: 0

I actually had that same problem with Bobo’s script, although I can’t reproduce it now. A line was drawn straight down to where the arrow was and Max crashed.

 PEN

The issue that I was having was caused by lines that were to long. I have forced a break in the line now so it doesn’t try and draw ones that are to long. The only place that you notice is if you draw a really long line and do an undo.

http://paulneale.com/scripts/PEN_whiteBoard.zip

I really like both versions and think it would be great to mix the features of the two.
On my machine, bobo’s drawings don’t work properly. They only draw for so long before cutting out and if I start another line, it connects to the previous on and draws these strange connecting lines between the two splines (could it be a direct3d thing?).
I do however like the fact you can put different drawings on different frames and have onion skinning.
Paul’s script draws fine on my machine and lines look how they should. I also like the docking window on the side. I would however prefer to have the lines to be only on the current frame and have the other time based options bobo’s script has. Also, when I click on another viewport the lines copy to that one too and to any others I make active and the only way to get rid of them is to clear the whole thing (this is true for bobo’s script as well).
I’d like to option to clear only the active viewport and a redo button would also be nice. Finally, I’d also like to be able to click on the draw button again to stop drawing along with the right click cancel option.
Oh and one more thing, it’d be nice to have the lines stay where you’ve drawn them so they’re locked to the 3d position of where they were drawn. This would be better when working with character poses.
Nice work guys.
:¬)

 Boa

Bobo’s script works in max7, but crashes max8 as soon as I try to place the first stroke. Is it possible to make it work in max8 too?

Andrea

3 Replies
(@jhaywood)
Joined: 11 months ago

Posts: 0

Hmm, I was using it in 8 with no problem. I’m running Max 8 with service pack 2.

(@bobo)
Joined: 11 months ago

Posts: 0

I wrote it in max8 (without any SP applied).
The main difference might be that I am running with LOTS of MAXScript Heap memory (around 128MB) instead of the default. Since my script tries to record a point 100 times /second, it might be running out of memory on typical installs. Try bumping up your memory limit in Customize>Preferences>MAXScript tab and restart Max.

Please remember the script is a proof of concept (prototype) and is full of bugs.
Anyone interested can try to use it as a starting point. I don’t think I will have the time to polish it into a production tool.
I might actually go the way of bitmap painting for a change…

 Boa
(@boa)
Joined: 11 months ago

Posts: 0

yes, you’re right. After rising the memory every works fine. Must have done this in my max7 install and forgot to to so for max8.
thanks a lot,
Andrea

 rdg

Max 8 SP1 crashed using Bobo’s script after a few strokes.
Will update to SP2, and try again.

Georg

Page 3 / 5