Notifications
Clear all

[Closed] Grease Pencil Max script

 PEN

I noticed mine was chewing up memory as well and would crash if it tried to draw one line that was to long. It not automaticaly breaks the length of the line after 50 steps to get around this.

I’m going to try and add some of the features that Bobo has added as I have several ideas now about how to work all of this. Thanks Bobo for the inspiration and guildence on how to make it all work. I haven’t looked at Bobo’s latest version yet and I’m going to try not to. the onion skinning part is the only thing that I don’t understand how to do.

I’m going to change up the way that the data is stored so that it can handle unlimited layers and frames as well.

I seem to have trouble downloading Bobo’s version of the script. The linmk seems to be broken. This is the link I get when I clink on it…

http://www.scriptspot.com/bobo/mxs7/PencilTool/Bobo_s

Also, since I’m on the subject, a page with Bobo’s scripts for max 7 on his site doesn’t seem to work either…

Looking forward to try the grease pencil script.

Absolutely brilliant guys.

A Grease Pencil for Max at last. Bobo’s links’ dead though so I couldn’t download that version neither however, I have been able to get to script.com but didn’t find it. Guys kindly post a link or a zip or something.

Wouldn’t it be just brilliant to roughen out all those hard fought for Key Poses before the 3D model gets animated.

Kindly post a zip for Bobo’s version of the Grease pencil.

Thanks

1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

I zipped it and removed the space from the name (I assume it was causing problems in some web browsers).

http://www.scriptspot.com/bobo/mxs7/PencilTool/PencilTool.zip

I also added code to increase HeapMemory by 64MB if it is set to less than that, and reduced the recording speed to 50 samples per second instead of 100.

Fixed both LightTable and SpinEdge.
Thanks for letting me know…

Thanks Bobo for reposting the link!

How the fun begins…

I was just curious if either of these two scripts might work in Max 6? I ‘m looking for this exact script that will function in Max 6. ( Yes I know its an old version but its all that I have to work with at the current time. ) Thanks guys!!

 PEN

I don’t have Max 6 loaded any more but I think that mine will. I could be wrong, give it a try as it will not cause any problems. I don’t have time to complete my final version with all the bells and whistles as I’m knee deep in production at the moment. I will post it when it is done.

Hi all!!, I´ve been following this thread closely because I´m really used to work in Maya with the grease pencil Jason created.And now I´ve been recenly hired by a studio that works only with 3dMax!.:banghead:
I´ve tested Bobo´s script and I have to say that it´s a great approach, but it didn´t work, because it keeps drawing even when you use the move or rotate tools. It should have a “draw tool ” button just like grease pencil had. So you could pose your character as you use the sketch as reference. Because when you close Bobo´s window, the drawings dissapear.Or maybe I don´t know how to use it properly.

The other think I found odd is the decision of making darker lines as they are further from the current frame in the onion skin. It would be more easy to see if the colors get to a grey color similar to the default viewport background.

I hope the efforts continue in translating this amazing tool to 3dmax! Congratulations to those taking the challenge!! , I´m no programmer or scripter but I admire profoundly the people who do it. Thanks!!!:bowdown:

I must admit I have never seen the original grease pencil implementation in Maya, I just had an hour free and used it. My tool is just a draft, cannot and should not be used in production and was written mostly because I wanted to know whether it can be written.
(And there is always the inner need to show you Maya heads that MAXScript is not as limited as some of you believe ;))

Locking the drawing to a certain view would not be a problem. I might do that. Remember that my approach was very different – I was not creating anything “physical” in the scene, so the script had to run to keep the drawing “alive” in the viewport. Drawing to a bitmap or creating splines (which I have done many years ago and don’t see as a challenge anymore) would be a much better idea IMHO.

Finally, I don’t need this tool myself, so given my general workload, I don’t expect to work much on this code in the future. I encourage anyone with the knowledge and free time to use these protorypes to develop an actual production tool!

1 Reply
(@graeme)
Joined: 11 months ago

Posts: 0

i thought the same thing so i added a couple of buttons to help with this; draw and hide.
i’m not a programmer or scripter either so i may have made it terribly buggy. oh well it seems to work

btw trying to run the script twice at once makes it so you can’t close it, so don’t do it

 PEN

Unlike Bobo I continued work on mine and have added lots of new features like locking drawings to specific viewports and frames as well as drawing in 3D so that they are locked to the grid that you have drawn them on. It is in a working test stage but I want to change up again the way that I’m storing all the data as it was getting slow to redraw but like Bobo with my current work load it isn’t going to get completed any time soon as I don’t need it right now either.

I will let every one know when it is done. Now my concern is if Bobo thinks that it should be done in a different way then I might want to rethink off if this even more. Not sure that at this point that I’m going to change the way that I’m drawing though as I like the fact that the lines are not objects in the Max scene.

Page 4 / 5