From: SourceForge.net <no...@so...> - 2007-04-15 15:11:58
|
Bugs item #1698604, was opened at 2007-04-11 18:42 Message generated for change (Comment added) made by dooglus You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1698604&group_id=144022 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Usability Group: SVN version >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: dooglus (dooglus) Summary: Noise gradient and noise distort not working Initial Comment: Noise gradient shows just one color, which seems to be the far right color in the gradient used. For example in the sample file "noise.sif" the gradient is fully transparent (I think it should some kind of flame) The noise distort just moves the underlying image a bit not actually distorting it. I think the noise function is not working correctly and it always returns the same value. I'm using Ubuntu edgy on amd64 machine. I compiled Synfig from the latest source from SVN I checked out on 29.3. -Heikki, he...@sm... ---------------------------------------------------------------------- >Comment By: dooglus (dooglus) Date: 2007-04-15 17:11 Message: Logged In: YES user_id=1546005 Originator: NO Fixed in r469. ---------------------------------------------------------------------- Comment By: Heikki (hjoek) Date: 2007-04-13 00:10 Message: Logged In: YES user_id=1767101 Originator: NO Ok, here's what it printed: ret1 = 3260590.500000 ret1 = 3260573.500000 ret1 = 3260585.000000 ret1 = 3260622.000000 ret1 = 68552.468750 ret1 = 3260613.250000 ret1 = 68515.507812 ret1 = 68539.500000 ret1 = 3260550.000000 ret1 = 68541.648438 ret1 = 68535.406250 ret1 = 68477.796875 ret1 = 68561.640625 ret1 = 68553.484375 ret1 = 68538.953125 ret1 = 68537.125000 ret1 = 3260570.250000 ret1 = 3260587.500000 ret1 = 3260549.000000 ret1 = 3260537.250000 ret1 = 68487.664062 ret1 = 3260547.750000 ret1 = 68548.531250 ret1 = 68524.531250 ret1 = 3260584.000000 ret1 = 68523.875000 ret1 = 68504.710938 ret1 = 68562.429688 ret1 = 68477.000000 ret1 = 68485.140625 ret1 = 68524.976562 ret1 = 68503.101562 ret1 = 3270324.000000 ret1 = 3270282.750000 ret1 = 3270377.750000 ret1 = 3270335.750000 ret1 = 58738.308594 ret1 = 3270300.500000 ret1 = 58796.601562 ret1 = 58821.769531 ret1 = 3270280.500000 ret1 = 58813.121094 ret1 = 58808.156250 ret1 = 58803.292969 ret1 = 58825.273438 ret1 = 58831.933594 ret1 = 58873.230469 ret1 = 58900.738281 ret1 = 3270278.250000 ret1 = 3270319.500000 ret1 = 3270328.000000 ret1 = 3270369.750000 ret1 = 58755.660156 ret1 = 3270302.000000 ret1 = 58800.652344 ret1 = 58775.406250 ret1 = 3270323.750000 ret1 = 58782.445312 ret1 = 58787.441406 ret1 = 58792.296875 ret1 = 58871.984375 ret1 = 58865.347656 ret1 = 58823.953125 ret1 = 58899.628906 ret1 = 3272143.250000 ret1 = 3272044.750000 ret1 = 3272133.250000 ret1 = 3272123.500000 ret1 = 56975.847656 ret1 = 3272094.500000 ret1 = 56958.234375 ret1 = 56957.925781 ret1 = 3272036.500000 ret1 = 56942.609375 ret1 = 56919.015625 ret1 = 56901.593750 ret1 = 57095.847656 ret1 = 56911.828125 ret1 = 56921.574219 ret1 = 56967.097656 ret1 = 3272069.000000 ret1 = 3272173.750000 ret1 = 3272055.250000 ret1 = 3272096.750000 ret1 = 57003.613281 ret1 = 3272117.750000 ret1 = 57035.507812 ret1 = 57035.792969 ret1 = 3272164.750000 ret1 = 57068.597656 ret1 = 57047.718750 ret1 = 57077.832031 ret1 = 56916.945312 ret1 = 57088.265625 ret1 = 57046.765625 ret1 = 57044.105469 ret1 = 3271467.500000 ret1 = 3271470.500000 ret1 = 3271399.500000 ret1 = 3271447.500000 ret1 = 57652.136719 ret1 = 3271481.250000 ret1 = 57665.777344 ret1 = 57665.910156 ret1 = 3271493.500000 ret1 = 57625.250000 ret1 = 57696.906250 ret1 = 57679.769531 ret1 = 57390.953125 ret1 = 57384.859375 ret1 = 57337.503906 ret1 = 57363.546875 ret1 = 3271493.750000 ret1 = 3271446.500000 ret1 = 3271423.750000 ret1 = 3271471.000000 ret1 = 57629.000000 ret1 = 3271454.750000 ret1 = 57693.140625 ret1 = 57693.011719 ret1 = 3271469.500000 ret1 = 57649.539062 ret1 = 57673.125000 ret1 = 57702.968750 ret1 = 57364.742188 ret1 = 57358.140625 ret1 = 57310.250000 ret1 = 57390.562500 -Heikki ---------------------------------------------------------------------- Comment By: dooglus (dooglus) Date: 2007-04-12 21:29 Message: Logged In: YES user_id=1546005 Originator: NO In that case my guess would be that the code in * synfig-core/src/modules/mod_noise/random.cpp doesn't work properly on your amd64. Unfortunately I don't have access to an amd64 machine to test this on. You can help by applying this patch: * http://dooglus.rincevent.net/synfig/random-patch.txt in the core synfig directory then rebuilding synfig and running: $ synfig -w 1 -h 1 messy.sif on the same messy.sif file as before. It'll print the 'random' values it's using, and will confirm whether the random number generation is indeed the problem. ---------------------------------------------------------------------- Comment By: Heikki (hjoek) Date: 2007-04-12 19:54 Message: Logged In: YES user_id=1767101 Originator: NO Here's how "messy.sif" renders on my conputer: http://www.velvetdesperados.net/not_so_messy.png As you can see the area to disort only moves a bit. I could only find one version of libmod_noise.so... -Heikki ---------------------------------------------------------------------- Comment By: dooglus (dooglus) Date: 2007-04-12 01:05 Message: Logged In: YES user_id=1546005 Originator: NO Note that 'noise' is a dynamically loaded module, loaded from /usr/local/lib/synfig/modules/libmod_noise.so or some such. Is it possible that you have 2 different versions of the module installed (one from svn and one from your package manager perhaps?) and it's loading the wrong one? ---------------------------------------------------------------------- Comment By: dooglus (dooglus) Date: 2007-04-12 00:58 Message: Logged In: YES user_id=1546005 Originator: NO I just tried, and it works for me. When I load noise.sif into studio, I see a window like this: http://dooglus.rincevent.net/synfig/1176331972.png When I render the first frame of the animation using synfig like this: $ synfig --time 0 ~/programs/synfig/svn/synfig-core/examples/noise.sif I get a file like this: http://dooglus.rincevent.net/synfig/noise.png I also made a .sif file of my own showing a distortion layer: http://dooglus.rincevent.net/synfig/messy.sif It renders like this: http://dooglus.rincevent.net/synfig/messy.png I'm using svn r455, but I don't think anything has changed in this area for a long time. Can you check with my messy.sif and see whether you get the same messy.png rendered? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1698604&group_id=144022 |