LivePaint plugin

Plugins linking to this thread: (hide)

LivePaintAuthor: Ahmidou Lyazidi
Here is an alpha version of a paint tool that doesn't need weight maps to deform a mesh. It's far from finished but is usable for painting push and smoothing. To install, copy the dll in your plugin directory then run this jscript command in the script editor: LivePaint()

Some things you need to know: only 32bit for now RMB to chose between push and smooth shift drag to change the brushopacity control drag to change the brush radius it only work on freezed objects undo will revert the object to it's state befor freeze there are many bugs, use it at your own risk — Have fun.




local backup: LivePaint.32.dll LivePaint.64.dll (copy to a Plugins directory)

Discussions concerning plugins for SOFTIMAGE©
Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: LivePaint plugin

Post by Ahmidou » 29 Aug 2011, 10:18

Hi Jester
Thanks for the feedback, I know about this crash, it occurs undoing while the tool is still active.
Undo is not that easy to get as the putPositionArray function is quite limited (I think it's for performance reasons)
so I have to find a workarounds.
All tour requests are already on my list, be patient ;)

Cheers
Ahmidou

Ramon
Posts: 111
Joined: 19 Aug 2010, 22:47

Re: LivePaint plugin

Post by Ramon » 29 Aug 2011, 21:35

gr8! wait for stability version and undo function

calmasacow
Posts: 52
Joined: 17 Jun 2009, 17:53

Re: LivePaint plugin

Post by calmasacow » 30 Aug 2011, 16:35

Ok I can see the circle representing radius. But cant Adjust it R doesnt work.
The colors of the verts highlight but I dont see any deformation.

Some explanation of how the tools works perhaps I'm doing something wrong.

Oh and in 2012 SP1 x64 on exit I get:

' ERROR : 2268 - This function is missing:
' <function: LivePaint_DoExitTool>
' <path: \\3DM-SPACEDOCK\XSI_workgroups\3Dmotif_2012\Application\Plugins\LivePaint.64.dll>
'

User avatar
Memag
Posts: 339
Joined: 09 Aug 2010, 01:37
Location: Tits

Re: LivePaint plugin

Post by Memag » 30 Aug 2011, 16:46

calmasacow wrote:Ok I can see the circle representing radius. But cant Adjust it R doesnt work.
The colors of the verts highlight but I dont see any deformation.

Some explanation of how the tools works perhaps I'm doing something wrong.

Oh and in 2012 SP1 x64 on exit I get:

' ERROR : 2268 - This function is missing:
' <function: LivePaint_DoExitTool>
' <path: \\3DM-SPACEDOCK\XSI_workgroups\3Dmotif_2012\Application\Plugins\LivePaint.64.dll>
'

Ahmidou said there are some things you need to know:

-RMB to chose between push and smooth
-shift drag to change the brushopacity
-control drag to change the brush radius
-it only work on freezed objects
-undo will revert the object to it's state befor freeze
-there are many bugs, use it at your own risk

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: LivePaint plugin

Post by Ahmidou » 30 Aug 2011, 16:53

I forgot to say that the exit is not implemented yet, and the brush opacity/size update
is not working fine yet (but it's working).
I think I have found something for the undo and the crash.
A new version will come soon.

Regards
A.

anyheart
Posts: 46
Joined: 26 Jun 2011, 06:42

Re: LivePaint plugin

Post by anyheart » 21 Sep 2011, 17:56

camer wrote:not work ( softimage 2012 sp1 x32)
Image

win7 x64 si2012 sp1
the same problem . .. :-\

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: LivePaint plugin

Post by Ahmidou » 21 Sep 2011, 18:11

anyheart wrote:
win7 x64 si2012 sp1
the same problem . .. :-\
You may miss some libraries can you test the dll with this utility: http://www.dependencywalker.com/

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: LivePaint plugin

Post by Hirazi Blue » 21 Sep 2011, 19:48

What did you compile it with?
Could be simply some users are missing the necessary runtime redistributables,
which especially make sense, if you used the 2010 version of Microsofts compiler,
as not everyone has them yet...
If so: here are the runtimes: x86 and x64
Stay safe, sane & healthy!

anyheart
Posts: 46
Joined: 26 Jun 2011, 06:42

Re: LivePaint plugin

Post by anyheart » 25 Sep 2011, 19:01

Ahmidou wrote:
anyheart wrote:
win7 x64 si2012 sp1
the same problem . .. :-\
You may miss some libraries can you test the dll with this utility: http://www.dependencywalker.com/

:((
errors were detected when processing

"c:\users\cgs\autodesk\softimage_2012_sp1\application\plugins\LIVEPAINT.64.DLL."See the log window for details.


here is the details:

Error: At least one required implicit or forwarded dependency was not found.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
Attachments
001a.jpg
001a.jpg (48.34 KiB) Viewed 5326 times

anyheart
Posts: 46
Joined: 26 Jun 2011, 06:42

Re: LivePaint plugin

Post by anyheart » 25 Sep 2011, 19:05

Hirazi Blue wrote:What did you compile it with?
Could be simply some users are missing the necessary runtime redistributables,
which especially make sense, if you used the 2010 version of Microsofts compiler,
as not everyone has them yet...
If so: here are the runtimes: x86 and x64


i try it(Microsoft Visual C++ 2010 Redistributable Package (x86)) in xp32, but still the same problem...

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: LivePaint plugin

Post by Ahmidou » 25 Sep 2011, 21:33

I'm sorry this is not working for you.
SICPPSDK are softimage libs, so you should have them linked and
I used MVS 2010 express so the redistributable package should work
You ca try to find the dlls on the web and copy them in the same diretory you copyed the plugin, but I think that's a bad solution.

Anyway I'm still fighting to make the undo work I have a solution with user data map but it's slowing fps down a lot....

Regards

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: LivePaint plugin

Post by Hirazi Blue » 25 Sep 2011, 22:07

Ahmidou wrote:You ca try to find the dlls on the web and copy them in the same diretory you copyed the plugin, but I think that's a bad solution.
That is indeed a very bad solution as there is way too much malware around disguised as "genuine dll's". #:-s

From what I can tell from a quick internet search, I get the vague impression, Visual C++ 2010 might not be completely compatible with XP anymore, as there are several reports of missing dlls related to XP & the 2010 redistributable.

That said, one question seems to remain, @anyheart: your Windows XP installation has been updated to include Service Pack 3? I don't know if that matters much, but it seems to be a requirement for the redistributable.
;)
Stay safe, sane & healthy!

anyheart
Posts: 46
Joined: 26 Jun 2011, 06:42

Re: LivePaint plugin

Post by anyheart » 29 Sep 2011, 19:44

Hirazi Blue wrote:
Ahmidou wrote:You ca try to find the dlls on the web and copy them in the same diretory you copyed the plugin, but I think that's a bad solution.
That is indeed a very bad solution as there is way too much malware around disguised as "genuine dll's". #:-s

From what I can tell from a quick internet search, I get the vague impression, Visual C++ 2010 might not be completely compatible with XP anymore, as there are several reports of missing dlls related to XP & the 2010 redistributable.

That said, one question seems to remain, @anyheart: your Windows XP installation has been updated to include Service Pack 3? I don't know if that matters much, but it seems to be a requirement for the redistributable.
;)

yes,it is Service Pack 3.

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: LivePaint plugin

Post by Hirazi Blue » 29 Sep 2011, 19:59

You could try download the demo of Dependency Checker and try it on the dll. This software seems to give a more straight-forward account of the dependencies and even tells you which are obviously missing. After that we might get a clearer picture of what's going on. Don't know if this helps, but you can always try.

edit: but looking at your earlier screenshot again, couldn't it just be, you're trying to install the x64 version of the plugin, "LivePaint.64.dll" on a 32 bit machine, for which you should use the 32 bit version, "LivePaint.32.dll"?
Stay safe, sane & healthy!

anyheart
Posts: 46
Joined: 26 Jun 2011, 06:42

Re: LivePaint plugin

Post by anyheart » 30 Sep 2011, 20:20

Hirazi Blue wrote:You could try download the demo of Dependency Checker and try it on the dll. This software seems to give a more straight-forward account of the dependencies and even tells you which are obviously missing. After that we might get a clearer picture of what's going on. Don't know if this helps, but you can always try.

edit: but looking at your earlier screenshot again, couldn't it just be, you're trying to install the x64 version of the plugin, "LivePaint.64.dll" on a 32 bit machine, for which you should use the 32 bit version, "LivePaint.32.dll"?
i use the “LivePaint.64.dll” on win7 x64 , and use the "LivePaint.32.dll" on xp_sp3 32bit....

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: LivePaint plugin

Post by Hirazi Blue » 30 Sep 2011, 21:30

Okay, my mistake. I didn't understand why you mention them both. Now I do. ;)
Stay safe, sane & healthy!

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests