Deform by UV
Plugins linking to this thread: (hide)
Deform by UV
This addon basically allows to »texture« an object using a second, more
or less flat object. This can be used for some interesting new modeling workflows
because a lot of structures like for example folds, creases, scars, also all sorts
of repetetive patterns are much easier to create using a flat layout first.
It takes a few steps to set this up, but everything is outlined in detail in the si-community thread (see below). Also see the »Deform by UV Plugin« by Constantine Tarasenkov which enables a one-click workflow for these compounds.
local backup: UV-deform.rar
It takes a few steps to set this up, but everything is outlined in detail in the si-community thread (see below). Also see the »Deform by UV Plugin« by Constantine Tarasenkov which enables a one-click workflow for these compounds.
local backup: UV-deform.rar
author site: http://www.matkovic.com / si-community thread
Plugin for »Deform by UV«
This is a usability plugin for Anto Matkovic's »Deform by UV« compounds which basically allow to »texture« an object using a
second, more or less flat object.
Two youtube videos recorded by spookymunky1 demonstrate the workflow: Modelling leg bindings in Softimage XSI using Deform by UV Compounds Part 1 and Part 2
local backup: UV-deform.rar
Two youtube videos recorded by spookymunky1 demonstrate the workflow: Modelling leg bindings in Softimage XSI using Deform by UV Compounds Part 1 and Part 2
local backup: UV-deform.rar
author site: http://procedural.tumblr.com / si-community thread
Deform by UV
Hi all,
Here are few simple compounds that can deform mesh by another mesh, using UV projection as a reference. It's very old idea, similar result can be achieved by using XSI Cage deform Op, or Deform by Surface, together with Shrink Wrap. But this one is using UV projection, so distortion is minimized. It doesn't require any special tweaking in order to be fast.
Originally it's created for sliding the mesh on another mesh, but I've used it also for some kind of 'projected modeling'. Mainly for cloth and high poly space-ship hulls.
It definitively isn't one-step method, but I've found it very usable for 'long range' modeling, because seems to be much easier to model 'in plane'. Also, it's easy to reuse the already modelled patterns, again and again. Let's say for modeling a set of space ships of different kind, but still sharing the same style. Deformer can carry deformation too.
It doesn't work very well on meshes with sharp edges.
Sample model is created, following these steps:
1: Polymesh > Subdivision from original (because ICE doesn't take subdivision Geo Approx into account) - this mesh is 'cacher' for deformation
2: Nice, well unfolded UV projection on 'cacher'
3: Disconnecting edges at UV seams on 'cacher'
4: Un simulated ICE tree with compound called 'UV Deform On Cacher'
5: New, 'modeling mesh' - this one is for modeling
6: Clone of 'modeling mesh' - as a final result - this one has another un simulated ICE tree, with compound called 'UV Deform On Mesh'
The last step with cloned mesh is for convenience reason, to allow the all stages of deformation to be visible.
Personally I've found this method a very usable, hope it can help the others a bit.
Take it here
Cheers
Re: Deform by UV
Brilliant work again! I'm so going to be using this - it will allow some interesting workflows
I hope geo approx will be made accessible by ICE
Thanks a lot for releasing it, Anto
I hope geo approx will be made accessible by ICE
Thanks a lot for releasing it, Anto
softimage resources section updated Jan 5th 2024
Re: Deform by UV
Very hand to have. Works great. Smart thinking!
-
- Posts: 253
- Joined: 17 Feb 2010, 15:13
Re: Deform by UV
hi Mathaeus
this is highly interesting. i love the example you came up with. the deformed cloth just looks great!
i tried to go through the steps but had no success so far.
how did you get the flat "UV-like" polymesh? is there an export function in the texture editor?
cheers
this is highly interesting. i love the example you came up with. the deformed cloth just looks great!
i tried to go through the steps but had no success so far.
how did you get the flat "UV-like" polymesh? is there an export function in the texture editor?
cheers
SI 2015 @ WIN7-64
Re: Deform by UV
Hi,caledonian_tartan wrote:hi Mathaeus
i tried to go through the steps but had no success so far.
how did you get the flat "UV-like" polymesh? is there an export function in the texture editor?
cheers
There isn't export function in TE. It's a simple ICE compound (already described in step 3 and 4 of first post) that takes UV positions and converts them to 'real' positions, but keeping the original values in custom attributes, so another mesh can use original values. In order to all works properly, UV projection shouldn't overlap, also edges on mesh should be disconnected at UV seams ( I'm doing that by selecting all edges in TE, then running 'Contour Selection' command).
Optionally, you can connect an additional null, just to place that mesh on some convenient place for modeling (otherwise it will stay somewhere inside world 0 - 1 unit)
As some rule of thumb, try to keep all meshes at world zero transform. Also, 'UV deform on Cacher' compound need to point at existing UV projection - by default, compound will try to use a 'common' 'Texture_Coordinates_AUTO' > Texture Projection.UVs'.
BTW, no big deal to extend functions of these compounds, let's say to do reverse function of 'unfolding' , and so on - but I didn't wanted to bother people with too much options in first post.
Thanks you guys !
-
- Posts: 253
- Joined: 17 Feb 2010, 15:13
Re: Deform by UV
alright. got it. the compound initially just pointed to the wrong UV. so simple, so great, thanks!
SI 2015 @ WIN7-64
Re: Deform by UV
I cant begin to tell you how cool this is..
Ive been skirting around doing this kind of thing for ages, using all kinds of overly complicated methods, whereas yours is elegant and brilliant.
It will enable me to solve a very specific issue that i have never been able to solve on my facial rigs.
Thanks very much.
Ive been skirting around doing this kind of thing for ages, using all kinds of overly complicated methods, whereas yours is elegant and brilliant.
It will enable me to solve a very specific issue that i have never been able to solve on my facial rigs.
Thanks very much.
Re: Deform by UV
Thank you guys, again
Actually I planned to use this for some kind of facial rig, but it never went further than this prototype. I don't have plans to work on it more, except to make the compounds cleaner, maybe one day.... Basically it's a 'reverse' of method from this thread, plus 'automatic envelope', created from pairs of nulls. Especially this 'envelope' needs the improvement.
Anyway, it would be really great if someone find it useful for 'real' facial rig.
Cheers
Actually I planned to use this for some kind of facial rig, but it never went further than this prototype. I don't have plans to work on it more, except to make the compounds cleaner, maybe one day.... Basically it's a 'reverse' of method from this thread, plus 'automatic envelope', created from pairs of nulls. Especially this 'envelope' needs the improvement.
Anyway, it would be really great if someone find it useful for 'real' facial rig.
Cheers
Re: Deform by UV
Could anyone help explain the steps to a layman like myself who has zero experience with ICE? I've tried following the steps here but I only end up with red nodes regardless of what I select in the explorer, and more confusion.
Re: Deform by UV
hi there,Cryrid wrote:Could anyone help explain the steps to a layman like myself who has zero experience with ICE? I've tried following the steps here but I only end up with red nodes regardless of what I select in the explorer, and more confusion.
afaik, most problems become from wrong UV property. You have to double click on 'UV deform on cacher' compound, then browse from it's PPG, to small blue-gradient square in explorer, called UVs (you should see a few ICE attributes there). Default is set to frequent 'cls.Texture_Coord....'
Another problem that I know, is a cluster that carrying the UVs, called 'Sample' - exactly what you'll get by importing *.obj file from another app. If you rename it to anything else (zample, bob...), it should be fine.
That's about red node. For rest of setup, I think it's already explained. BTW I agree that this setup looks a bit weird, but that's best I've been able to do, using only ICE nodes.
Cheers
Re: Deform by UV
Ah, I didn't realize you had to go all the way down to the .UVs, I was just trying the projections. Also I guess you have to drag the cacher onto the ICE tree and connect it to the compound in order to get the cloned shape to deform back?
Seems to work now though, thanks.
Seems to work now though, thanks.
Re: Deform by UV
nice you got it to work !
btw it's not new for XSI, it's similar to an old plugin by Kim Aldis. Even only with standard XSI operators, it's possible to do something close to this - cage deform on clone, shrink-wrap on clone, so on. But ICE+UV approach seems to be much faster and precise.
Clone is for comfortable 'in-plane' modeling, 'deform null' is also for placing the 'catcher' into some convenient SRT.
That's how looks setup for this one.
cheers
btw it's not new for XSI, it's similar to an old plugin by Kim Aldis. Even only with standard XSI operators, it's possible to do something close to this - cage deform on clone, shrink-wrap on clone, so on. But ICE+UV approach seems to be much faster and precise.
Clone is for comfortable 'in-plane' modeling, 'deform null' is also for placing the 'catcher' into some convenient SRT.
That's how looks setup for this one.
cheers
Re: Deform by UV
Very cool compounds, Anto! Here I simplified the setup process to one-click solution.
Just put the plugin file attached below to "\Autodesk\Softimage_20##\Application\Plugins" user folder and under Model -> Create -> Poly. Mesh menu you'll find a "Create Deformed by UV mesh" button
There's "Cutline" or "Unfold_CutLine" edge clusters must exist on object to cut the UV mesh (unfortunately "Contour Selection" TE command is not exposed for SDK yet)
Should work on all versions that supports Python
Just put the plugin file attached below to "\Autodesk\Softimage_20##\Application\Plugins" user folder and under Model -> Create -> Poly. Mesh menu you'll find a "Create Deformed by UV mesh" button
There's "Cutline" or "Unfold_CutLine" edge clusters must exist on object to cut the UV mesh (unfortunately "Contour Selection" TE command is not exposed for SDK yet)
Should work on all versions that supports Python
- Attachments
-
- DeformByUV_Plugin.rar
- (1.63 KiB) Downloaded 573 times
Re: Deform by UV
Spasibo, Constantine
Re: Deform by UV
Just found a few tutorials, thanks to spookymunky!
Re: Deform by UV
It doesn't work with displacement maps though, correct ?Mathaeus wrote:
Hi all,
Here are few simple compounds that can deform mesh by another mesh, using UV projection as a reference. It's very old idea, similar result can be achieved by using XSI Cage deform Op, or Deform by Surface, together with Shrink Wrap. But this one is using UV projection, so distortion is minimized. It doesn't require any special tweaking in order to be fast.
Originally it's created for sliding the mesh on another mesh, but I've used it also for some kind of 'projected modeling'. Mainly for cloth and high poly space-ship hulls.
It definitively isn't one-step method, but I've found it very usable for 'long range' modeling, because seems to be much easier to model 'in plane'. Also, it's easy to reuse the already modelled patterns, again and again. Let's say for modeling a set of space ships of different kind, but still sharing the same style. Deformer can carry deformation too.
It doesn't work very well on meshes with sharp edges.
Sample model is created, following these steps:
1: Polymesh > Subdivision from original (because ICE doesn't take subdivision Geo Approx into account) - this mesh is 'cacher' for deformation
2: Nice, well unfolded UV projection on 'cacher'
3: Disconnecting edges at UV seams on 'cacher'
4: Un simulated ICE tree with compound called 'UV Deform On Cacher'
5: New, 'modeling mesh' - this one is for modeling
6: Clone of 'modeling mesh' - as a final result - this one has another un simulated ICE tree, with compound called 'UV Deform On Mesh'
The last step with cloned mesh is for convenience reason, to allow the all stages of deformation to be visible.
Personally I've found this method a very usable, hope it can help the others a bit.
Take it here
Cheers
Who is online
Users browsing this forum: No registered users and 36 guests