Scythe - The worlds first Physics Editor (Now open source!)

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Scythe - The worlds first Physics Editor (Now open source!)

Post by Captain_Deathbeard »

website: http://www.physicseditor.com
sourceforge: http://sourceforge.net/projects/physicseditor/

EDIT:
Scythe is now open-source. I no longer have the time for it, I am making a game now, so instead of leaving it to rot away I have freed it to the community.
I didn't originally intend to make it open-source, so theres a couple of nasty messy bits (mainly the .NET UI), that will hopefully get cleaned up eventually. Check the docs on sourceforge for more info.

Since my first post here, scythe has come a long way, notably it now has ragdoll support, and complete convex hull dexomposition. In other words, you wont ever need dynamic tri-mesh support, because it can make a perfectly accurate hull out of convex meshes!

Theres also some fun youtube videos:
http://www.physicseditor.com/features.shtml


///----------

I've finally got to a presentable stage of my physics editor "Scythe". It basically allows artists to assemble physical entities like vehicles, ragdolls, structures, rather than the programmers generating them programatically, which is just stupid.

Its made with Visual studio .net and Ogre, and currently uses Novodex (PhysX) and Newton for the preview simulation. The idea though is that it stores to an independant physics file format which can by loaded by anyone, so its not limited to any particular rendering or physics engine.

I have a demo for you to play with, let me know what you think, although its still has a few kinks to be ironed out.

http://www.physicseditor.com/download/S ... r_1-14.msi

There is also a manual and some tutorials here
http://www.physicseditor.com/support.shtml

A cool wobbly windmill, every piece and bar is separately attached and breakable, and the blades spin under motor power.
Image
Image
Image
The windmill loaded into a game in Ogre:
Image

A vehicle, with a cool spinning siren. Every piece and panel is separate and attached by breakable joints.
Image
--In edit mode:
Image
--In simulation mode:
Image
Image

Ageia Hardware Physics:
Image
Last edited by Captain_Deathbeard on Thu Sep 20, 2007 3:23 pm, edited 17 times in total.
User avatar
celic
Gnome
Posts: 363
Joined: Wed Mar 23, 2005 11:05 am
Location: Chisinau/Moldova
Contact:

Post by celic »

Great job! :D
It sounds very promising! I think this will be very useful! :D
User avatar
Game_Ender
Ogre Magi
Posts: 1269
Joined: Wed May 25, 2005 2:31 am
Location: Rockville, MD, USA

Post by Game_Ender »

Have you heard of the Collada format? It supports physics and would allow you to define this kind of information in your modeler, instead of going through all the trouble to make a special tool. Not having to learn a new tool is even more friendly for the artist. Nfz got a version working in Blender that allowed you define physics information for you objects and scenes, export everything in Collada then import them into Ogre. That said, Collada support would be cool.
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Post by jacmoe »

Nice application.
Too bad it's not free/open-source. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Post by Captain_Deathbeard »

The modeller plugins available so far aren't very good. Scythe would be designed specifically for physics and allow immediate previews for fine-tuning, It should be less awkward to use than the modeller-plugin editors.

I will probably add Collada support for it in the future, but Collada isnt so good for real-time because its xml. It would be very handy though as an intermidiary. Does Collada store mesh data internally or can it reference external files?
Too bad it's not free/open-source.
I cant afford to, I will starve :D But it will be cheap, the price of a game.
Imperil

Post by Imperil »

I know you stated that this is to be physics implementation agnostic.. but I am wondering if you will be adding PhysX cooking?

Looks like a cool application, the only other PhysX tool that I've seen is Reality Builder (which is quite an advanced editor).
User avatar
CaseyB
OGRE Contributor
OGRE Contributor
Posts: 1335
Joined: Sun Nov 20, 2005 2:42 pm
Location: Columbus, Ohio
x 3
Contact:

Post by CaseyB »

Looks good, but when I tried to load a mesh I got this error before it died:

Code: Select all

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

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at MyFormProject.MainForm.physMain()
   at MyFormProject.MainForm.updateTimer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Scythe
    Assembly Version: 1.0.2278.25084
    Win32 Version: 1.0.2278.25084
    CodeBase: file:///C:/Documents%20and%20Settings/cborders/Desktop/scythe_0-9a/Scythe.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Post by Captain_Deathbeard »

I am wondering if you will be adding PhysX cooking?
Yeah I will add in physics engine-specific features eventually, but to start with I'm trying to get the fundamentals done.

Thanks for the info CaseyB, does it happen with all models or just the one? Can you post me the ogre.log?
User avatar
CaseyB
OGRE Contributor
OGRE Contributor
Posts: 1335
Joined: Sun Nov 20, 2005 2:42 pm
Location: Columbus, Ohio
x 3
Contact:

Post by CaseyB »

It happens with all the models that I tried. The Ogre.log says that it has trouble locating the materials so I put them all in the same folder, but I get the same error. Here's the ogre.log:

Code: Select all

15:13:12: Creating resource group General
15:13:12: Registering ResourceManager for type Material
15:13:12: Registering ResourceManager for type Mesh
15:13:12: Registering ResourceManager for type Skeleton
15:13:12: Loading library OgrePlatform.dll
15:13:12: OverlayElementFactory for type Panel registered.
15:13:12: OverlayElementFactory for type BorderPanel registered.
15:13:12: OverlayElementFactory for type TextArea registered.
15:13:12: Registering ResourceManager for type Font
15:13:12: ArchiveFactory for archive type FileSystem registered.
15:13:12: ArchiveFactory for archive type Zip registered.
15:13:12: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
15:13:12: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw 
15:13:12: Registering ResourceManager for type HighLevelGpuProgram
15:13:12: Loading library .\physedit\RenderSystem_Direct3D7
15:13:12: Direct3D7 Rendering Subsystem created.
15:13:12: ----- DirectDraw Detection Starts
15:13:12: Detected DirectDraw driver Primary Display Driver
15:13:12: Detected DirectDraw driver Intel(R) 82915G/GV/910GL Express Chipset Family
15:13:12: ----- DirectDraw Detection Ends
15:13:12: Loading library .\physedit\RenderSystem_Direct3D9
15:13:12: D3D9 : Direct3D9 Rendering SubSystem created.
15:13:12: D3D9: Driver Detection Starts
15:13:12: D3D9: Driver Detection Ends
15:13:12: Loading library .\physedit\RenderSystem_GL
15:13:12: OpenGL Rendering Subsystem created.
15:13:12: Loading library .\physedit\Plugin_BSPSceneManager
15:13:12: Registering ResourceManager for type BspLevel
15:13:12: Loading library .\physedit\Plugin_OctreeSceneManager
15:13:12: TerrainSceneManager: Registered a new PageSource for type Heightmap
15:13:12: Loading library .\physedit\Plugin_ParticleFX
15:13:12: Particle Emitter Type 'Point' registered
15:13:12: Particle Emitter Type 'Box' registered
15:13:12: Particle Emitter Type 'Ellipsoid' registered
15:13:12: Particle Emitter Type 'Cylinder' registered
15:13:12: Particle Emitter Type 'Ring' registered
15:13:12: Particle Emitter Type 'HollowEllipsoid' registered
15:13:12: Particle Affector Type 'LinearForce' registered
15:13:12: Particle Affector Type 'ColourFader' registered
15:13:12: Particle Affector Type 'ColourFader2' registered
15:13:12: Particle Affector Type 'ColourImage' registered
15:13:12: Particle Affector Type 'ColourInterpolator' registered
15:13:12: Particle Affector Type 'Scaler' registered
15:13:12: Particle Affector Type 'Rotator' registered
15:13:12: *-*-* OGRE Initialising
15:13:12: *-*-* Version 1.0.7 (Azathoth)
15:13:12: Added resource location './media' of type 'FileSystem' to resource group 'General'
15:13:12: Added resource location './physedit/data.zip' of type 'Zip' to resource group 'General'
15:13:12: D3D9 : RenderSystem Option: Full Screen = No
15:13:12: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 16-bit colour
15:13:12: D3D9 : Subsystem Initialising
15:13:12: ***************************************
15:13:12: *** D3D9 : Subsystem Initialised OK ***
15:13:12: ***************************************
15:13:12: ResourceBackgroundQueue - threading disabled
15:13:12: D3D9RenderSystem::createRenderWindow "View", 800x600 windowed  miscParams: externalWindowHandle=853850 
15:13:12: D3D9 : Created D3D9 Rendering Window 'View' : 1152x826, 32bpp
15:13:12: Registering ResourceManager for type Texture
15:13:12: Registering ResourceManager for type GpuProgram
15:13:12: RenderSystem capabilities
15:13:12: -------------------------
15:13:12:  * Hardware generation of mipmaps: no
15:13:12:  * Texture blending: yes
15:13:12:  * Anisotropic texture filtering: yes
15:13:12:  * Dot product texture operation: yes
15:13:12:  * Cube mapping: yes
15:13:12:  * Hardware stencil buffer: yes
15:13:12:    - Stencil depth: 8
15:13:12:    - Two sided stencil support: yes
15:13:12:    - Wrap stencil values: yes
15:13:12:  * Hardware vertex / index buffers: yes
15:13:12:  * Vertex programs: yes
15:13:12:    - Max vertex program version: vs_3_0
15:13:12:  * Fragment programs: yes
15:13:12:    - Max fragment program version: ps_2_0
15:13:12:  * Texture Compression: yes
15:13:12:    - DXT: yes
15:13:12:    - VTC: no
15:13:12:  * Scissor Rectangle: yes
15:13:12:  * Hardware Occlusion Query: no
15:13:12:  * User clip planes: yes
15:13:12:  * VET_UBYTE4 vertex element type: yes
15:13:12:  * Infinite far plane projection: yes
15:13:12:  * Hardware render-to-texture: yes
15:13:12:  * Floating point textures: no
15:13:12:  * Non-power-of-two textures: yes
15:13:12:  * Volume textures: yes
15:13:12: Particle Renderer Type 'billboard' registered
15:13:12: Parsing scripts for resource group General
15:13:12: Parsing script concrete.material
15:13:12: Parsing script default.material
15:13:12: Error in material default at line 12 of default.material: Unrecognised command: depth_check
15:13:12: Parsing script gizmo.material
15:13:12: Error in material gizmor at line 6 of gizmo.material: Unrecognised command: receive_shadows
15:13:12: Error in material gizmog at line 26 of gizmo.material: Unrecognised command: receive_shadows
15:13:12: Error in material gizmob at line 46 of gizmo.material: Unrecognised command: receive_shadows
15:13:12: Error in material flash at line 66 of gizmo.material: Unrecognised command: receive_shadows
15:13:12: Error in material black at line 85 of gizmo.material: Unrecognised command: receive_shadows
15:13:12: Parsing script grey.material
15:13:12: Parsing script main.material
15:13:12: Parsing script RZR-002.material
15:13:12: Finished parsing scripts for resource group General
15:13:12: Texture: r2skin.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:13:12: Texture: grey.png: Loading 1 faces(PF_B8G8R8,256x256x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
15:13:13: Texture: default.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:13:13: Mesh: Loading marker.mesh.
15:13:13: Can't assign material 2_-_Default to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 2_-_Default to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 2_-_Default to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material gizmoblack to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material gizmoblack to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material gizmoblack to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Mesh: Loading gizmo1.mesh.
15:13:13: Can't assign material 1_-_Default to SubEntity of 2 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 2 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 2 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Mesh: Loading gizmo1b.mesh.
15:13:13: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 4 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 4 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 4 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 6 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 6 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 6 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Mesh: Loading gizmo2.mesh.
15:13:13: Can't assign material 1_-_Default to SubEntity of 8 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 9 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 10 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 11 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 11 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 11 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 12 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 12 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 12 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 13 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 13 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Can't assign material 1_-_Default to SubEntity of 13 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Mesh: Loading gizmo3.mesh.
15:13:13: Can't assign material 3_-_Default to SubEntity of 14 because this Material does not exist. Have you forgotten to define it in a .material script?
15:13:13: Creating viewport on target 'View', rendering from camera 'Cam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
15:13:13: Viewport for camera 'Cam', actual dimensions L: 0 T: 0 W: 1152 H: 826
15:13:13: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 300 H: 167
15:13:13: Creating viewport on target 'View', rendering from camera 'Cam2', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 1
15:13:13: Viewport for camera 'Cam2', actual dimensions L: 0 T: 0 W: 1152 H: 826
15:13:13: Viewport for camera 'Cam2', actual dimensions L: 299 T: 33 W: 676 H: 826
15:13:13: Creating viewport on target 'View', rendering from camera 'Cam3', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 3
15:13:13: Viewport for camera 'Cam3', actual dimensions L: 0 T: 0 W: 1152 H: 826
15:13:13: Viewport for camera 'Cam3', actual dimensions L: 0 T: 200 W: 300 H: 626
15:13:13: Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:13:26: Mesh: Loading C:\\Documents and Settings\\cborders\\My Documents\\Monolith\\media\\models\monolith.mesh.
15:13:26: Can't assign material Stone to SubEntity of 15 because this Material does not exist. Have you forgotten to define it in a .material script?
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Post by Captain_Deathbeard »

I see the problem thanks.
User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Post by betajaen »

Ooh very nice.

I started writing one called Corona which works with NxOgre but you've beat me to the punch.

I expect you use PhysX directly but any chance for an NxScene export function in the future :wink:


Again, Kudos. :D
User avatar
CaseyB
OGRE Contributor
OGRE Contributor
Posts: 1335
Joined: Sun Nov 20, 2005 2:42 pm
Location: Columbus, Ohio
x 3
Contact:

Post by CaseyB »

Captain_Deathbeard wrote:I see the problem thanks.
Glad to have been of some help! :D
User avatar
morez
Kobold
Posts: 36
Joined: Mon Nov 14, 2005 11:40 am
Location: Verona, Italy

Post by morez »

.. that's very interesting .. we plan to develop such a tool (in a more simple way honestly) for our purpose, so we're very glad to see that we could use your effort .. thanks :)
User avatar
CaseyB
OGRE Contributor
OGRE Contributor
Posts: 1335
Joined: Sun Nov 20, 2005 2:42 pm
Location: Columbus, Ohio
x 3
Contact:

Post by CaseyB »

I don't mean to be a pain, but could you update the download link, I would love to play with it! :D
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Post by Captain_Deathbeard »

Ok, I fixed and updated the download! (I think, I couldnt reproduce the crash so I cant be sure)
I expect you use PhysX directly but any chance for an NxScene export function in the future
What do you mean by an NxScene export function?
User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Post by betajaen »

Captain_Deathbeard wrote:
I expect you use PhysX directly but any chance for an NxScene export function in the future
What do you mean by an NxScene export function?
NxScene is the "file format" for NxOgre to load in scenes, very similar to dotScene. I was joking about it but, it would be nice :)
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Post by Captain_Deathbeard »

Ah I diddn't know nxOgre had a file format. I will supply plenty of code for implementing the scythe format though so it should be quite easy to write a scythe importer for it
User avatar
CaseyB
OGRE Contributor
OGRE Contributor
Posts: 1335
Joined: Sun Nov 20, 2005 2:42 pm
Location: Columbus, Ohio
x 3
Contact:

Post by CaseyB »

:? I got another exception. Could be be that my comp at work is just crap?
Image

Code: Select all

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

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at MyFormProject.MainForm.physMain()
   at MyFormProject.MainForm.updateTimer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Scythe
    Assembly Version: 1.0.2279.41120
    Win32 Version: 1.0.2279.41120
    CodeBase: file:///C:/Documents%20and%20Settings/cborders/Desktop/scythe_0-9a/Scythe.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Post by Captain_Deathbeard »

I cant reproduce it myself, I have a few questions:
-Can you still insert primitives? (sphere, box buttons)
-Can you try putting a model in the C:\ location and see if it still crashes?
-If so can you try going into scythe/physedit/data.zip, take a .mesh out of there and try loading that in scythe?
-When it crashes, can you show me the end of the ogre.log?

Can anyone else who has tried the demo it tell me if Scythe loads models fine or if it crashes?
User avatar
CaseyB
OGRE Contributor
OGRE Contributor
Posts: 1335
Joined: Sun Nov 20, 2005 2:42 pm
Location: Columbus, Ohio
x 3
Contact:

Post by CaseyB »

Ok, the first issue is that whe it loads the perspective screen is filled with garbage.
Image
and I have to change the layout to get it to clear up. I can load primitives and I can load a mesh from C:\

When I get 8it to crash here is the ogre.log

Code: Select all

11:00:25: Creating resource group General
11:00:25: Registering ResourceManager for type Material
11:00:25: Registering ResourceManager for type Mesh
11:00:25: Registering ResourceManager for type Skeleton
11:00:25: Loading library OgrePlatform.dll
11:00:25: OverlayElementFactory for type Panel registered.
11:00:25: OverlayElementFactory for type BorderPanel registered.
11:00:25: OverlayElementFactory for type TextArea registered.
11:00:25: Registering ResourceManager for type Font
11:00:25: ArchiveFactory for archive type FileSystem registered.
11:00:25: ArchiveFactory for archive type Zip registered.
11:00:25: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
11:00:25: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw 
11:00:25: Registering ResourceManager for type HighLevelGpuProgram
11:00:25: Loading library .\physedit\RenderSystem_Direct3D7
11:00:25: Direct3D7 Rendering Subsystem created.
11:00:25: ----- DirectDraw Detection Starts
11:00:25: Detected DirectDraw driver Primary Display Driver
11:00:25: Detected DirectDraw driver Intel(R) 82915G/GV/910GL Express Chipset Family
11:00:25: ----- DirectDraw Detection Ends
11:00:25: Loading library .\physedit\RenderSystem_Direct3D9
11:00:25: D3D9 : Direct3D9 Rendering SubSystem created.
11:00:25: D3D9: Driver Detection Starts
11:00:25: D3D9: Driver Detection Ends
11:00:25: Loading library .\physedit\RenderSystem_GL
11:00:25: OpenGL Rendering Subsystem created.
11:00:25: Loading library .\physedit\Plugin_BSPSceneManager
11:00:25: Registering ResourceManager for type BspLevel
11:00:25: Loading library .\physedit\Plugin_OctreeSceneManager
11:00:25: TerrainSceneManager: Registered a new PageSource for type Heightmap
11:00:25: Loading library .\physedit\Plugin_ParticleFX
11:00:25: Particle Emitter Type 'Point' registered
11:00:25: Particle Emitter Type 'Box' registered
11:00:25: Particle Emitter Type 'Ellipsoid' registered
11:00:25: Particle Emitter Type 'Cylinder' registered
11:00:25: Particle Emitter Type 'Ring' registered
11:00:25: Particle Emitter Type 'HollowEllipsoid' registered
11:00:25: Particle Affector Type 'LinearForce' registered
11:00:25: Particle Affector Type 'ColourFader' registered
11:00:25: Particle Affector Type 'ColourFader2' registered
11:00:25: Particle Affector Type 'ColourImage' registered
11:00:25: Particle Affector Type 'ColourInterpolator' registered
11:00:25: Particle Affector Type 'Scaler' registered
11:00:25: Particle Affector Type 'Rotator' registered
11:00:25: *-*-* OGRE Initialising
11:00:25: *-*-* Version 1.0.7 (Azathoth)
11:00:25: Added resource location './media' of type 'FileSystem' to resource group 'General'
11:00:25: Added resource location './physedit/data.zip' of type 'Zip' to resource group 'General'
11:00:25: D3D9 : RenderSystem Option: Full Screen = No
11:00:25: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 16-bit colour
11:00:25: D3D9 : Subsystem Initialising
11:00:25: ***************************************
11:00:25: *** D3D9 : Subsystem Initialised OK ***
11:00:25: ***************************************
11:00:25: ResourceBackgroundQueue - threading disabled
11:00:25: D3D9RenderSystem::createRenderWindow "View", 800x600 windowed  miscParams: externalWindowHandle=1508240 
11:00:25: D3D9 : Created D3D9 Rendering Window 'View' : 1152x826, 32bpp
11:00:25: Registering ResourceManager for type Texture
11:00:25: Registering ResourceManager for type GpuProgram
11:00:25: RenderSystem capabilities
11:00:25: -------------------------
11:00:25:  * Hardware generation of mipmaps: no
11:00:25:  * Texture blending: yes
11:00:25:  * Anisotropic texture filtering: yes
11:00:25:  * Dot product texture operation: yes
11:00:25:  * Cube mapping: yes
11:00:25:  * Hardware stencil buffer: yes
11:00:25:    - Stencil depth: 8
11:00:25:    - Two sided stencil support: yes
11:00:25:    - Wrap stencil values: yes
11:00:25:  * Hardware vertex / index buffers: yes
11:00:25:  * Vertex programs: yes
11:00:25:    - Max vertex program version: vs_3_0
11:00:25:  * Fragment programs: yes
11:00:25:    - Max fragment program version: ps_2_0
11:00:25:  * Texture Compression: yes
11:00:25:    - DXT: yes
11:00:25:    - VTC: no
11:00:25:  * Scissor Rectangle: yes
11:00:25:  * Hardware Occlusion Query: no
11:00:25:  * User clip planes: yes
11:00:25:  * VET_UBYTE4 vertex element type: yes
11:00:25:  * Infinite far plane projection: yes
11:00:25:  * Hardware render-to-texture: yes
11:00:25:  * Floating point textures: no
11:00:25:  * Non-power-of-two textures: yes
11:00:25:  * Volume textures: yes
11:00:25: Particle Renderer Type 'billboard' registered
11:00:25: Parsing scripts for resource group General
11:00:25: Parsing script concrete.material
11:00:25: Parsing script default.material
11:00:25: Error in material default at line 12 of default.material: Unrecognised command: depth_check
11:00:25: Parsing script gizmo.material
11:00:25: Error in material gizmor at line 6 of gizmo.material: Unrecognised command: receive_shadows
11:00:25: Error in material gizmog at line 26 of gizmo.material: Unrecognised command: receive_shadows
11:00:25: Error in material gizmob at line 46 of gizmo.material: Unrecognised command: receive_shadows
11:00:25: Error in material flash at line 66 of gizmo.material: Unrecognised command: receive_shadows
11:00:25: Error in material black at line 85 of gizmo.material: Unrecognised command: receive_shadows
11:00:25: Parsing script grey.material
11:00:25: Parsing script main.material
11:00:25: Parsing script RZR-002.material
11:00:25: Finished parsing scripts for resource group General
11:00:25: Texture: r2skin.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
11:00:25: Texture: grey.png: Loading 1 faces(PF_B8G8R8,256x256x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
11:00:25: Texture: default.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
11:00:25: Mesh: Loading marker.mesh.
11:00:25: Can't assign material 2_-_Default to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 2_-_Default to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 2_-_Default to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material gizmoblack to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material gizmoblack to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material gizmoblack to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Mesh: Loading gizmo1.mesh.
11:00:25: Can't assign material 1_-_Default to SubEntity of 2 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 2 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 2 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Mesh: Loading gizmo1b.mesh.
11:00:25: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 3 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 4 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 4 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 4 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 5 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 6 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 6 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 6 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 3_-_Default to SubEntity of 7 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Mesh: Loading gizmo2.mesh.
11:00:25: Can't assign material 1_-_Default to SubEntity of 8 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 9 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 10 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 11 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 11 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 11 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 12 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 12 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 12 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 13 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 13 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Can't assign material 1_-_Default to SubEntity of 13 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Mesh: Loading gizmo3.mesh.
11:00:25: Can't assign material 3_-_Default to SubEntity of 14 because this Material does not exist. Have you forgotten to define it in a .material script?
11:00:25: Creating viewport on target 'View', rendering from camera 'Cam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
11:00:25: Viewport for camera 'Cam', actual dimensions L: 0 T: 0 W: 1152 H: 826
11:00:25: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 300 H: 167
11:00:25: Creating viewport on target 'View', rendering from camera 'Cam2', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 1
11:00:25: Viewport for camera 'Cam2', actual dimensions L: 0 T: 0 W: 1152 H: 826
11:00:25: Viewport for camera 'Cam2', actual dimensions L: 299 T: 33 W: 676 H: 826
11:00:25: Creating viewport on target 'View', rendering from camera 'Cam3', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 3
11:00:25: Viewport for camera 'Cam3', actual dimensions L: 0 T: 0 W: 1152 H: 826
11:00:25: Viewport for camera 'Cam3', actual dimensions L: 0 T: 200 W: 300 H: 626
11:00:25: Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
11:03:27: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 300 H: 167
11:03:27: Viewport for camera 'Cam2', actual dimensions L: 299 T: 33 W: 676 H: 826
11:03:27: Viewport for camera 'Cam3', actual dimensions L: 0 T: 200 W: 300 H: 626
11:03:52: Creating viewport on target 'View', rendering from camera 'Cam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
11:03:52: Viewport for camera 'Cam', actual dimensions L: 0 T: 0 W: 1152 H: 826
11:03:52: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 167
11:03:52: Creating viewport on target 'View', rendering from camera 'Cam2', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 1
11:03:52: Viewport for camera 'Cam2', actual dimensions L: 0 T: 0 W: 1152 H: 826
11:03:52: Viewport for camera 'Cam2', actual dimensions L: 299 T: 200 W: 676 H: 626
11:03:52: Creating viewport on target 'View', rendering from camera 'Cam3', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 3
11:03:52: Viewport for camera 'Cam3', actual dimensions L: 0 T: 0 W: 1152 H: 826
11:03:52: Viewport for camera 'Cam3', actual dimensions L: 0 T: 200 W: 300 H: 626
11:03:55: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 166
11:03:55: Viewport for camera 'Cam2', actual dimensions L: 299 T: 198 W: 676 H: 627
11:03:55: Viewport for camera 'Cam3', actual dimensions L: 0 T: 198 W: 300 H: 627
11:03:55: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 166
11:03:55: Viewport for camera 'Cam2', actual dimensions L: 299 T: 198 W: 676 H: 627
11:03:55: Viewport for camera 'Cam3', actual dimensions L: 0 T: 198 W: 300 H: 627
11:03:55: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 164
11:03:55: Viewport for camera 'Cam2', actual dimensions L: 299 T: 198 W: 676 H: 628
11:03:55: Viewport for camera 'Cam3', actual dimensions L: 0 T: 198 W: 300 H: 628
11:03:55: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 164
11:03:55: Viewport for camera 'Cam2', actual dimensions L: 299 T: 197 W: 676 H: 629
11:03:55: Viewport for camera 'Cam3', actual dimensions L: 0 T: 197 W: 300 H: 629
11:03:55: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 161
11:03:55: Viewport for camera 'Cam2', actual dimensions L: 299 T: 194 W: 676 H: 632
11:03:55: Viewport for camera 'Cam3', actual dimensions L: 0 T: 194 W: 300 H: 632
11:03:55: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 152
11:03:55: Viewport for camera 'Cam2', actual dimensions L: 299 T: 185 W: 676 H: 641
11:03:55: Viewport for camera 'Cam3', actual dimensions L: 0 T: 185 W: 300 H: 641
11:03:55: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 144
11:03:55: Viewport for camera 'Cam2', actual dimensions L: 299 T: 177 W: 676 H: 649
11:03:55: Viewport for camera 'Cam3', actual dimensions L: 0 T: 177 W: 300 H: 649
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 129
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 162 W: 676 H: 664
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 162 W: 300 H: 664
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 115
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 148 W: 676 H: 677
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 148 W: 300 H: 677
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 105
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 138 W: 676 H: 687
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 138 W: 300 H: 687
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 100
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 133 W: 676 H: 693
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 133 W: 300 H: 693
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 92
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 125 W: 676 H: 701
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 125 W: 300 H: 701
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 85
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 117 W: 676 H: 708
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 117 W: 300 H: 708
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 80
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 112 W: 676 H: 713
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 112 W: 300 H: 713
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 77
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 110 W: 676 H: 716
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 110 W: 300 H: 716
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 75
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 108 W: 676 H: 717
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 108 W: 300 H: 717
11:03:56: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:56: Viewport for camera 'Cam2', actual dimensions L: 299 T: 107 W: 676 H: 719
11:03:56: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 300 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 303 T: 107 W: 672 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 303 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 302 T: 107 W: 674 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 302 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 298 T: 107 W: 677 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 298 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 290 T: 107 W: 686 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 290 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 271 T: 107 W: 704 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 271 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 253 T: 107 W: 722 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 253 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 239 T: 107 W: 737 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 239 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 228 T: 107 W: 747 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 228 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 221 T: 107 W: 755 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 221 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 212 T: 107 W: 764 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 212 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 209 T: 107 W: 767 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 209 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 203 T: 107 W: 772 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 204 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 196 T: 107 W: 779 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 197 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 192 T: 107 W: 783 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 193 H: 719
11:03:57: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 74
11:03:57: Viewport for camera 'Cam2', actual dimensions L: 191 T: 107 W: 785 H: 719
11:03:57: Viewport for camera 'Cam3', actual dimensions L: 0 T: 107 W: 191 H: 719
11:03:58: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 75
11:03:58: Viewport for camera 'Cam2', actual dimensions L: 191 T: 108 W: 785 H: 717
11:03:58: Viewport for camera 'Cam3', actual dimensions L: 0 T: 108 W: 191 H: 717
11:03:58: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 75
11:03:58: Viewport for camera 'Cam2', actual dimensions L: 191 T: 108 W: 785 H: 717
11:03:58: Viewport for camera 'Cam3', actual dimensions L: 0 T: 108 W: 191 H: 717
11:03:58: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 77
11:03:58: Viewport for camera 'Cam2', actual dimensions L: 191 T: 110 W: 785 H: 715
11:03:58: Viewport for camera 'Cam3', actual dimensions L: 0 T: 110 W: 191 H: 715
11:03:58: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 82
11:03:58: Viewport for camera 'Cam2', actual dimensions L: 191 T: 115 W: 785 H: 710
11:03:58: Viewport for camera 'Cam3', actual dimensions L: 0 T: 115 W: 191 H: 710
11:03:58: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 87
11:03:58: Viewport for camera 'Cam2', actual dimensions L: 191 T: 120 W: 785 H: 705
11:03:58: Viewport for camera 'Cam3', actual dimensions L: 0 T: 120 W: 191 H: 705
11:03:58: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 95
11:03:58: Viewport for camera 'Cam2', actual dimensions L: 191 T: 127 W: 785 H: 698
11:03:58: Viewport for camera 'Cam3', actual dimensions L: 0 T: 127 W: 191 H: 698
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 104
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 137 W: 785 H: 689
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 137 W: 191 H: 689
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 114
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 147 W: 785 H: 679
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 147 W: 191 H: 679
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 127
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 160 W: 785 H: 666
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 160 W: 191 H: 666
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 134
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 168 W: 785 H: 658
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 168 W: 191 H: 658
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 136
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 168 W: 785 H: 657
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 168 W: 191 H: 657
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 138
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 170 W: 785 H: 655
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 170 W: 191 H: 655
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 139
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 173 W: 785 H: 653
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 173 W: 191 H: 653
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 141
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 174 W: 785 H: 652
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 174 W: 191 H: 652
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 141
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 174 W: 785 H: 652
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 174 W: 191 H: 652
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 143
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 175 W: 785 H: 650
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 175 W: 191 H: 650
11:03:59: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 148
11:03:59: Viewport for camera 'Cam2', actual dimensions L: 191 T: 180 W: 785 H: 645
11:03:59: Viewport for camera 'Cam3', actual dimensions L: 0 T: 180 W: 191 H: 645
11:05:45: Viewport for camera 'Cam', actual dimensions L: 0 T: 33 W: 1152 H: 148
11:05:45: Viewport for camera 'Cam2', actual dimensions L: 191 T: 180 W: 785 H: 645
11:05:45: Viewport for camera 'Cam3', actual dimensions L: 0 T: 180 W: 191 H: 645
11:05:52: Mesh: Loading C:\gizmo3.mesh.
11:05:52: Can't assign material 3_-_Default to SubEntity of 15 because this Material does not exist. Have you forgotten to define it in a .material script?
11:05:57: Can't assign material 3_-_Default to SubEntity of 16 because this Material does not exist. Have you forgotten to define it in a .material script?
11:05:58: Can't assign material 3_-_Default to SubEntity of 17 because this Material does not exist. Have you forgotten to define it in a .material script?
11:06:00: Mesh: Loading C:\DC10.mesh.
11:06:00: Can't assign material Metal to SubEntity of 18 because this Material does not exist. Have you forgotten to define it in a .material script?
11:06:00: Can't assign material WindSheild to SubEntity of 18 because this Material does not exist. Have you forgotten to define it in a .material script?
11:06:00: Can't assign material Black to SubEntity of 18 because this Material does not exist. Have you forgotten to define it in a .material script?
11:06:00: Can't assign material Red to SubEntity of 18 because this Material does not exist. Have you forgotten to define it in a .material script?
11:07:03: Mesh: Loading C:\\Documents and Settings\\cborders\\My Documents\\TerrainBaseClass\\Media\\models\DC10.mesh.
11:07:03: Can't assign material Metal to SubEntity of 19 because this Material does not exist. Have you forgotten to define it in a .material script?
11:07:03: Can't assign material WindSheild to SubEntity of 19 because this Material does not exist. Have you forgotten to define it in a .material script?
11:07:03: Can't assign material Black to SubEntity of 19 because this Material does not exist. Have you forgotten to define it in a .material script?
11:07:03: Can't assign material Red to SubEntity of 19 because this Material does not exist. Have you forgotten to define it in a .material script?
and the model from the zip file didn't load even when I moved it to C:\

It also crashes when I try to rotate a primitive.
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Post by Captain_Deathbeard »

thanks for your help caseyB. The problem seems to be with long file paths, I will sort it out. The crash when rotating I can reproduce, thank god.

As for the corrupted window though, I'm not sure. What specs was the computer you tried it on? does it have old drivers or things like that? I will try putting in options for the different video modes (like dx7, gl etc) and maybe that will help.
User avatar
CaseyB
OGRE Contributor
OGRE Contributor
Posts: 1335
Joined: Sun Nov 20, 2005 2:42 pm
Location: Columbus, Ohio
x 3
Contact:

Post by CaseyB »

The corrupted window is probably an issue with this crap-tastic computer! It's a Dell that I have here at work that has an integrated Intel video card. I just tried it on a Dell XPS 600 with dual GeForce 6800's and it ran fine, save for the rotation issue. :D
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

new version

Post by Captain_Deathbeard »

I have released a significantly improved version of Scythe, please download and let me know what you think:

http://www.physics-editor.com/download.html
viblo
Gnoblar
Posts: 19
Joined: Tue Jul 05, 2005 11:25 pm

Post by viblo »

I get this error:

Code: Select all

************** Undantagstext **************
System.FormatException: Indatasträngen hade ett felaktigt format.
   at System.Number.ParseSingle(String s, NumberStyles style, NumberFormatInfo info)
   at System.Single.Parse(String s, NumberStyles style, IFormatProvider provider)
   at System.Single.Parse(String s)
   at MyFormProject.MainForm.MainForm_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(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& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Laddade sammansättningar **************
mscorlib
    Sammansättningsversion: 1.0.5000.0
    Win32-version: 1.1.4322.2032
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Scythe
    Sammansättningsversion: 1.0.2314.41641
    Win32-version: 1.0.2314.41641
    CodeBase: file:///C:/Scythe%200.97/Scythe.exe
----------------------------------------
System.Windows.Forms
    Sammansättningsversion: 1.0.5000.0
    Win32-version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Sammansättningsversion: 1.0.5000.0
    Win32-version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Sammansättningsversion: 1.0.5000.0
    Win32-version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
    Sammansättningsversion: 1.0.5000.0
    Win32-version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
mscorlib.resources
    Sammansättningsversion: 1.0.5000.0
    Win32-version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/mscorlib.resources/1.0.5000.0_sv_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
    Sammansättningsversion: 1.0.5000.0
    Win32-version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms.resources/1.0.5000.0_sv_b77a5c561934e089/system.windows.forms.resources.dll
----------------------------------------
The main part is "Indatasträngen hade ett felaktigt format." which can be traslated to "The input string had an incorrect format". I suspect this is because we in Sweden write 1,2 instead of 1.2

An easy fix might be to set the Language property to English instead of Language independent. (But dont ask me how to do it, just saw it when I checked the properties of the .exe).
User avatar
Captain_Deathbeard
Gremlin
Posts: 179
Joined: Mon Nov 21, 2005 6:16 pm
Location: UK
x 7
Contact:

Post by Captain_Deathbeard »

just to help fault find, can you try deleting the file prefs.cfg and see if it runs then. (I assume it crashes on startup?).
Post Reply