same size polys 2004-03-23 - By Chris Marshall
Back What if you calculate the average area, then loop through every poly, comparing the size with the average. If a poly is greater than twice the average, it's subdivided down. Now each poly needs to be scaled towards the average, but you don't do this in one go. Maybe you scale the first poly by 10 percent of what it needed to be scaled to reach the average. then you move onto poly 2 and do the same, etc etc. So when you've done the lot, they're all slightly closer to the size you want them to be. Then you process the whole thing again, so that bit by bit, it moves in the right direction. How many times you need to cycle through, I have no idea. I'm probably talking total rubbish!
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf Of Helge Mathee Sent: Tuesday, March 23, 2004 2:34 PM To: Chris Marshall; XSI@(protected) Subject: Re: same size polys
Well - this will result in a recursive problem. When you scale a polygon, all surrounding ones will be scaled as well. That's why this problem is really not that trivial.
That's the same for moving a point. This will change the size of one polygon in a correct way, but the others connected to that points may be influenced in a wrong way.
So imo the only way to solve that is a complete analysis of the mesh, and projecting it completely new and fresh. *yumm*
Helge
-- -- Original Message -- -- From: "Chris Marshall" <chris@(protected)> To: "Helge Mathee" <helge.mathee@(protected)> Sent: Tuesday, March 23, 2004 3:29 PM Subject: RE: same size polys
> Thanks Helge! I'll give that a try. > I had assumed that points on the existing geometry would need to be moved, > to get this to work. That's not a problem. > I was thinking that an average size could be calculated, then individual > polys would be scaled to fit that average. If they were more than twice the > size of the average, they would be subdivided first, then scaled. > Something like that? > The overall shape isn't too important, so post tweaking can be done. > > Chris > > > -- --Original Message-- -- > From: Helge Mathee [mailto:helge.mathee@(protected)] > Sent: Tuesday, March 23, 2004 2:23 PM > To: XSI@(protected); Chris Marshall > Subject: Re: same size polys > > > Hi Chris, > > try the attached script. > I did this once... It selects all polygons which are greater than the > average one. > May use the script, subdivide, use it again, subdivide.... > > Should result in ya, well - nearly what you were asking for. > > Do you want to move the points of existing geometry - or just to subdivide? > > -- -- Original Message -- -- > From: "kim aldis" <kim@(protected)> > To: <XSI@(protected)> > Sent: Tuesday, March 23, 2004 2:31 PM > Subject: RE: same size polys > > > > Alternatively, someone somewhere wrote some smooth tools which might relax > > the mesh into something like your're talking about. > > > > > -- --Original Message-- -- > > > From: owner-xsi@(protected) > > > [mailto:owner-xsi@(protected)] On Behalf Of kim aldis > > > Sent: 23 March 2004 13:09 > > > To: XSI@(protected) > > > Subject: RE: same size polys > > > > > > A geodesic would be the way to do that Chris, or isn't that > > > what you mean? > > > > > > > > > > -- --Original Message-- -- > > > > From: owner-xsi@(protected) > > > > [mailto:owner-xsi@(protected)] On Behalf Of Chris Marshall > > > > Sent: 23 March 2004 11:48 > > > > To: XSI@(protected) > > > > Subject: RE: same size polys > > > > > > > > Helge, > > > > If you just take a default sphere and try to subdivide it > > > so all the > > > > polys are the same size. It's as simple as that. > > > > Cheers > > > > > > > > Chris > > > > > > > > > > > > -- --Original Message-- -- > > > > From: owner-xsi@(protected) > > > > [mailto:owner-xsi@(protected)]On Behalf Of Helge Mathee > > > > Sent: Tuesday, March 23, 2004 10:58 AM > > > > To: XSI@(protected) > > > > Subject: Re: same size polys > > > > > > > > > > > > okay - send me an example scene or somethin'. > > > > > > > > I will have a look at it. > > > > > > > > > > > > -- -- Original Message -- -- > > > > From: "Chris Marshall" <chris@(protected)> > > > > To: <XSI@(protected)> > > > > Sent: Tuesday, March 23, 2004 11:21 AM > > > > Subject: RE: same size polys > > > > > > > > > > > > > Helge, > > > > > come over here and have a great big hug! > > > > > Ahem, yes, there ...ere... is a need. > > > > > > > > > > ..coughs in a rather deep voice. > > > > > > > > > > If you could, that would be superb!! > > > > > > > > > > What else can I say but Thanks! > > > > > > > > > > Chris > > > > > (father of 2) > > > > > > > > > > > > > > > -- --Original Message-- -- > > > > > From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On > > > > > Behalf Of Helge Mathee > > > > > Sent: Tuesday, March 23, 2004 10:09 AM > > > > > To: XSI@(protected) > > > > > Subject: Re: same size polys > > > > > > > > > > > > > > > not sure if possible with the on-board-tools... > > > > > > > > > > I'd use a script... let me know if there's a need... ;-) > > > > > > > > > > I wear my mercy-trousers today... > > > > > > > > > > cheers, > > > > > > > > > > Helge > > > > > -- -- Original Message -- -- > > > > > From: "Chris Marshall" <chris@(protected)> > > > > > To: <xsi@(protected)> > > > > > Sent: Tuesday, March 23, 2004 10:54 AM > > > > > Subject: same size polys > > > > > > > > > > > > > > > > Hi All, > > > > > > I have a fairly irregular shaped object (a sphere with > > > > bits pulled > > > > > > out > > > > in > > > > > > all directions, a bit like a starfish), and I want to > > > > subdivide it > > > > > > up so that all the polys (triangles) are more or less the > > > > same size. > > > > > > Is this possible to do fairly easily? > > > > > > Thanks > > > > > > > > > > > > Chris > > > > > > > > > > > > > > > > > > Chris Marshall > > > > > > Senior Animator > > > > > > Eclipse Creative Limited > > > > > > Tel: +44 (0) 29 2047 0070 > > > > > > Fax: +44 (0) 29 2047 0071 > > > > > > www.eclipsecreative.co.uk > > > > > > www.eclipsecreative.tv > > > > > > > > > > > > > > > > > > --- > > > > > > Unsubscribe? Mail Majordomo@(protected) with the > > > > following text in > > > > body: > > > > > > unsubscribe xsi > > > > > > > > > > > > > > > > --- > > > > > Unsubscribe? Mail Majordomo@(protected) with the > > > > following text in body: > > > > > unsubscribe xsi > > > > > > > > > > > > > > > --- > > > > > Unsubscribe? Mail Majordomo@(protected) with the > > > > following text in body: > > > > > unsubscribe xsi > > > > > > > > > > > > > --- > > > > Unsubscribe? Mail Majordomo@(protected) with the > > > following text in > > > > body: > > > > unsubscribe xsi > > > > > > > > > > > > --- > > > > Unsubscribe? Mail Majordomo@(protected) with the > > > following text in > > > > body: > > > > unsubscribe xsi > > > > > > > > > > > > > > > > > > > > --- > > > Unsubscribe? Mail Majordomo@(protected) with the following > > > text in body: > > > unsubscribe xsi > > > > > > > > > > > > > > > > > --- > > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > > unsubscribe xsi > > > >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|