.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Hey, this thing's starting to look like a modeller (http://forum.shrapnelgames.com/showthread.php?t=21926)

Ed Kolis December 7th, 2004 05:05 AM

Hey, this thing\'s starting to look like a modeller
 
http://home.fuse.net/koliset/Programming/YAM.rar

YAM stands for Yet Another Modeller... OK, it's not much of a modeller yet, as all you can do is spin the teapot around (by holding the middle button down and dragging, or use both buttons if you have a 2-button mouse) and zoom in and out on it (with the mousewheel, if you have one), but it is pretty nifty, isn't it? http://forum.shrapnelgames.com/images/smilies/wink.gif

edit: changed thread title to garner attention http://forum.shrapnelgames.com/images/smilies/wink.gif

Ed Kolis December 11th, 2004 02:42 AM

Re: Hey, this thing\'s starting to look like a mode
 
All right, check it out NOW, since no one seemed to care before...

Now you can add shapes! And import .X files! Ooh! Ahh! http://forum.shrapnelgames.com/images/smilies/eek.gif http://forum.shrapnelgames.com/images/smilies/cool.gif http://forum.shrapnelgames.com/image...ies/tongue.gif

Next will probably be moving, rotating, and scaling said shapes and .X files around to make a scene... then saving them into a NEW .X file... starting to sound a bit like DoGA? That's not all, I hope to add mesh modelling features like those found in Wings, if I can get the hang of this winged-edge data structure (actually I'll be using a variant called the half-edge data structure, which looks easier to understand and somewhat more flexible...)

If, that is, I don't get sidetracked back into the Templatizer project I was working on before I got sidetracked onto this! http://forum.shrapnelgames.com/image...ies/tongue.gif

Atrocities especially, I think you'll really like this, if I can pull it off... a modeller that works natively in .X format so there's no conVersion trouble when working with SE5! http://forum.shrapnelgames.com/images/smilies/laugh.gif

David E. Gervais December 11th, 2004 06:48 AM

Re: Hey, this thing\'s starting to look like a mode
 
I get a "Failed to innitialize properly" error message. Too bad, I have been looking for a good .x model file viewer for a long time now.

Oh well, I'll wait for your next update and try again.

Cheers! http://forum.shrapnelgames.com/images/smilies/happy.gif

Fyron December 11th, 2004 12:31 PM

Re: Hey, this thing\'s starting to look like a mode
 
You probably need to install the C# .NET runtime, as undoubtedly Ekolis used this for his program...

David E. Gervais December 11th, 2004 12:45 PM

Re: Hey, this thing\'s starting to look like a mode
 
Sorry then, I'm not about to install any .NET runtime or other. the .net framework is the #1 biggest leak and source for web based viruses. FYI, it's how most of the malware, spyware and otherwise hijackers get installed without so much as a thank you. The JRE runtime enviorment is the second biggest culpret for spreading malware and hijackers, but some sites I go to require that I have it installed so it's a necessary evil. The .net framework is not needed by me for any reason.

anyway, enough babbling, Cheers! http://forum.shrapnelgames.com/images/smilies/happy.gif

Ed Kolis December 11th, 2004 02:54 PM

Re: Hey, this thing\'s starting to look like a mode
 
That's right, it's a .NET program, and I'm sorry you don't want to install it, because I'd really like to help you out... maybe someone else would like to try this out, at least? Atrocities, perhaps? Or any of the other artist types around here? http://forum.shrapnelgames.com/images/smilies/wink.gif
And hey, maybe if this program becomes useful enough, someday you'll install the .NET runtime just to use it? http://forum.shrapnelgames.com/images/smilies/wink.gif
There is also Mono, which is an open-source Version of .NET, if that makes you any more comfortable... I'd have to recompile the program and I'm not sure if it would be compatible with Mono or not to begin with (for one thing I know I wouldn't be able to visually design any forms or dialog boxes; I'd have to code them from scratch http://forum.shrapnelgames.com/images/smilies/frown.gif)
Wait... if you want an X file viewer, have you tried MeshX? It has basic modelling functions as well, and it's only $20 shareware... http://www.spinnerbaker.com/meshx.htm

PvK December 11th, 2004 05:53 PM

Re: Hey, this thing\'s starting to look like a modeller
 
Sorry, I'm a .NOT person, too.

Edit: Actually, I could try it out at work...

Nodachi December 11th, 2004 07:46 PM

Re: Hey, this thing\'s starting to look like a mode
 
I was willing to give it a go Ed. However I'm getting an error right off the start. I have the .net framework installed but it may not be up to date. Once I check on that I'll get back to you. Also, what Version of directx are you using, that might cause some problems.

Combat Wombat December 11th, 2004 09:43 PM

Re: Hey, this thing\'s starting to look like a mode
 
I get this when I start it up, I have the .NET stuff I believe

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

************** Exception Text **************
System.IO.FileNotFoundException: File or assembly name Microsoft.DirectX.Direct3D, or one of its dependencies, was not found.
File name: "Microsoft.DirectX.Direct3D"
at YAM.MainForm.MainFormLoad(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& amp; m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message&amp ; m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.DirectX.Direct3D, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = C:\Documents and Settings\JT\Desktop\YAM\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : YAM, Version=0.0.3.887, Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: Microsoft.DirectX.Direct3D, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL file:///C:/Documents and Settings/JT/Desktop/YAM/bin/Debug/Microsoft.DirectX.Direct3D.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/JT/Desktop/YAM/bin/Debug/Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/JT/Desktop/YAM/bin/Debug/Microsoft.DirectX.Direct3D.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/JT/Desktop/YAM/bin/Debug/Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D.EXE.



************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/microsoft.net/fra...2/mscorlib.dll
----------------------------------------
YAM
Assembly Version: 0.0.3.887
Win32 Version: 0.0.3.887
CodeBase: file:///C:/Documents%20and%20Setting.../Debug/YAM.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/syst...dows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/syst...089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/syst...em.drawing.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.

Nodachi December 11th, 2004 10:36 PM

Re: Hey, this thing\'s starting to look like a mode
 
I checked everything out and I'm up to date. I'm getting the same error as CW.

Ed Kolis December 12th, 2004 01:46 AM

Re: Hey, this thing\'s starting to look like a mode
 
Well it sounds like you guys either don't have DirectX installed, or you have an old Version... do you have Version 9.0c (the Summer 2004 update Version)?
Sorry for all your trouble just to see some spinning teapots! http://forum.shrapnelgames.com/images/smilies/frown.gif Hopefully I'll have more features soon...

Ed Kolis December 15th, 2004 02:51 PM

Re: Hey, this thing\'s starting to look like a mode
 
Aha!
I found the problem!
When you install DirectX, you have to use the command-line option /InstallManagedDX on the installer! Otherwise Microsoft assumes you're not interested in running .NET DirectX applications and doesn't install support for them http://forum.shrapnelgames.com/image...s/rolleyes.gif
BTW, when I say the installer, I mean the dxsetup.exe that you get after extracting the initial self-extracting archive.
Try downloading the program again, too... now you can move the most recently created shape around by using the Translate menu options... currently Screen coordinates are not implemented, though, and Local and World do the same thing since I haven't added object rotation (just camera orbiting)... http://forum.shrapnelgames.com/image...ies/tongue.gif

Instar December 16th, 2004 03:31 AM

Re: Hey, this thing\'s starting to look like a mode
 
Quote:

David E. Gervais said:
Sorry then, I'm not about to install any .NET runtime or other. the .net framework is the #1 biggest leak and source for web based viruses. FYI, it's how most of the malware, spyware and otherwise hijackers get installed without so much as a thank you. The JRE runtime enviorment is the second biggest culpret for spreading malware and hijackers, but some sites I go to require that I have it installed so it's a necessary evil. The .net framework is not needed by me for any reason.

anyway, enough babbling, Cheers! http://forum.shrapnelgames.com/images/smilies/happy.gif

buh... guh? fuh!?!

Give me some real world stats, 'cause I suspect none of that is true.
The .NET Framework has a built-in security system, which prevents untrusted code (stuff from the internet) from using certain system resources (reg keys, read/write access to HD, etc). The Java Run-time Environment runs code in a protected sandbox (which has admittedly been patched recently for a potential breach).
The #1 method for viruses to run is with the IA-32 instruction set. Think about it.

Instar December 16th, 2004 03:37 AM

Re: Hey, this thing\'s starting to look like a mode
 
Quote:

Imperator Fyron said:
You probably need to install the C# .NET runtime, as undoubtedly Ekolis used this for his program...

WTH is the C# .NET runtime? Do you mean the CLR? You install only one runtime, which runs MSIL (or CIL).


All times are GMT -4. The time now is 07:03 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.