TG v3.0.0 Beta Released! - NemPosted: Jun 30th, 2003 - 2:35:01 pm

After over a year of sporadic programming it's finally out. This is a beta release but it seems to be pretty refined, there are a few minor bugs that I know about but overall the program is quite stable and should prove a huge upgrade from v2.3.0.

You can download the beta from here and post any comments, bug reports or suggestions here. Last but not least some random screenshot:

TG main screen.

Enjoy!

Modified: Mar 7th, 2004 - 4:47:20 pm[ 53528 Views ]

[ 1 2 3 4 5 ]

46. Grayson_PeddiePosted: Aug 10th, 2003 - 4:57:47 am

Hey Nem! Yuu had written your program using C#?? I love C#!! happy

Well, I am going to install this program!

I'm glad to see that you had written your program using .Net Framework! cool happy

47. Grayson_PeddieModified: Aug 10th, 2003 - 5:13:40 am

Okay. I'd installed TG but when I go to File->New, your 6th label got cut off. And there's a problem in that same 6th label. I saw something like a hexidecimal number like:

"3.354624E+07"

It sounds like the number may be too big (maybe because those numbers are out of the limited range) to fit in a data type (maybe a "decimal" data type?). Since I do assume that you have Visual C# .Net (part of Visual Studio), you will need to either resize the x or y in the property pane to make it larger. And resize the label that were cut off, too.

And for that variable inside the 6th label in the "New Terrain" dialog box, maybe you did the wrong conversion. But I don't know because I'm not an expert in C# as you are. :)

Oh, and I forgot to tell you. I have Windows XP Home with SP1 and .Net Framework 1.1.

48. Grayson_PeddieModified: Aug 10th, 2003 - 5:42:38 am

New problem arises! I had repreduced an error once after I go to File - New. I had set the XY size to 4096x4096 and the first time I hit enter or Okay, it said: "Not responding" in the title bar.

The second one that just came out is the Microsoft .Net Framework dialog box showing an exception error. Here it is:

Quote:
Excption of type System.OutOfMemoryException was thrown.


Quote:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown.


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
TerrainGenerator
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Program%20Files/Terrain%20Generator/TerrainGenerator.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
nativegl
Assembly Version: 1.0.1269.28812
Win32 Version:
CodeBase: file:///C:/Program%20Files/Terrain%20Generator/nativegl.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.


Here's my suggestion. You might want to try setting up a try...catch or try...catch...finally block. Here's my example:

Code:

// If you assign a name to the Okay button called "GenerateTerrain",
// then you will see somthing like this:
private void GenerateTerrain_Click(object sender, System.EventArgs e)
{
// ... Do ordinary stuff here.
try
{
// Try to execute a code.
// If there's a problem with the code, throw the exception
// and let the catch block handle the exception.
}
catch (OutOfMemoryException memexception)
{
MessageBox.Show(memoryexception,
"Out of memory!");
}
}


You can correct my code if I'm wrong.

49. NemModified: Aug 10th, 2003 - 11:52:49 am

Thanks for pointing that out, the app is still in beta mode so there may be a few of these little issues floating around...

BTW 3.354624E+07 isn't hex, its a scientific exponent.

50. Grayson_PeddiePosted: Aug 10th, 2003 - 1:25:46 pm

Quote:
Orginally posted by Nem
BTW 3.354624E+07 isn't hex, its a scientific exponent.

Ah... Thank Nem for clearing this up for me; not to get off-topic but I'd gained a little bit of knowledge of C#.

51. NemModified: Aug 10th, 2003 - 2:09:54 pm

No worries, most languages will convert large number to scientific notation (which is basically the decimal portion multiplied by ten to the power of the exponent), I donít think it is too much of an issue since you probably donít want a level with 33 million triangles in it anyways. (Which, coincidentally takes up about 3.2 GB of data).

I have, however, fixed the error.

capoera

52. NemPosted: Aug 10th, 2003 - 2:25:06 pm

Hum, calculating the memory usage of TG has been a bit of an eye opener. As you can see by the above TG requires about 325 MB per million triangles. Now about 2/3 of this is devoted to display lists, one master list, and one culled list wich TG sends to the OpenGL renderer. As TG builds the culled list it copies portions from the master list to save on calculations; however, navigating through c. 215 MB of data in RAM is very slow, especially if it is constantly going from array A to array B. In fact, accessing and copying that memory is probably slower then doing the calculations in the RAM and cache. To conclude, eliminating the master list should reduce memory usage by about 1/3 with very little effect on performanceÖ

Iíll have to look into this.

53. Dan SilvermanPosted: Aug 12th, 2003 - 2:51:07 am

Hello. Does NEM's only support opening WAD files for graphics to be applied to the terrain in the real-time view? If so, would it be possible to allow BMPs (or other graphic formats) to be used as textures in the real-time view?

Thank you.

54. NemPosted: Aug 12th, 2003 - 10:59:18 am

You can load single or recursive texture folders on your hard drive that contain .BMP, .JPG, .TGA or .WAL textures. Other file types they contain will be ignored.

55. Dan SilvermanPosted: Aug 13th, 2003 - 3:55:06 pm

Thank you for your quick response. Can you please tell me how to load single or recursive texture folders from my hard drive? I clicked the BROWSE button, but that only takes me to the WAD folder within the installed directory of NEMs.

56. NemPosted: Aug 13th, 2003 - 5:24:57 pm

Tools->Options

Then under the Packages tab click Add Folder and browse to the folder containing the textures. If Recursive is check it will load textures in the folder's sub directories.

57. poesjePosted: Sep 9th, 2003 - 3:16:02 am

ey i download 3.0 but i got this! can`t find right dll, mscoree.dll! so why does it not work?!

58. NemPosted: Sep 9th, 2003 - 11:43:03 am

Do you have the .NET framework?

59. revengePosted: Sep 10th, 2003 - 11:46:21 am

Hey nem i downloaded it to desktop but then when i try to open it or run it it closes right away it barely opens a black screen and closes why?bleeh

60. revengePosted: Sep 10th, 2003 - 11:53:58 am

its an ms dos program i see but i double click it after i download it and it comes as a ms dos for a sec and closes u know why?soccersoccer

[ 1 2 3 4 5 ]

You must be logged in to post a comment.
New users can register here.
Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.030435s; Queries: 17.
dishes served.
Powered by The Wavelength.

Valid XHTML 1.0 Transitional Valid CSS
π