spline problem (i dont know what to delete)

pixelnoizz's picture

i think i didnt delet something.

spline started to do dumb things. Maybe because i copied different comps in to one comp. I attached, some traces of the problem.

thanks

david

ps: i checked, and i cannot find any multiple copy of gltools.

PreviewAttachmentSize
bug.jpg
bug.jpg50.1 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

gtoledo3's picture
Re: spline problem (i dont know what to delete)

This is one that you "should" see deprecated versions of, because of an anti-aliasing issue with gl-spline (I think?, hard to remember). It allows you to use the older version of the patch. You do see the new version too though, right?

cwright's picture
Re: spline problem (i dont know what to delete)

Not quite:

The deprecated versions are stubs for the new versions -- internally, we changed how the GLTools patches are identified, and we had to keep the old ones around to ensure backwards compatibility with old compositions (otherwise, it would give errors, and you'd have to renoodle everything).

Those are completely normal, and using them actually doesn't hurt anything -- GLTools is smart enough to only create new ones even if you use the deprecated ones, so nothing obsolete is ever created. (a couple other patches do this too I think, but GLTools is the most prolific)

pixelnoizz's picture
Re: spline problem (i dont know what to delete)

yeah, but the spline now making me crazy. Its lost their curves. Like when you pull the subdivisions to a low number. But in my example its 200.

PreviewAttachmentSize
bug2.jpg
bug2.jpg36.83 KB

cwright's picture
Re: spline problem (i dont know what to delete)

check the actual values, restart QC, restart the mac (in that order) -- there's a really subtle bug in the spline that causes it to forget its values sometimes (Not sure how it works, it gets reported every few months, but I've never been able to reproduce it).

If it forgot the values (nan, or huge, or whatever), you have to regenerate them manually.

pixelnoizz's picture
Re: spline problem (i dont know what to delete)

its ok. The values are... i attached a shot. So i changed the spline, and now is working normally. Summarizing, the problem is identical if you duplicate or copy splines. Normally the next question should be, there will be a GLspline structure... But iam shy to ask it:)

thanks

david

PreviewAttachmentSize
bug3.jpg
bug3.jpg42.83 KB

dwskau's picture
Re: spline problem (i dont know what to delete)

From looking at those values this looks similar to the problem I had where the spline patch would randomly change the values entered into it.

Spline Patch Value Initialization

cwright's picture
Found It!

So, reports of the spline freaking out go all the way back to like late 2007 (!). I've never been able to reproduce it, but more than a few users have chimed in to note it happening under mysterious circumstances that I was never able to reproduce.

This week I've been going over GLTools 1.2 with a fine-toothed comb for release friday morning, and I am pleased to announce that I've Finally found this bug, reproduced it, and, most importantly, fixed it.

Holy cow, that was driving me crazy all this time, and now I can lay it to rest (and work on other exotic bugs :)

pixelnoizz's picture
Re: Found It!

nice work, and here is a new screenshot from 1.2.

Spline with no points:)

PreviewAttachmentSize
splineerr.jpg
splineerr.jpg37.9 KB

cwright's picture
Re: Found It!

cool -- under what circumstances did that happen?