Main Page | Report this Page
Computers Forum Index  »  Computer - Graphics (Algorithms)  »  Basic texture example (texture+sampler+vertex...
Page 1 of 1    

Basic texture example (texture+sampler+vertex...

Author Message
Skybuck Flying...
Posted: Tue Sep 22, 2009 1:02 am
Guest
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...
Posted: Tue Sep 22, 2009 2:05 am
Guest
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...
Posted: Tue Sep 22, 2009 2:15 am
Guest
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(MouseEventArgs e)
at System.Windows.Forms.ListView.WndProc(Message& m)
at FXComposer.Debugger.DebuggerPanel.b.a(Message& A_0)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.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.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...
Posted: Tue Sep 22, 2009 2:18 am
Guest
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
 
 
Page 1 of 1    
All times are GMT
The time now is Mon Nov 23, 2009 1:05 am