It is currently Fri Apr 26, 2024 4:35 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: Mathmap Issues
PostPosted: Fri Jan 21, 2011 12:10 am  (#1) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4048
I left a post on Mathmap Flickr and it doesn't seem to be very busy. Anyway, two kaleidoscope filters failed to parse = "Cannot assign to filter argument `rad'".

And there are 4 Twist filters, only Twist 1 seems to do anything, and #2, 3, & 4 don't seem to do anything at all. I figured that a) I wasn't using the filters correctly or b) they aren't working with the current version of mathmap (1.3.5).

I also read somewhere deep in the abyss of GimpTalk, that certain mathmap filters are required to be used in combination with other filters via composer. This brings up another question: how would a new user, like myself, know which filter required being used in combination via composer without having to run each filter through it to find out? If there was some indicator, perhaps they could be placed in a sub-folder indicating such. I do realize that "all" filters should be usable in the mathmap composer, just thought it should be easier to sort the filters out.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 1:08 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Mine is doing the same thing.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 1:39 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
The two Kaleidoscope filters gave me the same errors. Yesterday I used twist 4 and it worked fine. I'll try the others.

EDIT: All 4 twists work fine for me. I click the settings tab, turn on animate and periodic, and then adjust the slider for parameter t, to see the effect. I am using Mathmap 1.3.5

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 7:08 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4048
Greg: After viewing your twist tutorial I realized I wasn't using "those" filters correctly, but how would a new person know that, never having used the filters or knowing where to find the information to do so? So, in part, thanks goes to you for helping me solve the "twist" factor.

On the Kaleidoscope filters, I guess I am expecting too much in the sense of trying to find answers to a function I can't fix myself, but would if I knew what I was tinkering with. If it's just a simple matter of updating syntax, the next best thing would be a resource page from mathmap to indicate the changes and thus give those of us who want to "fix" filters a fighting change at doing so. I know, I am in the wrong place (gimpchat) to air this grievance, but something tells me someone out there knows more about it. Maybe, they'll drop by and see this.

UPDATE:

After watching one of Mark's YT Videos on mathmap, I decided, on a whim, to copy and paste the kaleidoscope.mm contents into the mathmap expression tab to see if it would point out the parse errors. What resulted instead was a working kaleidoscope filter, which I then added back into the Expressions folder. Weird! Now I am going to attempt the same thing with the animated kaleidoskope.mm code.

Image

And a link to a short answer, still unexplained though: http://groups.google.com/group/mathmap/ ... 60c4?pli=1

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 7:58 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Oh i didn't know you could paste in code...bravo! =)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 7:59 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
(foo and bar) <----rofl

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 8:18 pm  (#7) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4048
OMG this was just too easy! I guess the adage "Seek and ye shall find" works well here.

For the animated kaliedoscope, do three simple things:

1. Open the kaleidoscope.mm using a compatible editor (Notepad ++ or gEdit)
2. change the filter name to kaleidoskope, to avoid conflicts, and
3. swap this code:

ang=rot+(intang/2-sqrt(ang^2));

with this code:

ang=(rot*t)+(intang/2-sqrt(ang^2));

Then save.

Now, in order for the animation to work "properly" you have to set the parameter "t" (I gave mine a .25 setting for testing) in Settings and adjust your user values to be something other than "default", or else, your kaleidoscope animation won't have any flow to it. Most defaults are set at either 0 or 1, which in mathematical terms means "going nowhere" when multiplied times itself. Make sense?

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 8:43 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
You know what i did?
I searched the folder gimp-2.6\mathmap\expressions for all the mm filters and found 3 sometimes 4 of the same filter.
I deleted all but 1 of each and that fixed all the parser errors except Kaleidoscope.mm. =)

I don't know what this is but it turned out kinda cool looking and thought id share it.
made it with composer so i have no idea how to duplicate it...lol

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 9:11 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Animating the Kaleidoscope code was super simple. Here is my animated Kaleidoscope.


Attachments:
AniScope.gif
AniScope.gif [ 1.19 MiB | Viewed 4667 times ]

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.
Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 9:45 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
That looks really cool Greg.
Here is my peel animation.

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mathmap Issues
PostPosted: Fri Jan 21, 2011 11:20 pm  (#11) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4048
Good job, guys (Greg and Rod). :)

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Mathmap Issues
PostPosted: Sat Jan 22, 2011 12:22 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I still have a problem with it throwing same name errors though.(even though they are named differently)
Maybe ill just re-install it and see what that does.I am starting to think it's a 2.6.11 compatibility problem.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mathmap Issues
PostPosted: Sat Jan 22, 2011 2:55 pm  (#13) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4048
Rod, you have to rename the filter code, not just the file. At the beginning of the code is "filter" followed by the filter name, rename that portion, too.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Mathmap Issues
PostPosted: Sat Jan 22, 2011 4:52 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
No it does that with all the new animation mathmap filters i have.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mathmap Issues
PostPosted: Mon Jan 24, 2011 4:45 pm  (#15) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
happy you solved for the kaleidoscope,

i should fix and update the MM script pack.

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Mathmap Issues
PostPosted: Mon Jan 24, 2011 9:34 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thanks PC, that would be great! =)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) UI issues with UHD monitor

9

No new posts GC Connection Issues

11

No new posts Is anyone using Gimp 2.10.34 revision 2 having issues with my plugins

1

No new posts Attachment(s) Issues opening RAW files [Solved]

2



* Login  



Powered by phpBB3 © phpBB Group