home *** CD-ROM | disk | FTP | other *** search
/ ftp.xmission.com / 2014.06.ftp.xmission.com.tar / ftp.xmission.com / pub / lists / fractdev / archive / fractdev.200108 < prev    next >
Internet Message Format  |  2001-08-29  |  19KB

  1. From: "Jonathan Osuch" <osuchj@qwest.net>
  2. Subject: (fractdev) Rotate and Skew
  3. Date: 01 Aug 2001 20:40:39 -0500
  4.  
  5. Tim,
  6.  
  7. That's not meant as an insult.  8-))
  8.  
  9. It appears from a recent FOTD from Jim Muth that the cvtcentermag() routine
  10. (in miscres.c) is not recalculating the same rotation and skew values when
  11. an image is zoomed (without changing the rotation or skew).  There is a
  12. small difference that is noticeable even from the default mandelbrot.  This
  13. problem was also noticed by Lee Skinner some time ago with one of his deep
  14. zoom images.  So this problem occurs with the ap-math as well.
  15.  
  16. Problems occur when an image is saved because the corner values are saved,
  17. and not the center mag values.  Since the PARs now default to saving the
  18. center mag values, there can be a difference in both rotation and skew
  19. between the PAR and the GIF.
  20.  
  21. Thoughts?
  22.  
  23. Jonathan
  24.  
  25.  
  26.  
  27. Thanks for using Fractdev, The Fractint Developer's Discussion List
  28. Post Message:   fractdev@lists.xmission.com
  29. Get Commands:   majordomo@lists.xmission.com "help"
  30. Administrator:  twegner@fractint.org
  31. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  32.  
  33.  
  34. -------------------------------------------------------------------------------
  35.  
  36. From: "Jonathan Osuch" <osuchj@qwest.net>
  37. Subject: Re: (fractdev) Rotate and Skew
  38. Date: 02 Aug 2001 20:30:28 -0500
  39.  
  40. Tim,
  41.  
  42. The problem disappears when corners= is used to force the use of the corners
  43. instead of center-mag.
  44.  
  45. It is possible the problem arises because the rotation and skew values are
  46. being truncated to three significant digits before being put in the PAR.
  47. I'll check.
  48.  
  49. Jonathan
  50.  
  51.  
  52.  
  53. Thanks for using Fractdev, The Fractint Developer's Discussion List
  54. Post Message:   fractdev@lists.xmission.com
  55. Get Commands:   majordomo@lists.xmission.com "help"
  56. Administrator:  twegner@fractint.org
  57. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  58.  
  59.  
  60. -------------------------------------------------------------------------------
  61.  
  62. From: Tim Wegner <twegner@swbell.net>
  63. Subject: Re: (fractdev) Rotate and Skew
  64. Date: 02 Aug 2001 21:07:07 -0600
  65.  
  66. > It is possible the problem arises because the rotation and skew values are
  67. > being truncated to three significant digits before being put in the PAR.
  68. > I'll check.
  69.  
  70. That sounds plausible. The logic that determines how many digits 
  71. are written out is in miscovl.c if memory serves.
  72.  
  73. Rotating and skwing put a lot of stress on the precision because of 
  74. dividing by small numbers. It is probably possible to rearrange the 
  75. algebra in an alternative way that is more stable.
  76.  
  77. I can look at it this weekend if it is still needed. My son is visiting 
  78. now but is leaving saturday morning.
  79.  
  80. Tim
  81.  
  82.  
  83. Thanks for using Fractdev, The Fractint Developer's Discussion List
  84. Post Message:   fractdev@lists.xmission.com
  85. Get Commands:   majordomo@lists.xmission.com "help"
  86. Administrator:  twegner@fractint.org
  87. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  88.  
  89.  
  90. -------------------------------------------------------------------------------
  91.  
  92. From: "Jonathan Osuch" <osuchj@qwest.net>
  93. Subject: Re: (fractdev) Rotate and Skew
  94. Date: 03 Aug 2001 18:02:15 -0500
  95.  
  96. >> It is possible the problem arises because the rotation and skew values
  97. are
  98. >> being truncated to three significant digits before being put in the PAR.
  99. >> I'll check.
  100.  
  101. > That sounds plausible. The logic that determines how many digits
  102. > are written out is in miscovl.c if memory serves.
  103.  
  104. I increased the significant digits to six and the problem went away.  I'll
  105. need to check Lee Skinner's example to see if that is sufficient.
  106.  
  107. Jonathan
  108.  
  109.  
  110.  
  111. Thanks for using Fractdev, The Fractint Developer's Discussion List
  112. Post Message:   fractdev@lists.xmission.com
  113. Get Commands:   majordomo@lists.xmission.com "help"
  114. Administrator:  twegner@fractint.org
  115. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  116.  
  117.  
  118. -------------------------------------------------------------------------------
  119.  
  120. From: Tim Wegner <twegner@swbell.net>
  121. Subject: Re: (fractdev) Rotate and Skew
  122. Date: 04 Aug 2001 10:09:49 -0600
  123.  
  124.  
  125. > I increased the significant digits to six and the problem went away.  I'll
  126. > need to check Lee Skinner's example to see if that is sufficient.
  127.  
  128. We could simply increase digits across the board, or if that is too 
  129. ugly (and unnecessary because the number of digits is carefully 
  130. tuned to work right for most circumstances - e.g. normal zoom 
  131. boxes) we could detect situtaions when more are needed. A really 
  132. simple way would be to have any sort of skewed zoom box causing 
  133. more digits too be used.
  134.  
  135. OTOH if the additional digits in PAR files aren't too annoying, just 
  136. do it in all cases.
  137.  
  138. Tim
  139.  
  140.  
  141. Thanks for using Fractdev, The Fractint Developer's Discussion List
  142. Post Message:   fractdev@lists.xmission.com
  143. Get Commands:   majordomo@lists.xmission.com "help"
  144. Administrator:  twegner@fractint.org
  145. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  146.  
  147.  
  148. -------------------------------------------------------------------------------
  149.  
  150. From: Rich <legalize@xmission.com>
  151. Subject: Re: (fractdev) Rotate and Skew 
  152. Date: 06 Aug 2001 00:31:35 -0600
  153.  
  154.  
  155. In article <3B6BC9ED.12168.2CB450@localhost>,
  156.     Tim Wegner <twegner@swbell.net>  writes:
  157.  
  158. > OTOH if the additional digits in PAR files aren't too annoying, just 
  159. > do it in all cases.
  160.  
  161. I like this.
  162. --
  163. Ask me about my upcoming book on Direct3D from Addison-Wesley!
  164. Direct3D Book <http://www.xmission.com/~legalize/book/>
  165.          Home <http://www.xmission.com/~legalize/>
  166.     Fractals! <http://www.xmission.com/~legalize/fractals/>
  167.  
  168. Thanks for using Fractdev, The Fractint Developer's Discussion List
  169. Post Message:   fractdev@lists.xmission.com
  170. Get Commands:   majordomo@lists.xmission.com "help"
  171. Administrator:  twegner@fractint.org
  172. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  173.  
  174.  
  175. -------------------------------------------------------------------------------
  176.  
  177. From: "Jonathan Osuch" <osuchj@qwest.net>
  178. Subject: Re: (fractdev) Rotate and Skew 
  179. Date: 06 Aug 2001 20:26:36 -0500
  180.  
  181. Rich,
  182.  
  183. >> OTOH if the additional digits in PAR files aren't too annoying, just
  184. >> do it in all cases.
  185.  
  186. > I like this.
  187.  
  188. That's what I intend to do.  I've changed the values from x.xxx to x.xxxxxx,
  189. but is that enough to cover all cases.  I'm not even sure I know how to test
  190. it.
  191.  
  192. Jonathan
  193.  
  194.  
  195.  
  196. Thanks for using Fractdev, The Fractint Developer's Discussion List
  197. Post Message:   fractdev@lists.xmission.com
  198. Get Commands:   majordomo@lists.xmission.com "help"
  199. Administrator:  twegner@fractint.org
  200. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  201.  
  202.  
  203. -------------------------------------------------------------------------------
  204.  
  205. From: "Jonathan Osuch" <osuchj@qwest.net>
  206. Subject: (fractdev) WinCVS
  207. Date: 06 Aug 2001 20:29:09 -0500
  208.  
  209. Tim,
  210.  
  211. I played with WinCVS over the weekend.  It almost works using a local
  212. repository.  I must still be missing something.
  213.  
  214. Jonathan
  215.  
  216.  
  217.  
  218. Thanks for using Fractdev, The Fractint Developer's Discussion List
  219. Post Message:   fractdev@lists.xmission.com
  220. Get Commands:   majordomo@lists.xmission.com "help"
  221. Administrator:  twegner@fractint.org
  222. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  223.  
  224.  
  225. -------------------------------------------------------------------------------
  226.  
  227. From: Tim Wegner <twegner@swbell.net>
  228. Subject: Re: (fractdev) WinCVS
  229. Date: 06 Aug 2001 21:56:06 -0600
  230.  
  231. Jonathan wrote:
  232.  
  233. > I played with WinCVS over the weekend.  It almost works using a local
  234. > repository.  I must still be missing something.
  235.  
  236. The command line CVS is not that hard to use. I suggest we start 
  237. with that. It's available when you ssh into fractint.org. If we ever get 
  238. WinCVS working, we can instantly use our work with the command 
  239. line version.
  240.  
  241. One advantage of using the command line version is you get to 
  242. understand the concepts. Then WinCVS makes more sense.
  243.  
  244. Tim
  245.  
  246.  
  247. Thanks for using Fractdev, The Fractint Developer's Discussion List
  248. Post Message:   fractdev@lists.xmission.com
  249. Get Commands:   majordomo@lists.xmission.com "help"
  250. Administrator:  twegner@fractint.org
  251. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  252.  
  253.  
  254. -------------------------------------------------------------------------------
  255.  
  256. From: Rich <legalize@xmission.com>
  257. Subject: Re: (fractdev) WinCVS 
  258. Date: 06 Aug 2001 22:58:30 -0600
  259.  
  260.  
  261. In article <001501c11ee0$5d608a00$2c0e270c@laptop20>,
  262.     "Jonathan Osuch" <osuchj@qwest.net>  writes:
  263.  
  264. > I played with WinCVS over the weekend.  It almost works using a local
  265. > repository.  I must still be missing something.
  266.  
  267. What are the things that don't work?  I've never had a problem with
  268. either a local repository or with a unix server repository.  (Apparently
  269. the NT server one is a little flakey last I heard.)
  270. --
  271. Ask me about my upcoming book on Direct3D from Addison-Wesley!
  272. Direct3D Book <http://www.xmission.com/~legalize/book/>
  273.          Home <http://www.xmission.com/~legalize/>
  274.     Fractals! <http://www.xmission.com/~legalize/fractals/>
  275.  
  276. Thanks for using Fractdev, The Fractint Developer's Discussion List
  277. Post Message:   fractdev@lists.xmission.com
  278. Get Commands:   majordomo@lists.xmission.com "help"
  279. Administrator:  twegner@fractint.org
  280. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  281.  
  282.  
  283. -------------------------------------------------------------------------------
  284.  
  285. From: "Jonathan Osuch" <osuchj@qwest.net>
  286. Subject: Re: (fractdev) Rotate and Skew
  287. Date: 08 Aug 2001 20:38:13 -0500
  288.  
  289. Tim,
  290.  
  291. Take the following PAR, start it, zoom all the way out once.  Let the image
  292. generate, save it, and then make a PAR from it.  Run the PAR, set debug=50,
  293. and then reload the saved image.  You should see a pixel pattern that would
  294. indicate that one of the images is shifted.  Rotated at least.  This doesn't
  295. happen if you zoom in.  At least not until you get to the ap-math.
  296.  
  297. Jonathan
  298.  
  299. bob_and_weave      { ; ;
  300.                      ;  Jonathan Osuch josuch@fractint.org
  301.                      ;  Aug 08, 2001 at 20:22:50
  302.                      ; Version 2001 Patchlevel 13
  303.   reset=2001 type=mandel
  304.   center-mag=-0.99428940396649250/+0.29970533391439380/1.276515e+011/1/-37\
  305.   .4999/-14.9313 params=0/0 float=y maxiter=1000 inside=0 sound=off
  306.   }
  307.  
  308.  
  309.  
  310.  
  311. Thanks for using Fractdev, The Fractint Developer's Discussion List
  312. Post Message:   fractdev@lists.xmission.com
  313. Get Commands:   majordomo@lists.xmission.com "help"
  314. Administrator:  twegner@fractint.org
  315. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  316.  
  317.  
  318. -------------------------------------------------------------------------------
  319.  
  320. From: Tim Wegner <twegner@swbell.net>
  321. Subject: (fractdev) C700+MASM
  322. Date: 15 Aug 2001 23:12:57 -0600
  323.  
  324. IJonathan,
  325.  
  326. I'm trying to get C700 and MASM installed on a laptop. I think I 
  327. have C700 OK, at least I can do hello world. Do you remember any 
  328. special incantations in autoexec.bat or config.sys needed for 
  329. MASM under Windows Millenium Edition? 
  330.  
  331. I've gotten it running under Win98 on my regular machine.
  332.  
  333. I'd much rather have Win98 on the laptop, but WinME is what it 
  334. came with.
  335.  
  336. Geesh this development environment seems 1000 years old, and it 
  337. only dates to about 1992!
  338.  
  339. Tim
  340.  
  341. Thanks for using Fractdev, The Fractint Developer's Discussion List
  342. Post Message:   fractdev@lists.xmission.com
  343. Get Commands:   majordomo@lists.xmission.com "help"
  344. Administrator:  twegner@fractint.org
  345. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  346.  
  347.  
  348. -------------------------------------------------------------------------------
  349.  
  350. From: "Jonathan Osuch" <osuchj@qwest.net>
  351. Subject: Re: (fractdev) C700+MASM
  352. Date: 16 Aug 2001 19:31:12 -0500
  353.  
  354. Tim,
  355.  
  356. > I'm trying to get C700 and MASM installed on a laptop. I think I
  357. > have C700 OK, at least I can do hello world. Do you remember any
  358. > special incantations in autoexec.bat or config.sys needed for
  359. > MASM under Windows Millenium Edition?
  360.  
  361. I didn't have to do anything special.  My autoexec.bat contains the
  362. following lines:
  363.  
  364. SET
  365. PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UTILITY;C:\SPRINT;C:\DJGPP\BIN;C:\C700
  366. \BIN;C:\MASM\BIN;C:\MASM\BINB;C:\TCL\BIN
  367. SET LIB=C:\C700\LIB;C:\C700\MFC\LIB
  368. SET INCLUDE=C:\C700\INCLUDE;C:\C700\MFC\INCLUDE;C:\MASM\INCLUDE
  369. SET HELPFILES=C:\C700\HELP\*.HLP;C:\MASM\HELP\*.HLP
  370. SET INIT=C:\C700\INIT;C:\MASM\INIT
  371.  
  372. I copied them from the autoexec.bat on the old laptop before I had to
  373. destroy all the data on it to get Win98 to work again after removing the
  374. Linux partition.  I would guess that only the path and include entries are
  375. necessary.
  376.  
  377. Yes, the environment is ancient.  But, changing involves a major effort.
  378.  
  379. Jonathan
  380.  
  381.  
  382.  
  383.  
  384.  
  385. Thanks for using Fractdev, The Fractint Developer's Discussion List
  386. Post Message:   fractdev@lists.xmission.com
  387. Get Commands:   majordomo@lists.xmission.com "help"
  388. Administrator:  twegner@fractint.org
  389. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  390.  
  391.  
  392. -------------------------------------------------------------------------------
  393.  
  394. From: Tim Wegner <twegner@swbell.net>
  395. Subject: Re: (fractdev) C700+MASM
  396. Date: 17 Aug 2001 16:06:58 -0600
  397.  
  398. Jonathan wrote:
  399.  
  400. > I didn't have to do anything special.  My autoexec.bat contains the
  401. > following lines:
  402.  
  403. I got it working. I had to rediscover a copy of points:
  404.  
  405. 1. We're using a different version of nmake
  406. 2. For some reason loading dosxnt.386 was left out of 
  407. \windows\system.ini
  408.  
  409. For future reference, copying \c700\bin is actually a good idea 
  410. (picks up the right nmake). Then if autoexec.bat, config.sys, and 
  411. windows.ini have the right magic, all is well.
  412.  
  413. I'm off to dive into rush hour to catch my plane. Will wave when I go 
  414. over Iowa :-)
  415.  
  416. Tim
  417.  
  418.  
  419. Thanks for using Fractdev, The Fractint Developer's Discussion List
  420. Post Message:   fractdev@lists.xmission.com
  421. Get Commands:   majordomo@lists.xmission.com "help"
  422. Administrator:  twegner@fractint.org
  423. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  424.  
  425.  
  426. -------------------------------------------------------------------------------
  427.  
  428. From: "Jonathan Osuch" <osuchj@qwest.net>
  429. Subject: (fractdev) Autologmap bug
  430. Date: 18 Aug 2001 21:12:53 -0500
  431.  
  432. Tim,
  433.  
  434. Did you ever notice that the autologmap routine misses color #2?  This
  435. problem goes back to the changes I did for calculating the logmap on the fly
  436. (version 19.2).
  437.  
  438. Jonathan
  439.  
  440.  
  441.  
  442. Thanks for using Fractdev, The Fractint Developer's Discussion List
  443. Post Message:   fractdev@lists.xmission.com
  444. Get Commands:   majordomo@lists.xmission.com "help"
  445. Administrator:  twegner@fractint.org
  446. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  447.  
  448.  
  449. -------------------------------------------------------------------------------
  450.  
  451. From: "Lee H. Skinner" <Skinner@thuntek.net>
  452. Subject: Re: (fractdev) Autologmap bug
  453. Date: 19 Aug 2001 04:12:00 -0600
  454.  
  455. >> Did you ever notice that the autologmap routine misses color #2?  This
  456. problem goes back to the changes I did for calculating the logmap on the
  457. fly
  458. (version 19.2). <<
  459.  
  460. Yes.  When I do an autologmap, I always subtract 2 from the auto result
  461. to get a better looking image!
  462.  
  463. Thanks for using Fractdev, The Fractint Developer's Discussion List
  464. Post Message:   fractdev@lists.xmission.com
  465. Get Commands:   majordomo@lists.xmission.com "help"
  466. Administrator:  twegner@fractint.org
  467. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  468.  
  469.  
  470. -------------------------------------------------------------------------------
  471.  
  472. From: Tim Wegner <twegner@swbell.net>
  473. Subject: Re: (fractdev) Rotate and Skew
  474. Date: 28 Aug 2001 21:18:54 -0600
  475.  
  476. A while ago Jonathan wrote:
  477.  
  478. > Take the following PAR, start it, zoom all the way out once.  Let the image
  479. > generate, save it, and then make a PAR from it.  Run the PAR, set debug=50,
  480. > and then reload the saved image.  You should see a pixel pattern that would
  481. > indicate that one of the images is shifted.  Rotated at least.  This doesn't
  482. > happen if you zoom in.  At least not until you get to the ap-math.
  483. > Jonathan
  484. > bob_and_weave      { ; ;
  485. >                      ;  Jonathan Osuch josuch@fractint.org
  486. >                      ;  Aug 08, 2001 at 20:22:50
  487. >                      ; Version 2001 Patchlevel 13
  488. >   reset=2001 type=mandel
  489. >   center-mag=-0.99428940396649250/+0.29970533391439380/1.276515e+011/1/-37\
  490. >   .4999/-14.9313 params=0/0 float=y maxiter=1000 inside=0 sound=off
  491. >   }
  492.  
  493. I tried this on Susan's laptop as I was flying over Iowa last 
  494. weekend. I couldn't quite see the problem. If you are still worried 
  495. about this, let me know. I am missing something in your 
  496. instructions.
  497.  
  498. Tim
  499.  
  500. Thanks for using Fractdev, The Fractint Developer's Discussion List
  501. Post Message:   fractdev@lists.xmission.com
  502. Get Commands:   majordomo@lists.xmission.com "help"
  503. Administrator:  twegner@fractint.org
  504. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  505.  
  506.  
  507. -------------------------------------------------------------------------------
  508.  
  509. From: "Jonathan Osuch" <osuchj@qwest.net>
  510. Subject: Re: (fractdev) Rotate and Skew
  511. Date: 29 Aug 2001 19:26:08 -0500
  512.  
  513. Tim,
  514.  
  515. > I tried this on Susan's laptop as I was flying over Iowa last
  516. > weekend. I couldn't quite see the problem. If you are still worried
  517. > about this, let me know. I am missing something in your
  518. > instructions.
  519.  
  520. The problem is that the PAR doesn't generate an exact duplicate of the
  521. image.  The PAR image is rotated from the original.  I'll look at it closer
  522. to see if I can tell what is happening.
  523.  
  524. BTW, with the fix to the logmap routine so that color #2 is displayed, I'll
  525. need to increment the version number for backwards compatibility.
  526.  
  527. Jonathan
  528.  
  529.  
  530.  
  531. Thanks for using Fractdev, The Fractint Developer's Discussion List
  532. Post Message:   fractdev@lists.xmission.com
  533. Get Commands:   majordomo@lists.xmission.com "help"
  534. Administrator:  twegner@fractint.org
  535. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  536.  
  537.  
  538. -------------------------------------------------------------------------------
  539.  
  540. From: "Jonathan Osuch" <osuchj@qwest.net>
  541. Subject: Re: (fractdev) Rotate and Skew
  542. Date: 29 Aug 2001 20:55:49 -0500
  543.  
  544. Tim,
  545.  
  546. > I am missing something in your instructions.
  547.  
  548. I've found the problem with the zoom-out.  I was missing a place where the
  549. precision was getting set in the PAR.  But, even with the increased
  550. precision, if you zoom in twice to get to the arbitrary precision
  551. calculations the problem recurs.
  552.  
  553. Zoom in twice.  Make a GIF of the completed image.  Then make a PAR (you
  554. could make the PAR at any time after the two zooms).  Run the PAR.  Compare
  555. the image generated from the PAR to the image made immediately after zooming
  556. in (debug=50).  You should see a bunch of pixels left on the screen because
  557. the two images don't line up.
  558.  
  559. Jonathan
  560.  
  561.  
  562.  
  563. Thanks for using Fractdev, The Fractint Developer's Discussion List
  564. Post Message:   fractdev@lists.xmission.com
  565. Get Commands:   majordomo@lists.xmission.com "help"
  566. Administrator:  twegner@fractint.org
  567. Unsubscribe:    majordomo@lists.xmission.com "unsubscribe fractdev"
  568.  
  569.