[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

https://github.com/folkertdev/frees tyle-gpencil-exporter/bl

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 2

File: image.png (50KB, 960x270px) Image search: [Google]
image.png
50KB, 960x270px
https://github.com/folkertdev/freestyle-gpencil-exporter/blob/master/freestyle_to_gpencil.py

Could somebody take a look at this script and see what's going on with it? It's supposed to turn Freestyle lines into Grease Pencil, it runs fine when put into Blenders script editor, but when I try enabling Freestyle, the Add-on, then rendering it, Blender just crashes. I can't figure it out.
>>
Also, upon trying to run it in Blender 2.77(which it was made in) it seems to have issue with the line:
,options = { 'ANIMATABLE ' }
>>
It's Blender. They change the Python API every single minor release. It's not a bug, it's a feature and it's open source, so you can fix it yourself.
>>
>>572513
Still, you'd expect it to at least work in the version it was made for... but I absolutely do need this add-on to work, and it's lazy to ask others to fix it for me.

I guess I'll have to learn Python specifically to fix this. Are there any good resources for learning Python specifically for Blender?
>>
>>572517
Don't bother. Seriously. If you're not very experienced with Python and C++ (which you may need to actually fix the crash) already it's going to take you years to fix that thing and it's going to break at the next minor release anyway.
>>
>>572518
Like I said, it's something I need to get working as it's pivotal to the animation style I'm developing, and it did work at one point so I figure I can get it going again.

And so long as I can get it working on one version I'll probably end up sticking with that version. It's shitty but not having that add-on or something like it sets me back quite a bit. The way it auto generated line art saved me a ton of time at one point.
>>
>>572521
If it's for the automatic regularization of the hand drawn lines, autotrace does that too:
http://autotrace.sourceforge.net/
You're going to have to read the manual and fiddle with it a litte bit but al least it's robust and doesn't depend on Blender.
>>
>>572524
https://m.youtube.com/watch?v=eAT4AMkJNls

More so it was to have a workflow similar to this. I mostly did traditional art and animation up till recently, and this method takes a ton off my shoulders while still giving me a traditional look to my animation, and it all works so easily.. or did anyways.
>>
OP why don't you open an issue ticket and report this bug ? include a short description ,steps to reproduce and an example where this example fails.
have you tried this addon on a new scene ? .blend files sometimes get dirty and can cause addons to behave this way.

and lastly try an earlier release :

this early version c9601fc61ecd03f3f354aa324efcf8598d24782b on https://github.com/folkertdev/freestyle-gpencil-exporter/commits/master/freestyle_to_gpencil.py seems to be identical in functionality but uses a different method/approach (according to that commit message) , i would give it a try if i were you.
>>
>>572557
Yep, afraid I did all that multiple times yesterday. I even went so far as trying every old script with Blender 2.76 through 2.78. It seems the only ones that sort of work are the first four iterations of the script in Blender 2.78, but the lines come out crazy and look like something you would see in flash rather than the clean ones in the video. There are people in the comments of the video claiming they got it to work in 2.77, but upon trying to get the add-on working through the preferences it won't even recognize it. Manually pasting the code gets me the issue with >>572511. I'd say the only thing I haven't done is reported the bug, though I have contacted the guy that made the script. I haven't got a response back though.

Right now I can get a samurai jack look to my animation, but what I really wanted was to simulate a hand drawn line art look.
>>
File: image.jpg (1MB, 3264x2149px) Image search: [Google]
image.jpg
1MB, 3264x2149px
>>572597
And this happens when I try enabling that particular script you shared in 2.77. In 2.78 it reverts to crashing on render.

(Also, sorry I couldn't get an actual screenshot. IP got banned a while back for something I didn't do some I'm posting from my phone.)
>>
>learn a material that looks decent and creates a solid cell shaded look
>might even look traditional
>don't use an add-on, just use what's in blender
>turns out blender has an issue showing the material even in GLSL view
>another case where it works for some people and doesn't for others

I think that's the straw that broke the camals back. Seems like Blender is more broken that people would let on. How is Maya comparatively?
Thread posts: 12
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.