World Machine Community

News and Development => Bug Reports and Help => Topic started by: Remnant on September 24, 2008, 03:20:39 PM

Title: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Remnant on September 24, 2008, 03:20:39 PM
I'm expecting to release a maintenance release soon to fix a number of the outstanding bugs and issues with WM 2.

The current list fixed to date is:

+ Vista compatibility fixes; moved default doc path to My Documents folder
+ Added customizable paths for doc and temp folders
+ Fixed thermal erosion crash when mem conserv is on
+ Fixed message about 32bit limits on 64bit build
+ Fixed colors.tga and colors.txt issue on WM 2 Pro vista build
+ Fixed erosion running slower with multiple threads issue
+ Fixed relative paths issue after new save location
+ Added output management button + dialog
+ Fixed WM 1.x voronoi scale issue
+ Erosion can now be cancelled..
+ Snow can now be cancelled
+ Text now displays on laptops with old Intel Integrated GRaphics drivers and vista.
+ Added back the Simple Transform device for old school users, fixed the issue with Curves device sometimes not appearing.
+ Fixed sporadic occurance of devices not building when multi threading.
+ Fixed random failures to apply masks under certain conditions
+ Build status now lists devices in order of activation


Other issues are also on the list, but I want to get this bug fix out soon as it addresses some important issues. There will be continued maintenance releases to fix issues as they arrive and can be fixed.

Just a last note that I read every bug report and request on the forums, even if I don't get a chance to respond to them. So if you've reported an issue, thank you!

Instructions for retrieval:

All version of WM available on the website are the current 2.1 edition. Download from the link provided on purchasing, or on the Basic Edition download page.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 9/23)
Post by: nikita on September 25, 2008, 05:12:09 PM
Very cool - faster erosion's always a good thing.

Unfortunately, I don't have the time right now. There's a deadline for a raytracer I have to write and today I'll have to pass an exam on image proccessing - interesting stuff! I hope I'll be able to write one or two plugins based on my new found convolution and fourier analysis super powers :)
Title: Re: Bug fix list for WM2 Service pack 1 (updated 9/23)
Post by: marmil on September 25, 2008, 07:35:30 PM
Good to hear.  I written down a few other things I've run across or
wondered about.  Will post them sometime for the next patch.  :wink:

Title: Re: Bug fix list for WM2 Service pack 1 (updated 9/23)
Post by: latego on September 26, 2008, 02:46:56 AM
I hope I'll be able to write one or two plugins based on my new found convolution and fourier analysis super powers :)

Absolutely great! I have tried the unsharp macro in order to sharpen terrains for Vue renders but the results have been mixed (due to the simple fact that the processing needed for the purpose requires a Fourier transform) and therefore Fourier filtering plug ins would be an absolutely wonderful addition to WM toolkit.

Bye!!!
Title: Re: Bug fix list for WM2 Service pack 1 (updated 9/23)
Post by: nikita on September 26, 2008, 06:20:16 AM
If you take a closer look, you will find that the approach using filter masks and the approach of filtering out frequencies in the fourier transform are actually two way to do the same thing.
In particular, multiplying the spectrum F by another function H to isolate a specific band of frequencies is equivalent to applying the inverse transform of H: h to f.
 Short: f*h = FH (* is called convolution)


In my opinion the reason why this stuff doesn't work as good as one would expect is the reason that fourier series use sine and cosine to synthesize functions. A sharpening-filter is basically a high-pass filter. The problem: You do get the high frequencies BUT you will still have the smooth look of the trigonometric function! And you will not get completely rid of this with discrete fourier transformation.
This also creates some counter intuitive effects:
(http://upload.wikimedia.org/wikipedia/commons/b/bb/Synthesis_triangle.gif)
You can measure the wavelength of the triangle function and calculate the single frequency. Yet, if you're using a sine-based transformation, you will not need just one frequency but infinitely many.


I suggest experimenting with the expander - it can create pretty sharp edges which might be what you're looking for. :)


I got an A by the way but I have to admit that it was fairly easy.


Edit: by the way: As I learned, my sharpening macro implements the "Difference of Gaussian" filter. It's cool to see how something you created intuitively actually has a name and can be proven to work :D
Title: Re: Bug fix list for WM2 Service pack 1 (updated 9/23)
Post by: latego on September 27, 2008, 04:09:14 AM
My experiments (described in Renderosity Vue forum) have shown that Vue standard terrains butcher the 2 highest octaves of the signal while all the rest is left untouched. This means that one needs a super sharp (in the frequency domain) filter in order to enhance only what has to be enhanced; no usual filter has a frequency falloff sharp enough for our purpose: only a Fourier filtering allows to modify just a few, well known, coefficients.

Bye!!!

P.S.: while you are at it, add at least the Haar wavelet  :lol: :lol: :lol:
Title: Re: Bug fix list for WM2 Service pack 1 (updated 9/27)
Post by: Remnant on September 29, 2008, 12:23:50 PM
just an update: fixing the known critical (crashing/failing) bug. Once that is completed I will release the patch.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/3)
Post by: Remnant on October 03, 2008, 05:27:43 PM
I've completed the final changes to the patch.

I will be making it available as soon as I've completed final testing and packaged it up for general consumption!
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Remnant on October 13, 2008, 02:00:44 AM

The currently available version has been updated to WM 2.1. I'd like to find a way to let existing users upgrade instead of re-installing, but a number of directories have been moved around, making it much less complex to simply reinstall.

For Standard and Pro users:

If you re-visit the download link you were provided when you purchased WM, you will now have access to the WM2.1 setup file.

For Basic users:

Re-visit the http://www.world-machine.com/basic_edition.html (http://www.world-machine.com/basic_edition.html) page.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: marmil on October 13, 2008, 09:38:12 AM
Super, thanks Remnant.
Do we need to un-install first, and then install, or can we just install this new version over the old?
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Remnant on October 13, 2008, 02:45:11 PM
Due to structure changes to support Windows Vista, you should backup any documents you saved in the WM installation folder, uninstall, then reinstall. WM 2.1 respects Vista's guidelines for program data placement, so all further upgrades should be able to go directly atop.

Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Yellowbull on October 13, 2008, 03:10:21 PM
Thanks for the update.

Not sure if your aware of this or not. When you output an Erosion-Flow map as .tga, it's flipped vertically. The same goes for outputting Erosion Primary output as .r16, .png and .tga files.

Dave
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Yellowbull on October 13, 2008, 03:15:36 PM
Also, Help - "About World Machine"should say Version 2.1 Just so we know for sure were running to correct version.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: marmil on October 13, 2008, 03:35:07 PM
Due to structure changes to support Windows Vista, you should backup any documents you saved in the WM installation folder, uninstall, then reinstall. WM 2.1 respects Vista's guidelines for program data placement, so all further upgrades should be able to go directly atop.

Got it.  Thanks.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: pfrancke on October 13, 2008, 07:42:34 PM
fyi...  the links says the size is 10 MB, for me the download was 7.7MB (the WM21_Pro).  The 64 bit is complaining about the registration code being not correct, the 32 bit version is complaining about CustomRegPlugins.dll is an incorrect version, but it seems to run.  I'm running Vista 64 bit -- thanks for any help.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Remnant on October 15, 2008, 02:28:13 AM
I've updated the 2.1 package available on the website to improve the 2.0 to 2.1 migration package under Windows Vista. This should fix all of the issues reported so far.

To ensure that you're running the correct version, the About page will now display the exact version number (WM 2.1).
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Yellowbull on October 16, 2008, 02:32:40 PM
Is there a link for 2.1 pro?
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on November 04, 2008, 03:01:31 PM
hmm seems like im having some problems now with using the layout generator in combo with a combiner node.  basically im trying to use the layout as a mask to blend 2 heightmaps..but if i change  the params for the nodes then it somehow gets messed up and doesnt register..but if i save and reload the whole file then it works again..it just doesnt work if i then alter the params again...and then I have to save and reload the file..which got tedious today..I ended up using the other type of combine node..but hey..hope there is a solution in the futire
thanks
adam
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on November 22, 2008, 07:18:26 AM
Any chance you know whats going with the problem in my last post.. Remnant? 

Just the same problems of combiners and various filters sometimes not taking in the mask properly.  I have the updated version of world machine and this seems to happen allot to me. Usually its when i use select slope then select height as a mask for bias/gain and or as a mask for a combiner...Please some feedback would be great.
Ive attached a file where i had this happen and for the ter file look here
http://rs408l3.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=141709834795406991
http://www.2shared.com/file/4334198/4f2add51/mt_cook.html
Adam
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: monkschain on December 04, 2008, 02:39:25 PM
Stephen, I don't think the alpha testers have a link to 2.1...?...well I never received a link to the 2.0 download. I'm still running 2.0 here. Any chance of a link??

Cheers,
monks
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: David on December 10, 2008, 09:02:16 AM
I have had to switch back to 2.0 because of the combiner issue mentioned above... masks are not honored every time. The flipped tga's has also messed up my workflow, tga's and tifs come out in different directions.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Dan777 on December 31, 2008, 02:52:07 AM
Thanks, im get a error about CustomRegPlugins.dll saying its of an incorrect version.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: nih on February 21, 2009, 06:32:57 PM
Hello! I'm a little late to the update party.

I purchased WM2 Standard when it was released and received a Kagi download link. This link has since expired - how do we acquire the new installer for the standard edition?

Edit: whoops, my bad. I was using the World Machine 1 download link, which I upgraded from. The proper WM2 link worked fine.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on April 27, 2009, 05:30:36 AM
Im still stuck on version 2:(  I tried installing the updated version..actually I just did a complete reinstall..the installtion at least worked fine..However I guess because I am using the 64bit version there wasnt an update for it..at least when I was looking at the extracting  files I could not see the 64bit exe.  So under vista(64) the current update patch ect doesnt work..I get many crashes for simply adding devices.

cheers
Adam
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: nikita on April 27, 2009, 05:57:38 AM
I'm using the 64bit edition and it works fine.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on April 27, 2009, 09:13:54 AM
hmm u using it on vista or xp?  If I even try to place an output node it will crash.  Ill try again to reinsall it ..but has to wait till i get to work tuesday..also what gfx hardware are u using..im using an nvidia 9800gtx
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: nikita on April 27, 2009, 12:25:38 PM
I'm using XP64 with an nvidia 7900GS. You are aware that the patch has to be installed on top of a previous installation?
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on April 27, 2009, 12:32:08 PM
yeah thats what I did..ill try again tomorrow
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on April 28, 2009, 12:51:35 AM
ok so I have re installed worldmachine..first the 2.1 then the update patch.  If im starting a new project it seems to work fine..Ive tried building a few device chains that I normally use and they sem to run ok.  However if I use one of my files from version 2.0 then I run into some problems.  It seems some of the devices work fine until I get a little deeper into them..then the crashing begins.  The crashing mainly happens after about 4 devices and simply by disconecting an input node will cause the following crash(sorry im not sure if its helpfull at all).  This means building some complicated terrains all over again to test if its a problem with old files made with version 2.0...which I will do now and report back.
adam

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   World Machine64.exe
  Application Version:   2.0.0.0
  Application Timestamp:   49dd54ff
  Fault Module Name:   StdDev64.dll
  Fault Module Version:   1.0.0.1
  Fault Module Timestamp:   49dd5377
  Exception Code:   c0000005
  Exception Offset:   000000000002cddb
  OS Version:   6.0.6001.2.1.0.256.1
  Locale ID:   3079
  Additional Information 1:   bce9
  Additional Information 2:   3086d276f1d4890f7c9516caf435b8a8
  Additional Information 3:   d05a
  Additional Information 4:   a0be08ea2fc233c3eab761858b4e6473
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on April 28, 2009, 02:15:42 AM
ok some more testing fro this...new files this time.  Got a .ter file as an input heightmap..this goes straight into a layout generator used as a mask for some blur then into the sharpen pro macro.  if I add another layout generator into the output pin of the file input I get a crash.  If I remove the sharpen pro then i dont get the crash.  I tried removing the sharpen pro on some of the other old files and it seemed to mostly fix the problem...all nodes seem to work up to a point..but still crashes on an output pin from errosion (flow map) into a combiner and also the output file device too..
no idea whats causing it
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on April 28, 2009, 02:30:30 AM
just tested the same things on xp 64 and I have the exact same problems:(  I wonder if this could be related to my Processor, currently im using one of the fairly new chips..Intel Core i7 CPU 920 @2.67GHz?  But seeing as version 2 works fine then its just a problem with the update patch.  Anyway Ill be switching back to version 2.0 again so I can do some work for now.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: nikita on April 28, 2009, 07:12:28 AM
No, it seems to be the sharpening macro. just adding the macro to an empty project and adding an output node afterwards crashes WM instantly (both 32 and 64bit).

I suggest using the new version of the macro available on my website: http://nkblog.nkdev.de/?page_id=446 which seems to work.. at least it didn't crash in the scenario described above.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on April 28, 2009, 07:20:13 AM
well actually the last ones i tried didnt have the sharpen macro at all..but still had some crashing with input output pins..like the last one i described..but yeah ill definatley get the new sharpen macro too..one of my favorites:)
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: nikita on April 28, 2009, 07:36:30 AM
Ok, I looked it up in the bug tracker and it seems the bug is already known and Stephen is working on it.
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on April 28, 2009, 07:46:48 AM
ok cool! actually looking forward to be on the testing team soon:)  Hey your in Germany as I can see..I wonder where..I have to come and visit a friend this weekend in Munich, would be cool to catch up with someone else passonate about terrains:)
adam
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: nikita on April 28, 2009, 08:31:37 AM
Cool.. but, I'm from Leipzig which is 350km north of Munich - I don't think that's worth it ;)
Title: Re: Bug fix list for WM2 Service pack 1 (updated 10/8)
Post by: Nav on April 28, 2009, 10:52:53 AM
ahh well! Anyway im living here for at least the next few years and have friends all over germany ..so maybe some day