Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

 
First page  Go to the previous page   [01]  [02]  Go to the next page  Last page
 
Complex Spline Error - Why-o-why!!(Image attached)
show user profile  ccampbell
Check out the attached image.

I am generating the spline using the edges of a complex geometry. This rotation error always happends between the first and last knot on the spline without fail!

I think the spline is rotating 180 degrees over the entire length of the spline and so this error is only visible between the first and last knots.

Any advice on fixing this or just a plain out - THIS CANT BE FIXED will do! lol

Thanks guys! hope somebody has an answer to this one its REALLY important i get this working or find some otherway to make what i need in the mean time.




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 657 times
12/7/2011 1:23:26 AM (last edit: 12/7/2011 1:23:26 AM)
show user profile  ScotlandDave
There may be some way.. try a reset xform modifier on the spline.. i`m sure i`ve had this before..



Website | Blog | Contact | Vimeo

read 641 times
12/7/2011 2:10:21 AM (last edit: 12/7/2011 2:10:21 AM)
show user profile  K-tonne
2 verts close together?
try reset xform on the object you're taking the spline from
if all else fails convert to editable poly/ add an edit poly modifier to the stack and delete the single line of polys and bridge the gap

Website and Portfolio

read 630 times
12/7/2011 4:48:42 AM (last edit: 12/7/2011 4:48:42 AM)
show user profile  Mr_Stabby
is the vert where it happens bezier corner type? try setting it to just bezier to align the vector angles

read 621 times
12/7/2011 8:59:14 AM (last edit: 12/7/2011 8:59:39 AM)
show user profile  geoffneck
Also, try adding a NORMALIZER modifier to the spline, then loft it...

read 603 times
12/7/2011 11:53:04 AM (last edit: 12/7/2011 11:53:04 AM)
show user profile  ccampbell
Hi Guys,

Thanks for the awesome responses! so ive tried all ofthe suggestions and nothing has worked yet so i think it may help if i better explain what i'm trying to achieve.

The goal here is as follows

-create a spline shape from geometry
-lay it over a model of an arm and shrink the spline to the arm
-use the spline to trim the geometry(think shapeMerge)
-remove geometry from outside of spline

RE ScotlandDave & K-tonne:
Tried resetting the Xform on the spline as well as on the geometry before creating my shape from edges and this did not do the trick. Also, i need to fix this rotational issue to extrude the spline for trimming. I cant merge the verts at the rotation portion because they are rotate 90-180 degrees because i need the rectangle not the not the radial. i just used the radial to show the rotation better. a more exact example is the 2nd image ( above) that shows the rectangle being used
-sorry for the confusion.

RE Mr_Stabby & geoffneck:
Currently i'm adding a normalize modifier and collapsing to get a spline with less vertex points than my original spline and this converts all knots to smooth in the process.

None of these solutions worked just right so here are a few more images showing the process a bit better.

Thanks again for everybody's really quick responses.




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 579 times
12/7/2011 5:37:19 PM (last edit: 12/7/2011 5:39:34 PM)
show user profile  K-tonne
have you got zbrush?
that high poly arm looks sculpted on a bit is why i ask, and you could do this pretty easily in zb with masks and extract
you could probably do this in mudbox too but i've not used it for years and wouldn't know offhand how to do this procedure

offhand... ?
..no?
meh

Website and Portfolio

read 568 times
12/7/2011 6:12:39 PM (last edit: 12/7/2011 6:12:39 PM)
show user profile  ccampbell
actually we are current doing this in zbrush! good call. The hope is that i can write a script to perform the same procedures in 3ds max because the zbrush method is not fast enough and ultimately can not be automated. I will be doing this a lot so having a script that can do most of the hard work is prefereable.

- Any ideas on how i could recreate the shape merge script? it performs just as i would like but unfortunately does not work all the way around the arm(circumferentially).




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 562 times
12/7/2011 6:24:29 PM (last edit: 12/7/2011 6:24:29 PM)
show user profile  Garp
If this is what you're after (not sure) it should be fairly easy to automate.


Unable to display content. Adobe Flash is required.




read 521 times
12/8/2011 10:40:17 PM (last edit: 12/8/2011 10:40:39 PM)
show user profile  K-tonne
have you tried splitting the spline up into 2 or 3 pieces so the problem with shapemerge not being able to do more than 180' doesn't occour?

Website and Portfolio

read 515 times
12/8/2011 10:50:06 PM (last edit: 12/8/2011 10:50:06 PM)
show user profile  Garp
delete geometry outside of the spline

Oops. I misread that. Well, exact same thing then, but with intersection (+ cookie) instead of subtraction.
I think you might be overcomplicating things with the spline.




read 503 times
12/9/2011 2:05:57 AM (last edit: 12/9/2011 2:05:57 AM)
show user profile  ccampbell
Thanks alot guys for posting but stilln o solution. Here is the update after a few day's of research

RE Ktonne: I have considered splitting the spline but that wont work in this scenario it has to be fully automated and the spline shapes will be different with each instantiation. Luckily I've over come that issue thus far.

RE Garp: thanks alot for the video! but..... I can not extrude the spline mathematically it is not possible I've come to understand... and also, shelling my geometry object inward does not work because of the irregularity of my geometry's(which will not get any better!) causing self intersections.

I have come up with a solution for making what i need MANUALLY but the problem is it has to be done with NURBS and automated.

Solution:
-generate spline from edges
-normalize spline
-shrink spline to surface
-offset spline and create a ruled surface between the 2 splines. shell the rulled surface
-Proboolean > subtract + cookie

Problem:
There is NO documentation on creating NURBS or performing NURBS operations except for the maxscript help witch is way to vague for me to understand. I have everything working great now except that i can not create the ruled surface from the 2 splines using MAXSCRIPT

Thanks again so far for all the help!!! STILL OPEN TO SUGGESTIONS.




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 484 times
12/9/2011 7:12:11 PM (last edit: 12/9/2011 7:13:10 PM)
show user profile  Garp
Looking at your first pic with the arm, the surface from which you later extract the spline is pretty close to the arm. Self-intersections shouldn't be a problem.
You just need to shell enough so that it goes through the arm's surface, not all the way through the arm.

For the scripting, look for NURBSRuledSurface in the index.




read 472 times
12/9/2011 10:01:50 PM (last edit: 12/9/2011 10:01:50 PM)
show user profile  ccampbell
The "template" geometry from which i am generating my splines is to far away to shell with out self intersecting. the other thing you should know is this will be used on arms that are much smaller and larger than the on in the image. I always try to find solution before asking for help but in this case i am completely stumped... I HATE not being able to solve a problem my self!!

I found the NURBSRuledSurface in the index but can not figure out how to translate it into something i can use. Where you able to understand how to use it when looking at the index? if so could you give me an example of how i might connect any 2 splines using the provided information?

I hate to ask for that much help but this has really got me questioning max's ability to do what we need and that could mean problems for me long term.... I'm happy to provide geometry's and splines for testing to anybody that has the time or is willing to have a look.

For the record i have also tried using surface tools (crossSection & Surface mod) and its a no go as well. The only solution i have found to work is generating a ruled surface between my 2 splines and then shelling the result.




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 467 times
12/9/2011 10:41:54 PM (last edit: 12/9/2011 10:42:33 PM)
show user profile  ccampbell
Here is the max file with the splines already generated just incase somebody is up to the challenge... i have included the splines them selves as well as a copy of the splines with the desired end result...
http://www.cicanimation.com/temp_download/Example_Splines.rar




$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};



read 462 times
12/9/2011 11:11:56 PM (last edit: 12/9/2011 11:11:56 PM)
 
First page  Go to the previous page   [01]  [02]  Go to the next page  Last page
 
#Maxforums IRC
Open chat window


Support Maxforums.org