home *** CD-ROM | disk | FTP | other *** search
/ ftp.xmission.com / 2014.06.ftp.xmission.com.tar / ftp.xmission.com / pub / lists / fractdev / archive / fractdev.9802 < prev    next >
Internet Message Format  |  1998-02-27  |  48KB

  1. From: Rich Thomson <rthomson@ptc.com>
  2. Subject: Re: (fractdev) progress.txt 
  3. Date: 02 Feb 1998 10:27:44 -0700
  4.  
  5.  
  6. In article <199801310324.VAA08430@virtual3.c-com.net> ,
  7.     "Tim Wegner" <twegner@phoenix.net>  writes:
  8. > > SIMPLGIF encoder fix                    TW (done)
  9. > This should be
  10. > > Fractint encoder fix                    TW (done)
  11.  
  12. Fixed.
  13.  
  14. > I owe several people sources for the fractint developer version and 
  15. > simplgif. I'll put something together, hopefully this weekend. We 
  16. > need a way to exchange patches. While posting attachments is a non-no 
  17. > on the fractint list, perhaps posting context diffs as zipped-up 
  18. > attachements would be OK here. (The zipping protects against 
  19. > inevitable mailer mashing of diff files.) I can also post things at 
  20. > my ftp site (ftp://ftp.phoenix.net/pub/USERS/twegner). Maybe my ftp 
  21. > site is the best bet.
  22.  
  23. Please DON'T zip the diffs.  There is no problem with "mailer mashing
  24. of diff files".  I don't know where you got this idea.  I have
  25. transmitted diff files by email for 10+ years and never, ever, ever,
  26. had a problem.  ZIPing text files only causes more problems in getting
  27. the text files portably to another system because you zip your DOS
  28. text file and when I get it to unix, then I have to strip line feeds
  29. or vice-versa.  If the file is transmitted as a text file, then we
  30. won't have to deal with that.
  31. --
  32.                                                Rich Thomson
  33.                                                rthomson@ptc.com
  34.  
  35. -
  36. Thanks for using Fractdev, The Fractint Developer's Discussion List
  37. Post Message:   fractdev@xmission.com
  38. Get Commands:   majordomo@xmission.com "help"
  39. Administrator:  twegner@phoenix.net
  40. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  41.  
  42.  
  43. -------------------------------------------------------------------------------
  44.  
  45. From: Rich Thomson <rthomson@ptc.com>
  46. Subject: Re: (fractdev) Re: progress.txt 
  47. Date: 02 Feb 1998 10:28:50 -0700
  48.  
  49.  
  50. In article <199801310324.VAA08434@virtual3.c-com.net> ,
  51.     "Tim Wegner" <twegner@phoenix.net>  writes:
  52. > For example, adding the assembler optimizations to the parser C 
  53. > language code is probably a separable project.
  54.  
  55. These are the items I had in the "to do" list; which of these are you
  56. working on currently, George?
  57.  
  58.     Formula Parser
  59.     --------------
  60.     - Add type information for expressions and variables
  61.     - Add remainder (modulus) operator/function
  62.     - Make C versions of corresponding assembly functions more efficient
  63.       (reduce function call overhead, apply optimizations)
  64.       - Provide a way to perform user-defined computations once per-image
  65.       - Provide a way to define and call named user functions like regular
  66.        functions
  67. --
  68.                                                Rich Thomson
  69.                                                rthomson@ptc.com
  70.  
  71. -
  72. Thanks for using Fractdev, The Fractint Developer's Discussion List
  73. Post Message:   fractdev@xmission.com
  74. Get Commands:   majordomo@xmission.com "help"
  75. Administrator:  twegner@phoenix.net
  76. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  77.  
  78.  
  79. -------------------------------------------------------------------------------
  80.  
  81. From: Rich Thomson <rthomson@ptc.com>
  82. Subject: Re: (fractdev) Welcome to Jonathan 
  83. Date: 02 Feb 1998 10:47:23 -0700
  84.  
  85.  
  86. Would someone email me Jonathan Osuch's email address for the
  87. developer's list?  Thanks.
  88. --
  89.                                                Rich Thomson
  90.                                                rthomson@ptc.com
  91.  
  92. -
  93. Thanks for using Fractdev, The Fractint Developer's Discussion List
  94. Post Message:   fractdev@xmission.com
  95. Get Commands:   majordomo@xmission.com "help"
  96. Administrator:  twegner@phoenix.net
  97. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  98.  
  99.  
  100. -------------------------------------------------------------------------------
  101.  
  102. From: Rich Thomson <rthomson@ptc.com>
  103. Subject: Re: (fractdev) Re: progress.txt 
  104. Date: 02 Feb 1998 11:33:22 -0700
  105.  
  106.  
  107. In article <199802021319_MC2-319A-8C08@compuserve.com> ,
  108.     George Martin <76440.1143@compuserve.com>  writes:
  109. > type info - I need more information about what is wanted here, and why.    
  110. >         This is not a high priority item for me right now, and should
  111. >             probably wait until other projects are done.
  112.  
  113. What is wanted: something similar to the C cast operator for
  114. expressions and typing of variables for declarations.  We already
  115. have the ability to take the integer portion of a value by doing
  116. int(x) (what is the meaning of int(z), with z complex?).  If one could
  117. type variables as integer or real:
  118.  
  119.     int iter,
  120.     real x,
  121.  
  122. then the parser could know that it didn't need to do complex
  123. arithmetic on these quantities.  Further, for "iter" it could use
  124. integer math.  Its a small quest for additional efficiency that
  125. motivates the proposal.
  126.  
  127. > modulus function - We can do this, but what *is* the modulus of one complex
  128. >             number divided by another? 
  129.  
  130. Good point!
  131.  
  132. > Once-per-image section - Not working on now. Could you give some examples
  133. >               of what is wanted here? I've already started tinkering with
  134. >               trisq and quadsq.
  135.  
  136. I didn't propose this, but I seem to recall the discussion going
  137. something like this.  People have user-defined functions and they want
  138. to do some computationally expensive setup calculations.  However,
  139. these calculations need only be done once for the entire image
  140. (computing critical points of the iterated function, for instance).
  141. Currently, they have to recompute the critical points for every pixel.
  142. Again, efficiency seems to be the motivation for this proposal, but I
  143. don't know that anyone put together anything specific on a proposed
  144. syntax.
  145.  
  146. I will add your updated info to the appropriate files! :)
  147. --
  148.                                                Rich Thomson
  149.                                                rthomson@ptc.com
  150.  
  151. -
  152. Thanks for using Fractdev, The Fractint Developer's Discussion List
  153. Post Message:   fractdev@xmission.com
  154. Get Commands:   majordomo@xmission.com "help"
  155. Administrator:  twegner@phoenix.net
  156. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  157.  
  158.  
  159. -------------------------------------------------------------------------------
  160.  
  161. From: Rich Thomson <rthomson@ptc.com>
  162. Subject: Re: (fractdev) Re: progress.txt 
  163. Date: 02 Feb 1998 11:56:20 -0700
  164.  
  165.  
  166. In article <199802021319_MC2-319A-8C08@compuserve.com> ,
  167.     George Martin <76440.1143@compuserve.com>  writes:
  168. > modulus function - We can do this, but what *is* the modulus of one complex
  169. >             number divided by another? 
  170.  
  171. I looked into a reference on complex numbers and it didn't seem to
  172. define the remainder of a complex number anywhere.  Division is
  173. defined, but its unclear how to compute the remainder of a complex
  174. division.  It might be handy to define z modulus w as:
  175.  
  176.     z = a + b i
  177.     w = c + d i
  178.     z % w = (a % c) + (b % d) i
  179.  
  180. This would make implementing whitesq, trisq, quadsq, etc. trivial in
  181. the per-pixel initialization.  However, I'm not sure that's the way we
  182. want to define complex modulus in general.  Then again, maybe it is if
  183. that's the real reason we want complex modulus :)
  184. --
  185.                                                Rich Thomson
  186.                                                rthomson@ptc.com
  187.  
  188. -
  189. Thanks for using Fractdev, The Fractint Developer's Discussion List
  190. Post Message:   fractdev@xmission.com
  191. Get Commands:   majordomo@xmission.com "help"
  192. Administrator:  twegner@phoenix.net
  193. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  194.  
  195.  
  196. -------------------------------------------------------------------------------
  197.  
  198. From: Rich Thomson <rthomson@ptc.com>
  199. Subject: Re: (fractdev) Welcome to Jonathan 
  200. Date: 02 Feb 1998 10:31:24 -0700
  201.  
  202.  
  203. In article <199801311434.IAA12941@virtual3.c-com.net> ,
  204.     "Tim Wegner" <twegner@phoenix.net>  writes:
  205. > Rich, maybe we should add a list of platforms to the developer info 
  206. > table. Mine are Win95, Linux, and DOS. My compilers are MSC 7.0 and 
  207. > MASM 6.1, dgjpp, and gcc (Linux). 
  208.  
  209. I'm not sure why this would be of help to other people?
  210. --
  211.                                                Rich Thomson
  212.                                                rthomson@ptc.com
  213.  
  214. -
  215. Thanks for using Fractdev, The Fractint Developer's Discussion List
  216. Post Message:   fractdev@xmission.com
  217. Get Commands:   majordomo@xmission.com "help"
  218. Administrator:  twegner@phoenix.net
  219. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  220.  
  221.  
  222. -------------------------------------------------------------------------------
  223.  
  224. From: "Jay Hill"<jrhill@nosc.mil>
  225. Subject: (fractdev) modulus function and image precalc
  226. Date: 02 Feb 1998 11:16:38 -0800
  227.  
  228.  
  229. George wrote
  230.  
  231.  
  232. >modulus function - We can do this, but what *is* the modulus of one
  233. >          complex  number divided by another?
  234.  
  235.  
  236. I asked for this functionality. The trunc() function almost does it all.
  237. And its use is for reals and also for integers. Reals for working with
  238. angles, for example. And integers for working with the iter or some
  239. color data.
  240.  
  241. The format might be like the C++ functions.
  242.  
  243.  
  244. As for the precalc (the once per image), will we have access to the
  245. image center/mag/rot data so we can make some kind of pre-scan
  246. to help set up the parameters? I'm thinking of several applications -
  247. 1) a coloring scheme (someone in the UNIX world used it) checked a
  248. few hundred scattered spots on his 1280x1024 image and scaled the
  249. color map based on these samples. He always had a nice flow
  250. of colors from the edge to the densest parts.
  251. 2) special parameters can be computed for any 'inside' components
  252. found. It there is array capability, an array of special parameters can
  253. be made which helps 'instant' filling of these components and/or
  254. special coloring schemes for the insides of these components.
  255. I'm experimenting with a few of these now.
  256.  
  257. Is there a function that tells us the pixel spacing.? If c=pixel and
  258. pixel moves up one or right one, what is the change in c?
  259.  
  260.  
  261. Jay
  262.  
  263.  
  264.  
  265. -
  266. Thanks for using Fractdev, The Fractint Developer's Discussion List
  267. Post Message:   fractdev@xmission.com
  268. Get Commands:   majordomo@xmission.com "help"
  269. Administrator:  twegner@phoenix.net
  270. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  271.  
  272.  
  273. -------------------------------------------------------------------------------
  274.  
  275. From: "Damien M. Jones" <dmj@fractalus.com>
  276. Subject: (fractdev) Notion: coloring formulae
  277. Date: 02 Feb 1998 14:22:24 -0600
  278.  
  279. I've been thinking about using the formula parser to define coloring
  280. algorithms.  Obviously, I already have one way to do it--but this requires
  281. editing the formula every time a new core fractal equation is to be used.
  282. So I was thinking about ways to generalize the technique, that are actually
  283. somewhat easy to bolt on to FractInt. :)
  284.  
  285. How's this idea sound?  Allow a second formula--a coloring formula--to be
  286. written.  This formula has its own p1, p2, p3, fn1, and fn2; it has access
  287. to z from the main "formula", as well as the other built-in variable types
  288. of the formula parser.  Like a "normal" formula, it has an init section, a
  289. per-iteration section, and a keep-iterating section (so the coloring
  290. formula can force a bailout as well as the fractal formula).  Essentially,
  291. it re-uses almost all of the existing formula parser.
  292.  
  293. Ah, well, it was just a thought.  I'd rather see looping abilities added to
  294. the formula parser, which will let me play around with a few other coloring
  295. techniques which right now aren't too practical. :)
  296.  
  297. Damien M. Jones   \\
  298. dmj@fractalus.com  \\  http://www.icd.com/tsd/  (temporary sanity designs)
  299.                     \\  http://www.fractalus.com/ (fractals are my hobby)
  300.  
  301.  
  302. -
  303. Thanks for using Fractdev, The Fractint Developer's Discussion List
  304. Post Message:   fractdev@xmission.com
  305. Get Commands:   majordomo@xmission.com "help"
  306. Administrator:  twegner@phoenix.net
  307. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  308.  
  309.  
  310. -------------------------------------------------------------------------------
  311.  
  312. From: George Martin <76440.1143@compuserve.com>
  313. Subject: Re: (fractdev) Re: progress.txt
  314. Date: 02 Feb 1998 17:21:51 -0500
  315.  
  316. Rich,
  317.  
  318. >
  319.  We already have the ability to take the integer portion of a value by
  320. doing int(x)
  321. <
  322.  
  323. The function is "trunc()", which lops of the fractional part of both the
  324. real and imaginary components of a complex number.
  325.  
  326. George
  327.  
  328. -
  329. Thanks for using Fractdev, The Fractint Developer's Discussion List
  330. Post Message:   fractdev@xmission.com
  331. Get Commands:   majordomo@xmission.com "help"
  332. Administrator:  twegner@phoenix.net
  333. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  334.  
  335.  
  336. -------------------------------------------------------------------------------
  337.  
  338. From: Rich Thomson <rthomson@ptc.com>
  339. Subject: Re: (fractdev) Notion: coloring formulae 
  340. Date: 02 Feb 1998 15:49:56 -0700
  341.  
  342. ------- =_aaaaaaaaaa0
  343. Content-Type: text/plain; charset="us-ascii"
  344. Content-ID: <24035.886459792.1@woody>
  345.  
  346. In article <3.0.3.32.19980202142224.02ed2ea8@megspo.megsinet.net> ,
  347.     "Damien M. Jones" <dmj@fractalus.com>  writes:
  348. > I've been thinking about using the formula parser to define coloring
  349. > algorithms.  Obviously, I already have one way to do it--but this requires
  350. > editing the formula every time a new core fractal equation is to be used.
  351. > So I was thinking about ways to generalize the technique, that are actually
  352. > somewhat easy to bolt on to FractInt. :)
  353.  
  354. Damien, does the attached message look familiar? :)
  355. --
  356.                                                Rich Thomson
  357.                                                rthomson@ptc.com
  358.  
  359. ------- =_aaaaaaaaaa0
  360. MIME-Version: 1.0
  361. Content-Type: message/rfc822
  362.  
  363. Delivery-Date: Mon, 19 Jan 1998 11:54:14 -0700
  364. Received: from dbank (dbank.ptc.com [199.6.17.9]) by woody (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id LAA01209 for <rthomson@woody>; Mon, 19 Jan 1998 11:54:14 -0700
  365. Received: from poster (poster.ptc.com) by dbank (5.x/SMI-SVR4)
  366.     id AA08348; Mon, 19 Jan 1998 11:54:11 -0700
  367. Received: from lists.xmission.com by poster (5.x/SMI-SVR4-NN)
  368.     id AA18912; Mon, 19 Jan 1998 13:53:17 -0500
  369. Received: from domo by lists.xmission.com with local (Exim 1.73 #4)
  370.     id 0xuMKj-0002Uk-00; Mon, 19 Jan 1998 11:54:05 -0700
  371. Message-Id: <199801191852.LAA01190@woody>
  372. Organization: Design Software Group, Parametric Technology Corporation
  373. Sender: owner-fractint@lists.xmission.com
  374. Precedence: bulk
  375. Reply-To: fractint@lists.xmission.com
  376.  
  377. In anticipation of 24-bit (and 32-bit) rendering modes in fractint,
  378. I've been wondering if there isn't a way to unify all the various
  379. coloring tricks embedded in FRMs as well as fractint's internal
  380. coloring algorithms.  Here is what I have been thinking... if we
  381. define a coloring "formula" and apply it to the iteration.  Here is
  382. the proposed anatomy of a coloring formula:
  383.  
  384.     name {
  385.     initialization :
  386.     per-iteration
  387.     finalization
  388.     }
  389.  
  390. name        The name of this coloring method
  391.  
  392. initialization    Similar to the initialization section for a formula;
  393.         "pixel" and other magic variables are initialized so
  394.         they can be used by the coloring formula.  The
  395.         coloring formula can introduce its own variables and
  396.         initialize them here.
  397.  
  398. per-iteration    For coloring methods where the variables must be
  399.         updated every iteration, change that information in
  400.         this section
  401.  
  402. finalization    After the orbit has finished (because it bailed out,
  403.         or reached maxiter, or hit a period cycle, etc.), this
  404.         section assigns the pixel's color value
  405.  
  406. Here are some examples of the builtin coloring methods fractint has:
  407.  
  408.     iter {
  409.     index = 0 :
  410.     index++,
  411.     color=colormap[index]
  412.     }
  413.  
  414.     epsilon_cross {
  415.     axis = 0, index = 0 :
  416.     if (!axis && (imag(z) < .01)) then
  417.        axis = 1
  418.     else if (!axis && (real(z) < .01)) then
  419.        axis = 2
  420.     endif
  421.     index++,
  422.     if (axis == 1) then
  423.        color = green
  424.     else if (axis == 2) then
  425.        color = yellow
  426.     else
  427.        color = colormap[index]
  428.     endif
  429.     }
  430.  
  431. In the epsilon_cross case, you might want to be able to have a way to
  432. terminate the orbit early when you detect it nearing the axis.  A new
  433. syntax could be introduced to allow the coloring scheme to affect
  434. the bailout, or there could be a statement that aborted the iteration
  435. because of the coloring test.
  436.  
  437. I think this kind of scheme encompasses all the existing coloring
  438. modes of fractint and also covers the kinds of balls/stalks/etc. types
  439. of colorings that others have embedded into their formulas.  The nice
  440. thing about this kind of approach is that it separates the formulas
  441. from the coloring.  Want a fancy colored M-set?  No need to avoid the
  442. builtin type=mandel then, just specify the fancy coloring.
  443.  
  444. What do others think of this idea?  Are there coloring schemes that
  445. DON'T fit into this framework?  I'd like to get something that is as
  446. general as possible before doing any work on writing fractint code to
  447. support it.
  448. --
  449.   ``Between stimulus and response is the will to choose.''  -- Steven Covey
  450.  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  451.      3D Paint: The Power to Create in 3D;        Rich Thomson
  452.      email me for more info                rthomson@ptc.com
  453.  
  454. -
  455. Thanks for using Fractint, The Fractals and Fractint Discussion List
  456. Post Message:   fractint@xmission.com
  457. Get Commands:   majordomo@xmission.com "help"
  458. Administrator:  twegner@phoenix.net
  459. Unsubscribe:    majordomo@xmission.com "unsubscribe fractint"
  460.  
  461. ------- =_aaaaaaaaaa0--
  462.  
  463. -
  464. Thanks for using Fractdev, The Fractint Developer's Discussion List
  465. Post Message:   fractdev@xmission.com
  466. Get Commands:   majordomo@xmission.com "help"
  467. Administrator:  twegner@phoenix.net
  468. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  469.  
  470.  
  471. -------------------------------------------------------------------------------
  472.  
  473. From: Rich Thomson <rthomson@ptc.com>
  474. Subject: Re: (fractdev) Re: progress.txt 
  475. Date: 02 Feb 1998 15:50:26 -0700
  476.  
  477.  
  478. In article <199802021726_MC2-31A0-D7F3@compuserve.com> ,
  479.     George Martin <76440.1143@compuserve.com>  writes:
  480. > The function is "trunc()", which lops of the fractional part of both the
  481. > real and imaginary components of a complex number.
  482.  
  483. Oops, you're right. Sorry :)
  484. --
  485.                                                Rich Thomson
  486.                                                rthomson@ptc.com
  487.  
  488. -
  489. Thanks for using Fractdev, The Fractint Developer's Discussion List
  490. Post Message:   fractdev@xmission.com
  491. Get Commands:   majordomo@xmission.com "help"
  492. Administrator:  twegner@phoenix.net
  493. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  494.  
  495.  
  496. -------------------------------------------------------------------------------
  497.  
  498. From: Rich Thomson <rthomson@ptc.com>
  499. Subject: Re: (fractdev) modulus function and image precalc 
  500. Date: 02 Feb 1998 16:07:34 -0700
  501.  
  502.  
  503. In article <8825659F.00677A08.00@NOTESGW.NOSC.MIL> ,
  504.     "Jay Hill"<jrhill@nosc.mil>  writes:
  505. > As for the precalc (the once per image), will we have access to the
  506. > image center/mag/rot data so we can make some kind of pre-scan
  507. > to help set up the parameters? I'm thinking of several applications -
  508. > 1) a coloring scheme (someone in the UNIX world used it) checked a
  509. > few hundred scattered spots on his 1280x1024 image and scaled the
  510. > color map based on these samples. He always had a nice flow
  511. > of colors from the edge to the densest parts.
  512.  
  513. Hey, generalize this a little more and its a great way to exploit the
  514. formula parser -- algorithmic colormap generation.  Ideally you'd like
  515. a way to invoke the per-pixel function rather than duplicating the
  516. function body so that the algorithmic colormap can be used with many
  517. different fractal types and formulas.
  518.  
  519. > Is there a function that tells us the pixel spacing.? If c=pixel and
  520. > pixel moves up one or right one, what is the change in c?
  521.  
  522. You know what, I thought that was available, but not according to the
  523. documentation...looks like there might be other stuff that should be
  524. available in the environment as well.
  525. --
  526.                                                Rich Thomson
  527.                                                rthomson@ptc.com
  528.  
  529. -
  530. Thanks for using Fractdev, The Fractint Developer's Discussion List
  531. Post Message:   fractdev@xmission.com
  532. Get Commands:   majordomo@xmission.com "help"
  533. Administrator:  twegner@phoenix.net
  534. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  535.  
  536.  
  537. -------------------------------------------------------------------------------
  538.  
  539. From: "Damien M. Jones" <dmj@fractalus.com>
  540. Subject: Re: (fractdev) modulus function and image precalc 
  541. Date: 02 Feb 1998 17:21:31 -0600
  542.  
  543. Rich,
  544.  
  545.  - > Is there a function that tells us the pixel spacing.? If c=pixel and
  546.  - > pixel moves up one or right one, what is the change in c?
  547.  -
  548.  - You know what, I thought that was available, but not according to the
  549.  - documentation...looks like there might be other stuff that should be
  550.  - available in the environment as well.
  551.  
  552. Hmm, the problem is, pixel doesn't always map linearly--if inversion is
  553. turned on, mainly.  So I don't think you want to write a formula which
  554. relies on pixel proximity.
  555.  
  556. Damien M. Jones   \\
  557. dmj@fractalus.com  \\  http://www.icd.com/tsd/  (temporary sanity designs)
  558.                     \\  http://www.fractalus.com/ (fractals are my hobby)
  559.  
  560.  
  561. -
  562. Thanks for using Fractdev, The Fractint Developer's Discussion List
  563. Post Message:   fractdev@xmission.com
  564. Get Commands:   majordomo@xmission.com "help"
  565. Administrator:  twegner@phoenix.net
  566. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  567.  
  568.  
  569. -------------------------------------------------------------------------------
  570.  
  571. From: "Damien M. Jones" <dmj@fractalus.com>
  572. Subject: Re: (fractdev) Notion: coloring formulae 
  573. Date: 02 Feb 1998 17:19:54 -0600
  574.  
  575. Rich,
  576.  
  577.  - Damien, does the attached message look familiar? :)
  578.  
  579. Whoa, totally trippy man.  Like, deja vu all over again.  I'm gonna take a
  580. nap, I'm feeling too weird to stay awake.
  581.  
  582. Damien M. Jones   \\
  583. dmj@fractalus.com  \\  http://www.icd.com/tsd/  (temporary sanity designs)
  584.                     \\  http://www.fractalus.com/ (fractals are my hobby)
  585.  
  586.  
  587. -
  588. Thanks for using Fractdev, The Fractint Developer's Discussion List
  589. Post Message:   fractdev@xmission.com
  590. Get Commands:   majordomo@xmission.com "help"
  591. Administrator:  twegner@phoenix.net
  592. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  593.  
  594.  
  595. -------------------------------------------------------------------------------
  596.  
  597. From: Rich Thomson <rthomson@ptc.com>
  598. Subject: Re: (fractdev) Notion: coloring formulae 
  599. Date: 02 Feb 1998 16:41:19 -0700
  600.  
  601.  
  602. In article <3.0.3.32.19980202171954.006ac22c@megspo.megsinet.net> ,
  603.     "Damien M. Jones" <dmj@fractalus.com>  writes:
  604. > Whoa, totally trippy man.  Like, deja vu all over again.  I'm gonna take a
  605. > nap, I'm feeling too weird to stay awake.
  606.  
  607. I wondered why noone commented at all on that message when I sent it
  608. to fractint.  There was a deafening silence in response :).  Then
  609. again, with so many messages, I shouldn't be surprised it got lost in
  610. the noise.  However, you did add one extra thing that I didn't include
  611. in my proposal which is adding the color-iteration bailout condition.
  612. For most standard colorings, this is just 1 (exception: epsilon-cross,
  613. etc., methods).
  614. --
  615.                                                Rich Thomson
  616.                                                rthomson@ptc.com
  617.  
  618. -
  619. Thanks for using Fractdev, The Fractint Developer's Discussion List
  620. Post Message:   fractdev@xmission.com
  621. Get Commands:   majordomo@xmission.com "help"
  622. Administrator:  twegner@phoenix.net
  623. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  624.  
  625.  
  626. -------------------------------------------------------------------------------
  627.  
  628. From: "Jay Hill"<jrhill@nosc.mil>
  629. Subject: Re: (fractdev) modulus function and image precalc
  630. Date: 02 Feb 1998 16:05:43 -0800
  631.  
  632.  
  633. Damien M. Jones wrote
  634. >Rich,
  635. > - > Is there a function that tells us the pixel spacing.? If c=pixel and
  636. > - > pixel moves up one or right one, what is the change in c?
  637.  -
  638. > - You know what, I thought that was available, but not according to the
  639. > - documentation...looks like there might be other stuff that should be
  640. > - available in the environment as well.
  641. > Hmm, the problem is, pixel doesn't always map linearly--if inversion is
  642. > turned on, mainly.  So I don't think you want to write a formula which
  643. > relies on pixel proximity.
  644. Good point. But I have at least on coloring formula where I need at
  645. least an estimate of the rapidity of iteration count change with image
  646. position. So to first order these can be computed with calculus, even
  647. in non-linear space. I can compute everything right up to the image
  648. scaling with Fractint.
  649.  
  650. Jay
  651.  
  652.  
  653.  
  654.  
  655. -
  656. Thanks for using Fractdev, The Fractint Developer's Discussion List
  657. Post Message:   fractdev@xmission.com
  658. Get Commands:   majordomo@xmission.com "help"
  659. Administrator:  twegner@phoenix.net
  660. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  661.  
  662.  
  663. -------------------------------------------------------------------------------
  664.  
  665. From: "Tim Wegner" <twegner@phoenix.net>
  666. Subject: Re: (fractdev) progress.txt 
  667. Date: 02 Feb 1998 18:19:03 -0600
  668.  
  669. Rich wrote:
  670.  
  671. > Please DON'T zip the diffs.  There is no problem with "mailer mashing
  672. > of diff files".  I don't know where you got this idea.  I have
  673. > transmitted diff files by email for 10+ years and never, ever, ever,
  674. > had a problem. 
  675.  
  676. Ahh - OK, but when you say there is no problem, you are saying there is no 
  677. problem for you. There are a zillion mailing programs in the world and many of 
  678. them wrap lines. But I am willing to try. I personally like getting diffs 
  679. zipped because then I know I am receiving things exactly. Fractint developers 
  680. have been exchanging zipped up context diffs for the same 10 years you have 
  681. been having no problems via mail <grin!> Rich, I am not saying you are wrong, 
  682. just be aware that there is no accounting for taste or habit.
  683.  
  684. Another reason for not posting diffs to the list is that diffs can get very 
  685. big. Yet another is that we Stone Soupers usually distribute object code for 
  686. changed assembler files so that developers don't need to own MASM. This off 
  687. course doesn't apply to Unix.
  688.  
  689. Whatever works is OK by me.
  690.  
  691. > ZIPing text files only causes more problems in getting
  692. > the text files portably to another system because you zip your DOS
  693. > text file and when I get it to unix, then I have to strip line feeds
  694. > or vice-versa.  If the file is transmitted as a text file, then we
  695. > won't have to deal with that.
  696.  
  697. The SIMPLE solution for this is to use the free unzip with the -a option. This 
  698. converts text files to the local line end convention. It's a real life saver. I 
  699. even zip of files going between DOS and Linux on my own PC precisely because it 
  700. solves the CR/LF problem.
  701.  
  702. Tim
  703.  
  704.  
  705. -
  706. Thanks for using Fractdev, The Fractint Developer's Discussion List
  707. Post Message:   fractdev@xmission.com
  708. Get Commands:   majordomo@xmission.com "help"
  709. Administrator:  twegner@phoenix.net
  710. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  711.  
  712.  
  713. -------------------------------------------------------------------------------
  714.  
  715. From: "Tim Wegner" <twegner@phoenix.net>
  716. Subject: Re: (fractdev) Welcome to Jonathan 
  717. Date: 02 Feb 1998 18:19:03 -0600
  718.  
  719. Rich asked:
  720.  
  721. > I'm not sure why this would be of help to other people?
  722.  
  723. If you have platform specific problems, you know who to ask. But if you don't 
  724. want to capture the information, it's OK with me. With time we'll learn who has 
  725. what. 
  726.  
  727. Tim
  728.  
  729.  
  730. -
  731. Thanks for using Fractdev, The Fractint Developer's Discussion List
  732. Post Message:   fractdev@xmission.com
  733. Get Commands:   majordomo@xmission.com "help"
  734. Administrator:  twegner@phoenix.net
  735. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  736.  
  737.  
  738. -------------------------------------------------------------------------------
  739.  
  740. From: "Tim Wegner" <twegner@phoenix.net>
  741. Subject: Re: (fractdev) Notion: coloring formulae
  742. Date: 02 Feb 1998 18:19:03 -0600
  743.  
  744.  
  745.  
  746. > I've been thinking about using the formula parser to define coloring
  747. > algorithms.  
  748.  
  749. I think this is a terrific idea, and I don't think it would be too 
  750. hard. Not trivial, but it could re-use parser code.
  751.  
  752. Rich claims to have thought of this before, and so do I <grin!>
  753.  
  754. Tim
  755.  
  756.  
  757. -
  758. Thanks for using Fractdev, The Fractint Developer's Discussion List
  759. Post Message:   fractdev@xmission.com
  760. Get Commands:   majordomo@xmission.com "help"
  761. Administrator:  twegner@phoenix.net
  762. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  763.  
  764.  
  765. -------------------------------------------------------------------------------
  766.  
  767. From: Rich Thomson <rthomson@ptc.com>
  768. Subject: Re: (fractdev) progress.txt 
  769. Date: 02 Feb 1998 17:53:32 -0700
  770.  
  771.  
  772. In article <199802030016.SAA28665@virtual3.c-com.net> ,
  773.     "Tim Wegner" <twegner@phoenix.net>  writes:
  774. > Rich, I am not saying you are wrong,
  775. > just be aware that there is no accounting for taste or habit.
  776.  
  777. Well there is taste/habit, and then there is broken software.
  778.  
  779. Broken software should not be excused or tolerated; it should be fixed
  780. or replaced.  If I "owned" fractint, I would say "hey, all you people
  781. with broken MIME mailers, get your software fixed", but I don't, so I
  782. can't and we have 500 message threads about "3D disease".
  783. --
  784.                                                Rich Thomson
  785.                                                rthomson@ptc.com
  786.  
  787. -
  788. Thanks for using Fractdev, The Fractint Developer's Discussion List
  789. Post Message:   fractdev@xmission.com
  790. Get Commands:   majordomo@xmission.com "help"
  791. Administrator:  twegner@phoenix.net
  792. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  793.  
  794.  
  795. -------------------------------------------------------------------------------
  796.  
  797. From: Rich Thomson <rthomson@ptc.com>
  798. Subject: Re: (fractdev) Welcome to Jonathan 
  799. Date: 02 Feb 1998 17:54:35 -0700
  800.  
  801.  
  802. In article <199802030016.SAA28670@virtual3.c-com.net> ,
  803.     "Tim Wegner" <twegner@phoenix.net>  writes:
  804. > If you have platform specific problems, you know who to ask.
  805.  
  806. OK, I've added this stuff to the "progress.txt" file.
  807. --
  808.                                                Rich Thomson
  809.                                                rthomson@ptc.com
  810.  
  811. -
  812. Thanks for using Fractdev, The Fractint Developer's Discussion List
  813. Post Message:   fractdev@xmission.com
  814. Get Commands:   majordomo@xmission.com "help"
  815. Administrator:  twegner@phoenix.net
  816. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  817.  
  818.  
  819. -------------------------------------------------------------------------------
  820.  
  821. From: Rich Thomson <rthomson@ptc.com>
  822. Subject: Re: (fractdev) Notion: coloring formulae 
  823. Date: 02 Feb 1998 17:55:14 -0700
  824.  
  825.  
  826. In article <199802030016.SAA28675@virtual3.c-com.net> ,
  827.     "Tim Wegner" <twegner@phoenix.net>  writes:
  828. > Rich claims to have thought of this before, and so do I <grin!>
  829.  
  830. I don't claim to be the first to think of it (most good ideas have
  831. already been thought of before), but considering my post to fractint
  832. on the exact same subject, it was funny :)
  833. --
  834.                                                Rich Thomson
  835.                                                rthomson@ptc.com
  836.  
  837. -
  838. Thanks for using Fractdev, The Fractint Developer's Discussion List
  839. Post Message:   fractdev@xmission.com
  840. Get Commands:   majordomo@xmission.com "help"
  841. Administrator:  twegner@phoenix.net
  842. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  843.  
  844.  
  845. -------------------------------------------------------------------------------
  846.  
  847. From: Jonathan Osuch <73277.1432@compuserve.com>
  848. Subject: Re: (fractdev) Welcome to Jonathan
  849. Date: 02 Feb 1998 21:29:05 -0500
  850.  
  851. >> Would someone email me Jonathan Osuch's email address for the
  852. developer's list?  Thanks. <<
  853.  
  854. Rich,
  855.  
  856. 73277.1432@compuserve.com
  857.  
  858. Jonathan
  859.  
  860. -
  861. Thanks for using Fractdev, The Fractint Developer's Discussion List
  862. Post Message:   fractdev@xmission.com
  863. Get Commands:   majordomo@xmission.com "help"
  864. Administrator:  twegner@phoenix.net
  865. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  866.  
  867.  
  868. -------------------------------------------------------------------------------
  869.  
  870. From: "Tim Wegner" <twegner@phoenix.net>
  871. Subject: (fractdev) Developer's Version 1961p28
  872. Date: 02 Feb 1998 22:24:51 -0600
  873.  
  874. I have uploaded both the Xfractint and Fractint sources. They are 
  875. accessible via ftp as:
  876.  
  877. ftp://ftp.phoenix.net/pub/USERS/twegner/1961p28.zip
  878. ftp://ftp.phoenix.net/pub/USERS/twegner/x1961p28.zip
  879.  
  880. I cheated slightly - realdos.c in Xfractint is slightly later than 
  881. the Fractint version. (The change does not affect fractint).
  882.  
  883. Let me know if you have any problems.
  884.  
  885. Rich, I had to re-comment one of the defines in port.h that you had 
  886. uncommented in order to get arbitrary precision to work.
  887.  
  888. The files soi1.c and soi.c are not permanent. To try SOI, uses 
  889. passes=s. I intend to integrate the code better with fractint, and 
  890. also make an arbitrary precision version.
  891.  
  892. The fractint source does not have assembler object code. If anyone 
  893. needs it, let me know.
  894.  
  895. See what's new for all the changes. There's a lot!
  896.  
  897. Tim
  898.  
  899.  
  900.  
  901.  
  902. -
  903. Thanks for using Fractdev, The Fractint Developer's Discussion List
  904. Post Message:   fractdev@xmission.com
  905. Get Commands:   majordomo@xmission.com "help"
  906. Administrator:  twegner@phoenix.net
  907. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  908.  
  909.  
  910. -------------------------------------------------------------------------------
  911.  
  912. From: RBarn0001@aol.com
  913. Subject: Re: (fractdev) Developer's Version 1961p28
  914. Date: 03 Feb 1998 09:28:28 EST
  915.  
  916. In a message dated 98-02-02 23:30:12 EST, you write:
  917.  
  918. << The fractint source does not have assembler object code. If anyone 
  919.  needs it, let me know.
  920.  
  921.  See what's new for all the changes. There's a lot!
  922.  
  923.  Tim
  924.   >>
  925.  
  926. Tim,
  927. Is MASM 6.0 satisfactory?
  928. Ron
  929.  
  930. -
  931. Thanks for using Fractdev, The Fractint Developer's Discussion List
  932. Post Message:   fractdev@xmission.com
  933. Get Commands:   majordomo@xmission.com "help"
  934. Administrator:  twegner@phoenix.net
  935. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  936.  
  937.  
  938. -------------------------------------------------------------------------------
  939.  
  940. From: George Martin <76440.1143@compuserve.com>
  941. Subject: (fractdev) image precalc
  942. Date: 03 Feb 1998 10:33:11 -0500
  943.  
  944. Tim,
  945.  
  946. >precalc (the once per image)
  947.  
  948. There have been suggestions for a pre-initialization section in formulas
  949. which only calculates once per image rather than at the beginning of each
  950. pixel.
  951.  
  952. It seems to me this result is already easily accomplished in a formula with
  953. the following:
  954.  
  955. IF (scrnpix==0 && imag(scrnpix)==0)
  956.   all the once per image stuff
  957. ENDIF
  958.  
  959. Is there any situation (viewwindows, solid guessing, e.g.) where the
  960. beginning coordinates are not both 0 on the first pixel, and never
  961. thereafter? 
  962.  
  963. George
  964.  
  965.  
  966. -
  967. Thanks for using Fractdev, The Fractint Developer's Discussion List
  968. Post Message:   fractdev@xmission.com
  969. Get Commands:   majordomo@xmission.com "help"
  970. Administrator:  twegner@phoenix.net
  971. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  972.  
  973.  
  974. -------------------------------------------------------------------------------
  975.  
  976. From: "Damien M. Jones" <dmj@fractalus.com>
  977. Subject: Re: (fractdev) image precalc
  978. Date: 03 Feb 1998 10:40:19 -0600
  979.  
  980. George,
  981.  
  982.  - Is there any situation (viewwindows, solid guessing, e.g.) where the
  983.  - beginning coordinates are not both 0 on the first pixel, and never
  984.  - thereafter? 
  985.  
  986. Resuming calculation of an interrupted, saved, and restored image.
  987.  
  988. Damien M. Jones   \\
  989. dmj@fractalus.com  \\  http://www.icd.com/tsd/  (temporary sanity designs)
  990.                     \\  http://www.fractalus.com/ (fractals are my hobby)
  991.  
  992.  
  993. -
  994. Thanks for using Fractdev, The Fractint Developer's Discussion List
  995. Post Message:   fractdev@xmission.com
  996. Get Commands:   majordomo@xmission.com "help"
  997. Administrator:  twegner@phoenix.net
  998. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  999.  
  1000.  
  1001. -------------------------------------------------------------------------------
  1002.  
  1003. From: Rich Thomson <rthomson@ptc.com>
  1004. Subject: Re: (fractdev) image precalc 
  1005. Date: 03 Feb 1998 10:12:16 -0700
  1006.  
  1007.  
  1008. In article <199802031037_MC2-31B0-D723@compuserve.com> ,
  1009.     George Martin <76440.1143@compuserve.com>  writes:
  1010. > Is there any situation (viewwindows, solid guessing, e.g.) where the
  1011. > beginning coordinates are not both 0 on the first pixel, and never
  1012. > thereafter? 
  1013.  
  1014. Does scrnpix start at zero with a view window?
  1015. --
  1016.                                                Rich Thomson
  1017.                                                rthomson@ptc.com
  1018.  
  1019. -
  1020. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1021. Post Message:   fractdev@xmission.com
  1022. Get Commands:   majordomo@xmission.com "help"
  1023. Administrator:  twegner@phoenix.net
  1024. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  1025.  
  1026.  
  1027. -------------------------------------------------------------------------------
  1028.  
  1029. From: "Tim Wegner" <twegner@phoenix.net>
  1030. Subject: Re: (fractdev) Developer's Version 1961p28
  1031. Date: 03 Feb 1998 20:31:00 -0600
  1032.  
  1033.  
  1034. > Tim,
  1035. > Is MASM 6.0 satisfactory?
  1036.  
  1037. I vaguely remeber some bugs, but I suggest you try. I'd be happy to 
  1038. upload the object code if you need it.
  1039.  
  1040. Thanks for hanging in there. I really do want to work with you on 
  1041. truecolor. Just seems like I have too many things to do first. If I 
  1042. can't put PNG in quick enough, it is very easy to save as Targa, 
  1043. which we could use for truecolor.
  1044.  
  1045. Tim
  1046.  
  1047.  
  1048. -
  1049. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1050. Post Message:   fractdev@xmission.com
  1051. Get Commands:   majordomo@xmission.com "help"
  1052. Administrator:  twegner@phoenix.net
  1053. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  1054.  
  1055.  
  1056. -------------------------------------------------------------------------------
  1057.  
  1058. From: RBarn0001@aol.com
  1059. Subject: Re: (fractdev) Developer's Version 1961p28
  1060. Date: 06 Feb 1998 13:23:21 EST
  1061.  
  1062. In a message dated 98-02-03 21:32:37 EST, you write:
  1063.  
  1064. << 
  1065.  I vaguely remeber some bugs, but I suggest you try. I'd be happy to 
  1066.  upload the object code if you need it.
  1067.  
  1068.  Thanks for hanging in there. I really do want to work with you on 
  1069.  truecolor. Just seems like I have too many things to do first. If I 
  1070.  can't put PNG in quick enough, it is very easy to save as Targa, 
  1071.  which we could use for truecolor.
  1072.  
  1073.  Tim
  1074.   >>
  1075.  
  1076. No problem!
  1077.  
  1078. My time has been at a real premium lately. My company is doing a spin off,
  1079. followed by a major downsizing. Right now I am just trying to keep my head
  1080. above water. 
  1081. Ron
  1082.  
  1083. -
  1084. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1085. Post Message:   fractdev@xmission.com
  1086. Get Commands:   majordomo@xmission.com "help"
  1087. Administrator:  twegner@phoenix.net
  1088. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  1089.  
  1090.  
  1091. -------------------------------------------------------------------------------
  1092.  
  1093. From: "Tim Wegner" <twegner@phoenix.net>
  1094. Subject: (fractdev) Simplgif source
  1095. Date: 08 Feb 1998 16:01:17 -0600
  1096.  
  1097. I have uploaded the simplgif source to
  1098.  
  1099. ftp://ftp.phoenix.net/pub/USERS/twegner/simplsrc.zip
  1100.  
  1101. This source SHOULD be portable, but isn't. I can compile it with MSC 
  1102. large model, but not djgpp (it crashes). I'll make it portable after 
  1103. I replace the decoder in pdgif.c with a new encoder. Then pdgif.c 
  1104. will be gone completely. This version uses either the pdgif encoder 
  1105. or the compress encoder, but always uses the pdgif decoder.
  1106.  
  1107. Tim
  1108.  
  1109.  
  1110.  
  1111.  
  1112. -
  1113. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1114. Post Message:   fractdev@xmission.com
  1115. Get Commands:   majordomo@xmission.com "help"
  1116. Administrator:  twegner@phoenix.net
  1117. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  1118.  
  1119.  
  1120. -------------------------------------------------------------------------------
  1121.  
  1122. From: "Justin A. Kolodziej" <4wg7kolodzie@vms.csd.mu.edu>
  1123. Subject: (fractdev) test
  1124. Date: 24 Feb 1998 16:31:07 -0600
  1125.  
  1126. This is a test-please ignore.
  1127.  
  1128. If you didn't, I'm checking to see if I'm subscrbed because "which"
  1129. didn't work.
  1130. -- 
  1131. Justin A. Kolodziej
  1132. I sense a great disturbance in the Source.
  1133. Justin Kolodziej is 4wg7kolodzie@vms.csd.mu.edu
  1134. Marquette University is www.mu.edu
  1135.  
  1136. -
  1137. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1138. Post Message:   fractdev@xmission.com
  1139. Get Commands:   majordomo@xmission.com "help"
  1140. Administrator:  twegner@phoenix.net
  1141. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  1142.  
  1143.  
  1144. -------------------------------------------------------------------------------
  1145.  
  1146. From: "Tim Wegner" <twegner@phoenix.net>
  1147. Subject: (fractdev) simplgif
  1148. Date: 24 Feb 1998 23:50:08 -0600
  1149.  
  1150. I have uploaded a massively revised simplgif program to 
  1151.  
  1152. ftp://ftp.phoenix.net/pub/USERS/twegner/simplgif.zip
  1153.  
  1154. Included are executables compiled with MSC (large model) and djgpp 
  1155. and the C source. I haven't tried, but I would expect the source to 
  1156. complile with minimal problems under Unix. 
  1157.  
  1158. I did some editing of the encoder and decoder sources, mostly
  1159. unifying some typedefs and "ansifying" the old K&R style. However, I
  1160. felt it would be unwise to edit the reliable encoding and decoding
  1161. sources too radically. Given the variable quality of GIF sources, I 
  1162. am really happy with the compress encoder and Steve Bennett's 
  1163. decoder.
  1164.  
  1165. This version has a new decoder, basically the same one as in 
  1166. Fractint.
  1167.  
  1168. Let me know if you have any suggestions. The buffering scheme used in 
  1169. reading and writing the tempory file is the same as in the original 
  1170. simplgif by Bert Tyler. This could be made more efficient. I made a 
  1171. start at eliminating signed 16 bit integers in favor of unisgned, so 
  1172. that simplgif would work with 64K rows. I doubt this is complete, so 
  1173. most likely the limit is 32K.
  1174.  
  1175. Tim
  1176.  
  1177.  
  1178. -
  1179. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1180. Post Message:   fractdev@xmission.com
  1181. Get Commands:   majordomo@xmission.com "help"
  1182. Administrator:  twegner@phoenix.net
  1183. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  1184.  
  1185.  
  1186. -------------------------------------------------------------------------------
  1187.  
  1188. From: Rich Thomson <rthomson@ptc.com>
  1189. Subject: (fractdev) Re: Mac Port of FracInt? 
  1190. Date: 27 Feb 1998 10:41:18 -0700
  1191.  
  1192.  
  1193. I'm replying to fractdev...
  1194.  
  1195. In article <l0313031bb11bb0fbb729@DialupEudora> ,
  1196.     DeRobertis <derobert@erols.com>  writes:
  1197. > How much of a speed gain would putting critical sections in assembly gain?
  1198. > I could learn PPCAsm, if nessisary.
  1199.  
  1200. It would probably be significant, especially for formula type
  1201. fractals.  The C formula parser isn't very optimized.  Formulas run
  1202. pretty darn slow on my SGI which is no slouch at FPU computations
  1203. compared to your typical Pentium/PPC.
  1204.  
  1205. > Is this the way it is in XWindows? Hmmm....maybe I'd better get down to
  1206. > reading the megs of sources as soon as I finish fixing the other Mac.
  1207.  
  1208. X uses an event model very similar to the Mac.  If you examine the
  1209. 'trick' that the xfractint code uses to handle events, you should be
  1210. able to adapt that to the Mac event loop.
  1211.  
  1212. > Anyway, it might be possible to write some quick things to get it running
  1213. > on the Mac soon. However, it may take time to do a complete Macinization of
  1214. > it.
  1215.  
  1216. We (fractdev list members) have talked about separating the UI portion
  1217. of fractint from the computation engine part.  Abstracting away the UI
  1218. would make your Mac port MUCH, MUCH easier if you wanted to get a
  1219. "full, Mac-like" interface on everything.  However, you can adopt a
  1220. combination of winfract and xfractint techniques to get a
  1221. fully-functioning fractint port on the Mac, it would just have
  1222. fractint's keyboard interface on it and not the typical Mac menus,
  1223. etc.  If you are really gun-ho about making a complete Mac "look and
  1224. feel" to fractint, then let's coordinate on defining the UI functions
  1225. and separating out the computation from the UI.  Then we can fold that
  1226. work back into the fractint source base, making the move to a Win32
  1227. programming model even easier for whoever takes on that task.
  1228.  
  1229. > PS: How much of this will need to be re-written to work under a 32-bit
  1230. > environment?
  1231.  
  1232. If you use the xfractint source code, you should be able to get it all
  1233. to compile cleanly.  The xfractint version uses C code for everything
  1234. (most of the 16-bitness is embedded in the assembly code portions) and
  1235. the rest of the code that has 16-bitness aroma to it is bracketed with
  1236. #ifdef XFRACT directives.  When compiling for xfractint/unix, XFRACT
  1237. is defined, so that will probably be the version that you will want to
  1238. use in your Mac port.
  1239.  
  1240. > PS(2): What are the sizes of int's, long's, float's, and double's over
  1241. > there? Where is it important that I preserve these?
  1242.  
  1243. Note sure about that; perhaps Tim can offer a suggestion?
  1244.  
  1245. One thing I'd like to suggest before you start modifying code is that
  1246. you set yourself up with a source code revision system on your Mac.  I
  1247. am not sure what's available for the Mac, but I've had good experience
  1248. with RCS and CVS.  CVS is better, it builds on top of the foundation
  1249. provided by RCS.  However, you can do source file management with RCS
  1250. itself.  The reason I suggest this is that it makes it much easier to
  1251. share code changes since you can use the 'diff' and 'patch' tools to
  1252. generate deltas between source files from one developer's tree, use
  1253. email to communicate the delta and then another developer can use
  1254. patch to incorporate your delta into their source tree.  Works really
  1255. great.
  1256. --
  1257.                                                Rich Thomson
  1258.                                                rthomson@ptc.com
  1259.  
  1260. -
  1261. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1262. Post Message:   fractdev@xmission.com
  1263. Get Commands:   majordomo@xmission.com "help"
  1264. Administrator:  twegner@phoenix.net
  1265. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  1266.  
  1267.  
  1268. -------------------------------------------------------------------------------
  1269.  
  1270. From: Rich Thomson <rthomson@ptc.com>
  1271. Subject: (fractdev) Re: (fractint) Mac Port of FracInt? 
  1272. Date: 27 Feb 1998 10:45:01 -0700
  1273.  
  1274.  
  1275. I'm replying to fractdev...
  1276.  
  1277. In article <l0313031ab11bb02b862c@DialupEudora> ,
  1278.     DeRobertis <derobert@erols.com>  writes:
  1279. > Speedwise, how much of a gain will I get with the asm code over a
  1280. > good-optimizing compiler?
  1281.  
  1282. I wouldn't worry about speed just yet :).
  1283. "First make it right, then make it tight."
  1284. --
  1285.                                                Rich Thomson
  1286.                                                rthomson@ptc.com
  1287.  
  1288. -
  1289. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1290. Post Message:   fractdev@xmission.com
  1291. Get Commands:   majordomo@xmission.com "help"
  1292. Administrator:  twegner@phoenix.net
  1293. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  1294.  
  1295.  
  1296. -------------------------------------------------------------------------------
  1297.  
  1298. From: "Tim Wegner" <twegner@phoenix.net>
  1299. Subject: Re: (fractdev) Re: Mac Port of FracInt? 
  1300. Date: 27 Feb 1998 19:44:17 -0600
  1301.  
  1302.  
  1303. > PS(2): What are the sizes of int's, long's, float's, and double's over
  1304. > there? Where is it important that I preserve these?
  1305.  
  1306. The important things to preserve are
  1307.  
  1308. short = 16 bits
  1309. long = 32 bits
  1310.  
  1311. These are *usually* the same on different platforms. The main place 
  1312. where size is important is when writing fractal data to the GIF file. 
  1313. We'll get rid of this before too long. Unfortunately, we wrote binary 
  1314. representations of doubles to files. Ken Shirriff wrote some code 
  1315. that unmangles these so they make sense under UNIX. 
  1316.  
  1317. We'll get out from under writing binary data to files soon, and this 
  1318. will cease to be a problem.
  1319.  
  1320. Arbitrary precision will use a long double if it is available.
  1321.  
  1322. Rich wrote:
  1323.  
  1324. > One thing I'd like to suggest before you start modifying code is that
  1325. > you set yourself up with a source code revision system on your Mac. 
  1326.  
  1327. It is sufficient to have the diff and patch programs. We distribute 
  1328. patches in the form of diffs made with diff -c. However, if diff is 
  1329. not available on the Mac, we can work out something.
  1330.  
  1331. I know the developer who does the POV-Ray Mac ports. We introduced 
  1332. diff and patch to the POV-Ray team and it is now their standard 
  1333. medium for exchanging changes. I can ask their Mac guy how he handles 
  1334. the context diffs.
  1335.  
  1336. Tim
  1337.  
  1338.  
  1339. -
  1340. Thanks for using Fractdev, The Fractint Developer's Discussion List
  1341. Post Message:   fractdev@xmission.com
  1342. Get Commands:   majordomo@xmission.com "help"
  1343. Administrator:  twegner@phoenix.net
  1344. Unsubscribe:    majordomo@xmission.com "unsubscribe fractdev"
  1345.  
  1346.