Deforming a lattice on a mesh

Hi everyblendies…

I’ve created a relief with a texture (with the “noise” function). Now, for a silly reason :D, I want to deform a lattice on this mesh (for the lattice having the same relief). I tried with the parent system, it doesn’t work… HELP ! :eek:

Thank’s !

Do you mean you want to deform your mesh using a lattice? If so, then add a Lattice modifier to your mesh. The modifiers tab is in the Editing (F9) buttons. Make sure you enter the name of the lattice into your mesh’s modifier, the default name is lattice.

In the old system, you parented the mesh to the lattice (select the mesh THEN the lattice) and the lattice worked.

In the new system (2.4+), you have two options. Either parent the mesh to the Lattice and choose “Lattice Deform” then in the modifiers menu you can select the Lattice panel and press “make real”.

Or, you can just select the mesh and make a Lattice Deform modifier for it, entering the Lattice name in the appropriate place.

The difference between these two new options is that the parent/modifier option works with both Object Mode and Edit Mode transformations whereas just adding a modifier means the lattice only deforms the mesh with the Lattice in Edit Mode. The mesh won’t move, rotate or resize with a Lattice altered in object mode using this method.

I prefer the parent>modifier>make real option.

It is not that I want to do : I want exactly the contrary : I have a mesh wich have a relief; and I want the lattice having the same relief.

Oh, you want the train to ride on the passengers instead of the passengers riding on the train? :eek: I don’t think you can do that since lattices can transfer deformations but I don’t think they accept them.

No doubt it could be done by reading verts into a python script and having it reform the lattice to match. The lattice would have to have an incredibly high resolution to deform to a noise texture relief. (Also note that a NorMap/BumpMap doesn’t really have a relief, it’s an illusion - but that’s another story)

Why do you want to do it? Maybe if you explain the whole story of what you plan to do we could offer better suggestions.

Also note that a NorMap/BumpMap doesn’t really have a relief, it’s an illusion - but that’s another story

I think it’s because I’m french, my english is to bad… I’ve used a texture (black an wite), and then I’ve clicked on “noise” in the mesh editing panel.

Why do you want to do it? Maybe if you explain the whole story of what you plan to do we could offer better suggestions.

Yes, good idear :

Ok, so on this image, you can see that the trees roots folow the relief. But you know, I’ve 6 other tree to do. It take a lot of time by extruding and extruding and extruding, moving vertice, extruding, moving vertice… :eek:

So, I tried to do it with the soft body, it doesn’t work, the roots are (I’m looking for a word) to “slim” :confused:
So I’m looking for another method, with the lattice, because the lattice can defform a mesh… But to do that, the lattice have to be as the relief… and then it’ll be easy to parent the tree’s roots.

But if you have an other solution (for exemple, can a mesh folow the relief of a other mesh ?)… no pb !! :smiley:

Thank’s for your help…

Hmmm, way over my head - so I’ll take a wild guess until someone else comes along.

Assuming the hills in the landscape are the noise texture (?), could you maybe apply exactly the same texture to the tree roots (you’d need to use a common co-ord system for the textures - and that’s where I go all blank and start staring into space.) But I don’t know how you’d stop the texture affecting the whole tree - though I’m sure it could be done - or even if this would work at all, sorry.