Soft Transform

Plugins linking to this thread: (hide)

Soft TransformAuthor: Piotrek Marczak
AKA its full name Screen Space Proportional Object Transform. This tool works similar to the built-in Proportional Transform Tool, but operates on objects instead of on points. Features as listed in the si-community thread:

TAB switches modes translate/rotate/scale (like in tweak tool) l/m/r mouse button for t/r/s (like in view space transform tool) .Rot. and scale is temporary, after releasing m/r button, tool switches to translate mode fcurve falloff from Move Proportional tool R hotkey for size change (like tweak tool) auto key handling for animation distance is measured to object's pivot point lock transformation to selected objects fancy buttons basic collisions (raw triangle mesh vs swept bounding sphere)

video demo / video demo (updated version) . Source available here. More details inside the si-community thread.

local backup: SoftTransform_x64_v11.xsiaddon

Discussions concerning plugins for SOFTIMAGE©
User avatar
origin
Posts: 619
Joined: 09 Jun 2009, 11:59
Location: warsaw

Soft Transform

Post by origin » 29 Apr 2012, 20:24

Hi
here's updated plugin that I've been working on for some time. I didn't have time to test it in production environment so...as usual, If you find a bug, report it please!

It's like View Plane Proportional Transform tool, but for objects.
LMB - translate, MMB - rotate, RMB - scale.

hold SHIFT to rotate/scale about point.
Hold CTRL to transform all objects with full strength.

Press K] to switch between tool modes (t/r/s)
Press ENTER to pop up preferences PPG.

Collision model is very simple (triangle mesh vs bounding sphere) and not accellerated (read: slow). By default collision happens between selected (static) objects and objects you move.
Tool respect filters/auto key toolgle/children compensation buttons.

You will find it here: Model->component->View plane object... (I know, weird location)

I've included source code, if anyone brave to compile it under linux/32bit. Vc project has some hardcoded paths because my visual studio has stopped working as it should..



older video:
Attachments
pmSoftTransform_1.11.zip
plugin v1.11, x64 (newest)
(67.26 KiB) Downloaded 373 times
SoftTransform_x64_v11.zip
plugin v1.1, x64, >= 2012
(66.4 KiB) Downloaded 550 times
SoftTransform_source.7z
source code for v1.1
(216.65 KiB) Downloaded 376 times
Last edited by origin on 15 Aug 2012, 08:36, edited 2 times in total.

User avatar
eternal art
Posts: 93
Joined: 08 Jun 2009, 22:48
Location: UAE - Abu Dhabi

Re: Soft Transform

Post by eternal art » 29 Apr 2012, 23:48

origin .. your tools is outstanding .. thank you very much for sharing it ..

damn ... how amazing the softimage peoples is .
Last edited by eternal art on 30 Apr 2012, 00:22, edited 1 time in total.
3D Supervisor - Production House .

User avatar
CiaranM
Posts: 87
Joined: 09 Jun 2009, 01:37
Location: London
Contact:

Re: Soft Transform

Post by CiaranM » 30 Apr 2012, 00:11

Nice!

User avatar
TwinSnakes007
Posts: 316
Joined: 06 Jun 2011, 16:00

Re: Soft Transform

Post by TwinSnakes007 » 30 Apr 2012, 07:23

All of your plugins are top notch, thanks sooo much.

Thanks for providing the code.

-TS-

User avatar
origin
Posts: 619
Joined: 09 Jun 2009, 11:59
Location: warsaw

Re: Soft Transform

Post by origin » 30 Apr 2012, 09:35

Thanks guys :ymblushing:
If anybody got some time to test mesh painting plugin, drop me a PM please

User avatar
Rork
Posts: 1359
Joined: 09 Jul 2009, 08:59
Location: Close to The Hague, Netherlands
Contact:

Re: Soft Transform

Post by Rork » 30 Apr 2012, 13:26

I can only agree with the comments above.

Top notch stuff here!! :-bd :-bd

It's great to see some really nice tools emerging from the new SDK. Please don't stop creating tools like this!! :ymparty:

rob
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!

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

Re: Soft Transform

Post by Memag » 30 Apr 2012, 13:55

Amazing tools.
Thank you very much Piotrek!

milanvasek
Posts: 143
Joined: 09 Jun 2009, 12:12
Location: Czech Republic
Contact:

Re: Soft Transform

Post by milanvasek » 30 Apr 2012, 14:07

looks great! can't wait to try it
thank you very much for sharing this with us :ymapplause:
Milan Vasek
ceramic artist & softimage fan
http://www.milanvasek.com

User avatar
rray
Moderator
Posts: 1774
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: Soft Transform

Post by rray » 30 Apr 2012, 15:21

Wow neat! Works very stable.

I wondered, did you meet any limitations with the custom tool SDK? Or would you say it's be possible in theory to rewrite any of the factory tools with it?
softimage resources section updated Jan 5th 2024

User avatar
ace63
Posts: 176
Joined: 07 Jun 2009, 12:30

Re: Soft Transform

Post by ace63 » 30 Apr 2012, 15:58

Great tool.
I'm wondering if it would be possible to implement the same thing to draw on particles in a pointcloud.
So one could paint sizes, translation and orientation.

User avatar
origin
Posts: 619
Joined: 09 Jun 2009, 11:59
Location: warsaw

Re: Soft Transform

Post by origin » 30 Apr 2012, 17:29

rray wrote:Wow neat! Works very stable.

I wondered, did you meet any limitations with the custom tool SDK? Or would you say it's be possible in theory to rewrite any of the factory tools with it?
I think it's possible to replicate them all...the only limitation I've faced so far is that you cannot log actions for undo (BeginParameterUpdate...) in mouse move event.

User avatar
origin
Posts: 619
Joined: 09 Jun 2009, 11:59
Location: warsaw

Re: Soft Transform

Post by origin » 30 Apr 2012, 17:35

ace63 wrote:Great tool.
I'm wondering if it would be possible to implement the same thing to draw on particles in a pointcloud.
So one could paint sizes, translation and orientation.
I was talking about it with Milan Vasek, I think I'll do something like particle brush tool after I finish meshpaint plugin.

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

Re: Soft Transform

Post by Memag » 30 Apr 2012, 17:41

Meshpaint plugin?
Do you have screenshot of this tool in "action"?
My god you're prolific.

User avatar
origin
Posts: 619
Joined: 09 Jun 2009, 11:59
Location: warsaw

Re: Soft Transform

Post by origin » 30 Apr 2012, 17:46

Memag wrote:Meshpaint plugin?
Do you have screenshot of this tool in "action"?
My god you're prolific.
If anybody got some time to test mesh painting plugin, drop me a PM please
;)

scaron
Posts: 119
Joined: 08 Jul 2009, 05:16

Re: Soft Transform

Post by scaron » 01 May 2012, 07:02

hey piotrek

thanks for the source code! but i see you are using a visual studio 2010 library parallel patterns library (ppl.h) which means i can't compile this with visual studio 2008. i know i know, upgrade right? well thats not an option at this time, i was also trying to make a cmake build system for your plugin in order to facilitate others compiling it for 32bit windows and make it easier when porting to linux.

can you explain your usage of ppl.h (either here or in pm) so i can look into finding a cross platform alternative? TBB or OpenMP etc.

s

User avatar
origin
Posts: 619
Joined: 09 Jun 2009, 11:59
Location: warsaw

Re: Soft Transform

Post by origin » 01 May 2012, 11:22

I was trying to parallelize some loops. Well in the end only one loop got that chance..

Concurrency::parallel_for( 0, (int) tris.GetCount()*3,3, [&] (int k)
// for (LONG k=0;k<tris.GetCount();k+=3)

so you can safely uncomment for( and delete all concurrency lines
the speed gain was minor.

I didn't know ppl is not portable...will look into TBB since openMP is dead(?)

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests