PDA

View Full Version : spherify function?


somlor
02-22-2003, 10:20 PM
Check out the attached picture. Is there a quick way to take those selected verts and "spherify" them so they have the same shape as if they were created with the "cylinder" command with the same number of verts? If not I think that would be a cool feature. :p

[s]

wasamonkey
02-23-2003, 12:09 AM
somlor yep use tighten and or deform inflate

somlor
02-23-2003, 05:56 AM
yeah, but neither tools seem to be able to respace the verticies evenly in a circular form.

Actually this concept got me thinking about a useful deform function that would do this and more. morphVerts: you select two faces and it transforms the first faces vertices to match the second ones (as long as there is an equal number of verts). the bridge command already calculates something like this so I don't think it would be too hard.

http://www.seanomlor.com/images/forum/multiSnap.jpg

It would basically in one step what the above shows in three. Also I cut out the hassle that it took to get from two to three in the image. I had to create edge loops, extract faces, delete faces, and move and rotate with alignments.

[s]

puzzledpaul
02-23-2003, 07:59 AM
Using Tighten / Inflate can produce acceptable results (including equispaced verts) – but depending on the degree of distortion, you’ll probably need several applications - painless using shft D.

Slightly modified version of method shown.

Am assuming you’ve already got your problem poly (pp) and reference shape (that you don’t want to destroy)
Extract end face off ref
Select pp face and extracted face and Store | Selection (I have this on hkey), deselect pp
Face | PutOn, select pp and LMB as ref still selected
Recall | Selection (also on hkey) and use Face | Bridge
Select edges around pp and dissolve
Cleanup

With pp and no pre-existing ref shape.
Create ref shape (use a cone)
Select edges around pp face and Store | Selection
Select pp face (hit F then (-) ) and ref end face and Store | Selection, deselect pp face

Then as before with Put On, dissolve loop, collapse cone apex, cleanup etc

Depending on the shapes involved, using Store / Recall may or may not be useful – but if one face is difficult to see / select - then it makes sense (imo).

Whilst any variant of the above (or your) method is likely to have a similar no of steps – so a dedicated tool will need to address various issues (been discussed at ODF before) associated with axial alignment, rotation, scale etc ?

pp

somlor
02-24-2003, 07:21 PM
clever workaround puzzledpaul, thanks!

As for the dedicated tool specifics, I think the original face should stay where it was and at it's original orientiation but with the rotation and scale of the reference shape. You can always rescale, rotate and put on afterwards.

[s]

CGTalk Moderation
01-14-2006, 12:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.