| Home | Register | Members | Search | Links |
![]() |
| Thread Tools | Display Modes |
|
Skybuck Flying
Guest
Posts: n/a
|
The Shader debugger for FX Composer 2.5 gives following error when trying to
debug: " E1114: Could not locate the entry point "TPixelShader_Main" to the pixel shader. It has to be in the main shader file. " ? Bye, Skybuck. |
|
|
|
|||
|
Skybuck Flying
Guest
Posts: n/a
|
The nvidia shader debugger comes with some documentation.
I follow the documentation but instead of choosing hlsl I choose cgfx... I start debugging... I click on the teapot and following happens, unhandled exception: There is memory plenty so that can't really be the problem for now I will try to continue... *** BEGIN *** 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. at FXComposer.Scene.Render.OpenGL.FXDeviceTexture_GL. ReadRectangle(Rectangle rect, Int32 mipmap, Int32 minlayer, Int32 maxlayer, Int32 face) at bp.a(String A_0, f A_1, Single[]& A_2, String& A_3) at bu.a(a5 A_0, f A_1, Single[]& A_2) at x.a(Point A_0, DisplayMode A_1) at x.b() at x.a(Point A_0) at x.c(Object A_0, MouseEventArgs A_1) at System.Windows.Forms.MouseEventHandler.Invoke(Obje ct sender, MouseEventArgs e) at System.Windows.Forms.Control.OnMouseMove(MouseEven tArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m) at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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.3082 (QFE.050727-3000) CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- FXComposer.Core Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/FXComposer.Core.DLL ---------------------------------------- FXComposer.Utilities Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/FXComposer.Utilities.DLL ---------------------------------------- FXComposer2 Assembly Version: 2.52.319.1250 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/FXComposer2.EXE ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Management Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3082 (QFE.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- PowerCollections Assembly Version: 1.0.2141.24679 Win32 Version: 1.0.2141.24679 CodeBase: file:///C:/Tools/FX%20Composer%202.5/PowerCollections.DLL ---------------------------------------- FXComposer.Collada Assembly Version: 1.0.3366.25556 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/Collada/FXComposer.Collada.DLL ---------------------------------------- FXComposer.IDE Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/IDE/FXComposer.IDE.DLL ---------------------------------------- FXComposer.UI Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/FXComposer.UI.DLL ---------------------------------------- FXComposer.Services Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/Services/FXComposer.Services.DLL ---------------------------------------- FXComposer.IO.DXReader Assembly Version: 1.0.3366.25578 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/IO/DXReader/FXComposer.IO.DXReader.DLL ---------------------------------------- FXComposer.Scene Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/FXComposer.Scene.DLL ---------------------------------------- FXComposer.NMReader Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/NMReader/FXComposer.NMReader.DLL ---------------------------------------- FXComposer.Maths Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/FXComposer.Maths.DLL ---------------------------------------- OpenExr Assembly Version: 1.0.3366.25500 Win32 Version: 1.0.3366.25500 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/OpenExr.DLL ---------------------------------------- FXComposer.Scene.Control Assembly Version: 2.50.0.0 Win32 Version: 2.50.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/Control/FXComposer.Scene.Control.DLL ---------------------------------------- FXComposer.Scene.Effects.Profiles Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/effects/profiles/FXComposer.Scene.Effects.Profiles.DLL ---------------------------------------- FXComposer.Scene.Render Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/FXComposer.Scene.Render.DLL ---------------------------------------- FXComposer.Scene.Render.Direct3D Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/direct3d/FXComposer.Scene.Render.Direct3D.DLL ---------------------------------------- Tao.Cg Assembly Version: 1.2.1.3 Win32 Version: 1.2.1.3 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/Tao.Cg.DLL ---------------------------------------- MD3D10 Assembly Version: 1.0.3366.25548 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/direct3d/MD3D10.DLL ---------------------------------------- FXComposer.Scene.Render.OpenGL Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/opengl/FXComposer.Scene.Render.OpenGL.DLL ---------------------------------------- FXComposer.SDK.Autodesk3DS Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/Autodesk3DS/FXComposer.SDK.Autodesk3DS.DLL ---------------------------------------- FXComposer.SDK.AutodeskFBX Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/AutodeskFBX/FXComposer.SDK.AutodeskFBX.DLL ---------------------------------------- FXComposer.SDK.PICFormat Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/PICFormat/FXComposer.SDK.PICFormat.DLL ---------------------------------------- FXComposer.SDK.Remapper Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/Remapper/FXComposer.SDK.Remapper.DLL ---------------------------------------- FXComposer.SDK.WavefrontObj Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/WavefrontObj/FXComposer.SDK.WavefrontObj.DLL ---------------------------------------- FXComposer.SDK.XFile Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/XFile/FXComposer.SDK.XFile.DLL ---------------------------------------- FXComposer.Tests Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/Tests/FXComposer.Tests.DLL ---------------------------------------- WeifenLuo.WinFormsUI.Docking Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/WeifenLuo.WinFormsUI.Docking.DLL ---------------------------------------- HDRColorPicker Assembly Version: 1.0.3366.25494 Win32 Version: 1.0.3366.25494 CodeBase: file:///C:/Tools/FX%20Composer%202.5/HDRColorPicker.DLL ---------------------------------------- FXComposer.UI.ImageViewer Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ImageViewer/FXComposer.UI.ImageViewer.DLL ---------------------------------------- FXComposer.UI.LibraryViewer Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/LibraryViewer/FXComposer.UI.LibraryViewer.DLL ---------------------------------------- FXComposer.UI.Log Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Log/FXComposer.UI.Log.DLL ---------------------------------------- FXComposer.UI.MainWindow Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/MainWindow/FXComposer.UI.MainWindow.DLL ---------------------------------------- FXComposer.UI.MaterialEditor Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/MaterialEditor/FXComposer.UI.MaterialEditor.DLL ---------------------------------------- FXComposer.UI.Materials Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Materials/FXComposer.UI.Materials.DLL ---------------------------------------- FXComposer.UI.ModelViewer Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ModelViewer/FXComposer.UI.ModelViewer.DLL ---------------------------------------- FXComposer.UI.ProjectExplorer Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ProjectExplorer/FXComposer.UI.ProjectExplorer.DLL ---------------------------------------- FXComposer.UI.Properties Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Properties/FXComposer.UI.Properties.DLL ---------------------------------------- FXComposer.UI.Python Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Python/FXComposer.UI.Python.DLL ---------------------------------------- FXComposer.UI.Scene Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Scene/FXComposer.UI.Scene.DLL ---------------------------------------- FXComposer.UI.ScintillaEditor Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ScintillaEditor/FXComposer.UI.ScintillaEditor.DLL ---------------------------------------- FXComposer.UI.Settings Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Settings/FXComposer.UI.Settings.DLL ---------------------------------------- FXComposer.UI.ShaderLibraryWeb Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ShaderLibraryWeb/FXComposer.UI.ShaderLibraryWeb.DLL ---------------------------------------- FXComposer.UI.ShaderPerfPanel Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ShaderPerfPanel/FXComposer.UI.ShaderPerfPanel.DLL ---------------------------------------- ShaderPerfWrapper Assembly Version: 1.0.3366.25522 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ShaderPerfPanel/ShaderPerfWrapper.DLL ---------------------------------------- FXComposer.UI.TaskList Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/TaskList/FXComposer.UI.TaskList.DLL ---------------------------------------- FXComposer.UXT Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UXT/FXComposer.UXT.DLL ---------------------------------------- Debugger.Unified Assembly Version: 1.1.725.1525 Win32 Version: 1.01.0725.1525 CodeBase: file:///C:/Tools/nVidia%20Shader%20Debugger/Debugger/Debugger.Unified.dll ---------------------------------------- msvcm80 Assembly Version: 8.0.50727.3053 Win32 Version: 8.00.50727.3053 CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727. 3053_x-ww_B80FA8CA/msvcm80.dll ---------------------------------------- Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- UXTWrapper Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UXT/UXTWrapper.DLL ---------------------------------------- Interop.IWshRuntimeLibrary Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/Control/Interop.IWshRuntimeLibrary.DLL ---------------------------------------- GlUtils Assembly Version: 0.0.0.0 Win32 Version: 0.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/GlUtils.DLL ---------------------------------------- Tao.OpenGl Assembly Version: 1.5.0.3 Win32 Version: 1.5.0.3 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/Tao.OpenGl.DLL ---------------------------------------- Tao.Platform.Windows Assembly Version: 1.0.0.3 Win32 Version: 1.0.0.3 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/Tao.Platform.Windows.DLL ---------------------------------------- CgUtils Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/CgUtils.DLL ---------------------------------------- IronPython Assembly Version: 1.0.3366.25490 Win32 Version: 1.0.3366.25490 CodeBase: file:///C:/Tools/FX%20Composer%202.5/IronPython.DLL ---------------------------------------- snippets1 Assembly Version: 0.0.0.0 Win32 Version: 1.0.3366.25490 CodeBase: file:///C:/Tools/FX%20Composer%202.5/IronPython.dll ---------------------------------------- IronMath Assembly Version: 1.0.3366.25486 Win32 Version: 1.0.3366.25486 CodeBase: file:///C:/Tools/FX%20Composer%202.5/IronMath.DLL ---------------------------------------- fxcapi Assembly Version: 0.0.0.0 Win32 Version: 1.0.3366.25490 CodeBase: file:///C:/Tools/FX%20Composer%202.5/IronPython.dll ---------------------------------------- ISymWrapper Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/ISymWrapper/2.0.0.0__b03f5f7f11d50a3a/ISymWrapper.dll ---------------------------------------- NV Assembly Version: 1.0.3366.25500 Win32 Version: 1.0.3366.25500 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Scene/NV.DLL ---------------------------------------- Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll ---------------------------------------- Tao.DevIl Assembly Version: 1.6.7.0 Win32 Version: 1.6.7.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/Tao.DevIl.DLL ---------------------------------------- ScintillaNet Assembly Version: 1.0.3366.25514 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/ScintillaNet.DLL ---------------------------------------- System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll ---------------------------------------- NVShaderParser Assembly Version: 1.0.3251.32251 Win32 Version: CodeBase: file:///C:/Tools/nVidia%20Shader%20Debugger/Debugger/NVShaderParser.DLL ---------------------------------------- FXComposer.Scene.Render.D3DUtils Assembly Version: 1.0.3366.25550 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/direct3d/FXComposer.Scene.Render.D3DUtils.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. *** END *** Bye, Skybuck. |
|
|
|
|||
|
Skybuck Flying
Guest
Posts: n/a
|
Ok I think I spotted the problem with my original problem:
It's mentioned in the shader debugger documentation: " Shaders which return a value using only out parameters are currently not supported. You can work around this issue by making sure your shaders contain an explicit return statement. " BIG OUCH ! Bye, Skybuck. |
|
|
|
|||
|
Skybuck Flying
Guest
Posts: n/a
|
Nope this still not fixes it... hmm...
Shitty... still trying to solve this error: " E1114: Could not locate the entry point "TPixelShader_Main" to the pixel shader. It has to be in the main shader file. " Bye, Skybuck. |
|
|
|
|||
|
Skybuck Flying
Guest
Posts: n/a
|
Yup that seems to be the problem... it's suddenly working...
I guess the project had to be closed and re-opened... I shall post updated example version 0.02 shortly ! ![]() Bye, Skybuck. |
|
|
|
|||
|
Skybuck Flying
Guest
Posts: n/a
|
I changed the code it should work, but more unexpected exceptions happen:
Continue might work... but em... it also saves the state of everything when fx composer 2.5 shutdown... and then when loading it happens again hmm... " See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at FXComposer.Debugger.DebuggerPanel.d(Object A_0, MouseEventArgs A_1) at FXComposer.Debugger.DebuggerPanel.b.OnMouseUp(Mous eEventArgs e) at System.Windows.Forms.ListView.WndProc(Message& m) at FXComposer.Debugger.DebuggerPanel.b.a(Message& A_0) at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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.3082 (QFE.050727-3000) CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- FXComposer.Core Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/FXComposer.Core.DLL ---------------------------------------- FXComposer.Utilities Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/FXComposer.Utilities.DLL ---------------------------------------- FXComposer2 Assembly Version: 2.52.319.1250 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/FXComposer2.EXE ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Management Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3082 (QFE.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- PowerCollections Assembly Version: 1.0.2141.24679 Win32 Version: 1.0.2141.24679 CodeBase: file:///C:/Tools/FX%20Composer%202.5/PowerCollections.DLL ---------------------------------------- FXComposer.Collada Assembly Version: 1.0.3366.25556 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/Collada/FXComposer.Collada.DLL ---------------------------------------- FXComposer.IDE Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/IDE/FXComposer.IDE.DLL ---------------------------------------- FXComposer.UI Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/FXComposer.UI.DLL ---------------------------------------- FXComposer.Services Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/Services/FXComposer.Services.DLL ---------------------------------------- FXComposer.IO.DXReader Assembly Version: 1.0.3366.25578 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/IO/DXReader/FXComposer.IO.DXReader.DLL ---------------------------------------- FXComposer.Scene Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/FXComposer.Scene.DLL ---------------------------------------- FXComposer.NMReader Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/NMReader/FXComposer.NMReader.DLL ---------------------------------------- FXComposer.Maths Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/FXComposer.Maths.DLL ---------------------------------------- OpenExr Assembly Version: 1.0.3366.25500 Win32 Version: 1.0.3366.25500 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/OpenExr.DLL ---------------------------------------- FXComposer.Scene.Control Assembly Version: 2.50.0.0 Win32 Version: 2.50.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/Control/FXComposer.Scene.Control.DLL ---------------------------------------- FXComposer.Scene.Effects.Profiles Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/effects/profiles/FXComposer.Scene.Effects.Profiles.DLL ---------------------------------------- FXComposer.Scene.Render Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/FXComposer.Scene.Render.DLL ---------------------------------------- FXComposer.Scene.Render.Direct3D Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/direct3d/FXComposer.Scene.Render.Direct3D.DLL ---------------------------------------- Tao.Cg Assembly Version: 1.2.1.3 Win32 Version: 1.2.1.3 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/Tao.Cg.DLL ---------------------------------------- MD3D10 Assembly Version: 1.0.3366.25548 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/direct3d/MD3D10.DLL ---------------------------------------- FXComposer.Scene.Render.OpenGL Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/opengl/FXComposer.Scene.Render.OpenGL.DLL ---------------------------------------- FXComposer.SDK.Autodesk3DS Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/Autodesk3DS/FXComposer.SDK.Autodesk3DS.DLL ---------------------------------------- FXComposer.SDK.AutodeskFBX Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/AutodeskFBX/FXComposer.SDK.AutodeskFBX.DLL ---------------------------------------- FXComposer.SDK.PICFormat Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/PICFormat/FXComposer.SDK.PICFormat.DLL ---------------------------------------- FXComposer.SDK.Remapper Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/Remapper/FXComposer.SDK.Remapper.DLL ---------------------------------------- FXComposer.SDK.WavefrontObj Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/WavefrontObj/FXComposer.SDK.WavefrontObj.DLL ---------------------------------------- FXComposer.SDK.XFile Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/SDK/XFile/FXComposer.SDK.XFile.DLL ---------------------------------------- FXComposer.Tests Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/Tests/FXComposer.Tests.DLL ---------------------------------------- WeifenLuo.WinFormsUI.Docking Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/WeifenLuo.WinFormsUI.Docking.DLL ---------------------------------------- HDRColorPicker Assembly Version: 1.0.3366.25494 Win32 Version: 1.0.3366.25494 CodeBase: file:///C:/Tools/FX%20Composer%202.5/HDRColorPicker.DLL ---------------------------------------- FXComposer.UI.ImageViewer Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ImageViewer/FXComposer.UI.ImageViewer.DLL ---------------------------------------- FXComposer.UI.LibraryViewer Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/LibraryViewer/FXComposer.UI.LibraryViewer.DLL ---------------------------------------- FXComposer.UI.Log Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Log/FXComposer.UI.Log.DLL ---------------------------------------- FXComposer.UI.MainWindow Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/MainWindow/FXComposer.UI.MainWindow.DLL ---------------------------------------- FXComposer.UI.MaterialEditor Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/MaterialEditor/FXComposer.UI.MaterialEditor.DLL ---------------------------------------- FXComposer.UI.Materials Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Materials/FXComposer.UI.Materials.DLL ---------------------------------------- FXComposer.UI.ModelViewer Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ModelViewer/FXComposer.UI.ModelViewer.DLL ---------------------------------------- FXComposer.UI.ProjectExplorer Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ProjectExplorer/FXComposer.UI.ProjectExplorer.DLL ---------------------------------------- FXComposer.UI.Properties Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Properties/FXComposer.UI.Properties.DLL ---------------------------------------- FXComposer.UI.Python Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Python/FXComposer.UI.Python.DLL ---------------------------------------- FXComposer.UI.Scene Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Scene/FXComposer.UI.Scene.DLL ---------------------------------------- FXComposer.UI.ScintillaEditor Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ScintillaEditor/FXComposer.UI.ScintillaEditor.DLL ---------------------------------------- FXComposer.UI.Settings Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Settings/FXComposer.UI.Settings.DLL ---------------------------------------- FXComposer.UI.ShaderLibraryWeb Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ShaderLibraryWeb/FXComposer.UI.ShaderLibraryWeb.DLL ---------------------------------------- FXComposer.UI.ShaderPerfPanel Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ShaderPerfPanel/FXComposer.UI.ShaderPerfPanel.DLL ---------------------------------------- ShaderPerfWrapper Assembly Version: 1.0.3366.25522 Win32 Version: CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/ShaderPerfPanel/ShaderPerfWrapper.DLL ---------------------------------------- FXComposer.UI.TaskList Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/TaskList/FXComposer.UI.TaskList.DLL ---------------------------------------- FXComposer.UXT Assembly Version: 2.52.319.1250 Win32 Version: 2.52.319.1250 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UXT/FXComposer.UXT.DLL ---------------------------------------- Debugger.Unified Assembly Version: 1.1.725.1525 Win32 Version: 1.01.0725.1525 CodeBase: file:///C:/Tools/nVidia%20Shader%20Debugger/Debugger/Debugger.Unified.dll ---------------------------------------- msvcm80 Assembly Version: 8.0.50727.3053 Win32 Version: 8.00.50727.3053 CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727. 3053_x-ww_B80FA8CA/msvcm80.dll ---------------------------------------- Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- UXTWrapper Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UXT/UXTWrapper.DLL ---------------------------------------- Interop.IWshRuntimeLibrary Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/Control/Interop.IWshRuntimeLibrary.DLL ---------------------------------------- GlUtils Assembly Version: 0.0.0.0 Win32 Version: 0.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/GlUtils.DLL ---------------------------------------- Tao.OpenGl Assembly Version: 1.5.0.3 Win32 Version: 1.5.0.3 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/Tao.OpenGl.DLL ---------------------------------------- Tao.Platform.Windows Assembly Version: 1.0.0.3 Win32 Version: 1.0.0.3 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/Tao.Platform.Windows.DLL ---------------------------------------- CgUtils Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/CgUtils.DLL ---------------------------------------- IronPython Assembly Version: 1.0.3366.25490 Win32 Version: 1.0.3366.25490 CodeBase: file:///C:/Tools/FX%20Composer%202.5/IronPython.DLL ---------------------------------------- snippets1 Assembly Version: 0.0.0.0 Win32 Version: 1.0.3366.25490 CodeBase: file:///C:/Tools/FX%20Composer%202.5/IronPython.dll ---------------------------------------- IronMath Assembly Version: 1.0.3366.25486 Win32 Version: 1.0.3366.25486 CodeBase: file:///C:/Tools/FX%20Composer%202.5/IronMath.DLL ---------------------------------------- fxcapi Assembly Version: 0.0.0.0 Win32 Version: 1.0.3366.25490 CodeBase: file:///C:/Tools/FX%20Composer%202.5/IronPython.dll ---------------------------------------- ISymWrapper Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/ISymWrapper/2.0.0.0__b03f5f7f11d50a3a/ISymWrapper.dll ---------------------------------------- NV Assembly Version: 1.0.3366.25500 Win32 Version: 1.0.3366.25500 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/UI/Scene/NV.DLL ---------------------------------------- Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll ---------------------------------------- Tao.DevIl Assembly Version: 1.6.7.0 Win32 Version: 1.6.7.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/Plugins/scene/render/Tao.DevIl.DLL ---------------------------------------- NVShaderParser Assembly Version: 1.0.3251.32251 Win32 Version: CodeBase: file:///C:/Tools/nVidia%20Shader%20Debugger/Debugger/NVShaderParser.DLL ---------------------------------------- ScintillaNet Assembly Version: 1.0.3366.25514 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Tools/FX%20Composer%202.5/ScintillaNet.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. " |
|
|
|
|||
|
Skybuck Flying
Guest
Posts: n/a
|
Ok the exception seems to be a temporarely thing...
"Debugging pixels" is working... I can see the positions and I can see the color information... So far it seems limited to pixel shaders only ? I am not sure if it's possible to debug vertex shaders ?!? But so far this is pretty cool stuff ! Time to publish my update example in the next posting ! ![]() Bye, Skybuck =D |
|
|
|
|||
|
Skybuck Flying
Guest
Posts: n/a
|
Here is the solution code for debugging support.
See comments for the solution ! ![]() // *** Begin of Code *** /* Basic Texture example (Also known (by me) as Spaceship Texture example, uses "Warpship.bmp") version 0.01 created on 21 september 2009 by Skybuck Flying Features: FX Composer 2.5 examples: + Basic 2d texture declaration with annotations + Basic 2d sampler declaration with sampler states + Basic vertex shader with: position 3d in/ 4d out texture coordinate0 2d in/ 2d out + Basic pixel shader with: texture coordinate 2d in pixel color 4d out + Uses nice input/output structures no stupid/confusing return values ![]() + Uses nice naming convention, delphi like ![]() Usage: Step 1: Drag and drop material to object. Step 2: Select object. Step 3: Change SpaceShipTexture parameter in properties, and add/select an image. */ /* version 0.02 created on 22 september 2009 by Skybuck Flying Example fixed to make debugging possible. (Void shaders do currently not work with the nvidia shader debugger) From the nvidia shader debugger documentation: " Shaders which return a value using only out parameters are currently not supported. You can work around this issue by making sure your shaders contain an explicit return statement. " I tried: void test() ( return; ) But that doesn't work. So code needs to be changed to: returntype test() { return variable of returntype } The necessary code changes have been made below. Also after making these code changes it requires a close/re-open of the project to make it work. (Or a recompile or double click on material not sure but after some fiddling it should work.) */ texture SpaceShipTexture < string ResourceName = ""; // must be set in fx composer gui/properties. string UIName = "SpaceShipTexture"; string ResourceType = "2D"; >; sampler2D SpaceShipSampler2D = sampler_state { Texture = <SpaceShipTexture>; MinFilter = Linear; MipFilter = Linear; MagFilter = Linear; AddressU = Clamp; AddressV = Clamp; }; float4x4 WorldViewProj : WorldViewProjection; struct TVertexShaderIn { float3 mPosition : POSITION; float2 mTextureCoordinate0 : TEXCOORD0; }; struct TVertexShaderOut { float4 mPosition : POSITION; float2 mTextureCoordinate0 : TEXCOORD0; }; // void routines not supported by nvidia shader debugger /* void TVertexShader_Main( in TVertexShaderIn ParaIn , out TVertexShaderOut ParaOut ) { ParaOut.mPosition = mul(WorldViewProj, float4(ParaIn.mPosition.xyz, 1.0)); ParaOut.mTextureCoordinate0 = ParaIn.mTextureCoordinate0; } */ // return routines/functions do work in nvidia shader debugger: TVertexShaderOut TVertexShader_Main( in TVertexShaderIn ParaIn ) { TVertexShaderOut ParaOut; ParaOut.mPosition = mul(WorldViewProj, float4(ParaIn.mPosition.xyz, 1.0)); ParaOut.mTextureCoordinate0 = ParaIn.mTextureCoordinate0; return ParaOut; } struct TPixelShaderIn { float2 mPosition : TEXCOORD0; }; struct TPixelShaderOut { float4 mColor : COLOR; }; // void not supported by nvidia shader debugger /* void TPixelShader_Main( in TPixelShaderIn ParaIn, out TPixelShaderOut ParaOut ) { ParaOut.mColor = tex2D( SpaceShipSampler2D, ParaIn.mPosition ); } */ // return routines/functions do work in nvidia shader debugger: TPixelShaderOut TPixelShader_Main( in TPixelShaderIn ParaIn ) { TPixelShaderOut ParaOut; ParaOut.mColor = tex2D( SpaceShipSampler2D, ParaIn.mPosition ); return ParaOut; } technique technique0 { pass p0 { CullFaceEnable = false; VertexProgram = compile vp40 TVertexShader_Main(); FragmentProgram = compile fp40 TPixelShader_Main(); } } // *** End of Code *** Bye, Skybuck. |
|
|
|
|||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Powered by vBulletin®. Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc. |



Linear Mode
