Stratos: Punto de Encuentro de Desarrolladores

¡Bienvenido a Stratos!

Acceder

Foros





A Problem About Run Tutorial!

Iniciado por LuRenJia, 25 de Mayo de 2006, 03:29:19 PM

« anterior - próximo »

LuRenJia

 Hi!

First say congratulation for new version of Haddd. (uoh)

When I run any tutorial from bin\, an error occured, debug info as following:

Error loading effect:interno.fx\n(1066): warning X3083: Truncating 4-vector to size 1
(1076): warning X3083: Truncating 4-vector to size 1
(1102): error X3000: syntax error: unexpected end of file


I miss any dependencies or runtime? :(

Thanks for help.

LuRenJia

 More error infomation:

System.Exception: Error loading effect:interno.fx\n(1066): warning X3083: Truncating 4-vector to size 1
(1076): warning X3083: Truncating 4-vector to size 1
(1102): error X3000: syntax error: unexpected end of file

  at HadddEngine.Video.HEffect.Load()
  at HadddEngine.Core.HEffectBuilder.Process()
  at HadddEngine.Core.HEffectBuilder.BuildZPass(HMaterialLayer material)
  at HadddEngine.Core.HEffectBuilder.SetZPass(HMaterialLayer material, Boolean shadowMap)
  at HadddEngine.Scene.HScene.RenderZPass()
  at HadddEngine.Scene.HScene.Render()
  at Viewer.HViewer.Render()
  at Viewer.ViewerFrm.timerMotor_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)

Haddd

 i just downloaded & tested it with tutorial 1 and nothing goes wrong...Please post the log.htm file that appears at the exes directory.

Vicente

 Yep, post the log.htm file, I have run all tutorials before uploading the file and they seemed to work...

Greetings!

Vicente

LuRenJia

 Ok, see following:

LOG Haddd

--------------------------------------------------------------------------------
BackBuffer
MultiSampleQuality: 0 Height: 688 Width: 627 MultiSampleType: None Pool: Default Usage: RenderTarget Type: Surface Format: A8R8G8B8

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
DepthStencil
MultiSampleQuality: 0 Height: 688 Width: 627 MultiSampleType: None Pool: Default Usage: DepthStencil Type: Surface Format: D24S8

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
ViewPort
MaxZ: 1 MinZ: 0 Height: 688 Width: 627 Y: 0 X: 0

--------------------------------------------------------------------------------
SO
Microsoft Windows NT 5.1.2600 Service Pack 2
Versión .NET:2.0.50727.42
CPU
Nº CPUs: 1
CPU Architecture: x86
CPU Identifier: x86 Family 6 Model 10 Stepping 0, AuthenticAMD
CPU Level: 6
CPU Revision: 0a00
MHz:1505
CPU:AMD Sempron(tm) 2200+
DEVICE CAPS
ATI
Adapter:DeviceIdentifier: d7b71ee2-0213-11cf-a26a-2a5ca1c2cb35 WhqlLevel: 0 Revision: 0 SubSystemId: 2082476104 DeviceId: 16723 VendorId: 4098 DriverVersion: 6.14.10.6490 DeviceName: \\.\DISPLAY1 Description: RADEON 9550 DriverName: ati2dvag.dll
VIDEO RAM:183,500,800
Adapter number:0
Max user Clip Planes:6
Textures do not need to be power of two in size (under certain conditions)
Multiple Render Targets:4
PRIMITIVE CAPS:HasFogVertexClamped: True SupportsMultipleRenderTargetsPostPixelShaderBlending: False SupportsMultipleRenderTargetsIndependentBitDepths: False SupportsSeparateAlphaBlend: True SupportsFogAndSpecularAlpha: True SupportsPerStageConstant: False SupportsIndependentWriteMasks: False IsNullReference: False SupportsBlendOperation: True SupportsTextureStageStateArgumentTemp: True SupportsClipTransformedVertices: False SupportsClipPlaneScaledPoints: False SupportsColorWrite: True SupportsCullCounterClockwise: True SupportsCullClockwise: True SupportsCullNone: True SupportsMaskZ: True
Máximos de texturas. Ancho:2048 Alto:2048 Repetición:2048 Aspect Ratio:2048 Blend Stages:8
Vertex Shader. Versión:2.0 Nº de registros temporales:16
Pixel Shader. Versión:2.0 Nº de registros temporales:12 Nº de instrucciones:96.
PIXEL SHADER CAPS:NumberInstructionSlots: 96 StaticFlowControlDepth: 0 NumberTemps: 12 DynamicFlowControlDepth: 0 SupportsNoTextureInstructionLimit: False SupportsNoDependentReadLimit: False SupportsGradientInstructions: False SupportsArbitrarySwizzle: False SupportsPredication: False MaxDynamicFlowControlDepth: 24 MinDynamicFlowControlDepth: 0 MaxNumberTemps: 32 MinNumberTemps: 12 MaxStaticFlowControlDepth: 4 MinStaticFlowControlDepth: 0 MaxNumberInstructionSlots: 512 MinNumberInstructionSlots: 96

--------------------------------------------------------------------------------
Nueva textura 2D:noise
Texture 2D:noise
FullPath:InHouse\textures\noise.jpg
Size:256 x 256
Format:Dxt1
ImageFileFormat: Jpg ResourceType: Textures Format: X8R8G8B8 MipLevels: 1 Depth: 1 Height: 256 Width: 256

--------------------------------------------------------------------------------
Nueva textura 2D:RTPrimary
Nueva textura 2D:RTSecondary
Nueva textura 2D:RTReflection
Nueva textura 2D:RTLastFrame
Nueva textura 2D:RTParallax
Nueva textura 2D:RTGlow
Nueva textura 2D:RTShadowMask
Nueva textura 2D:RTShadowMask2
Nueva textura 2D:RTHalfBackBuffer1
Nueva textura 2D:RTHalfBackBuffer2
El total del peso para el Gaussian blur de 4 es de :1.017191
Nueva textura 2D:mesh
Texture 2D:mesh
FullPath:InHouse\textures\gizmos\mesh.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:particleEffects
Texture 2D:particleEffects
FullPath:InHouse\textures\gizmos\particleEffects.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:omni
Texture 2D:omni
FullPath:InHouse\textures\gizmos\omni.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:spot
Texture 2D:spot
FullPath:InHouse\textures\gizmos\spot.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:camera
Texture 2D:camera
FullPath:InHouse\textures\gizmos\camera.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:dummy
Texture 2D:dummy
FullPath:InHouse\textures\gizmos\dummy.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:RTShadowMap
Nueva textura 2D:RTMotionBlur
Nueva textura 2D:RTLastMotionBlur
Nueva textura Cube:RTCubeEM
Texture Cube:RTCubeEM
FullPath:
Size:256 x 256
Format:A8R8G8B8

--------------------------------------------------------------------------------
El total del peso para el Gaussian blur de 16 es de :3.760271
El total del peso para el Gaussian blur de 16 es de :3.760271
El total del peso para el Gaussian blur de 8 es de :1.576066
El total del peso para el Gaussian blur de 16 es de :3.760271
El total del peso para el Gaussian blur de 16 es de :3.760271
Reset
OnDeviceLost
HVertexIndexBuffers.OnLost
RenderTargets.OnLost
Textures.OnLost
Disposed:RTPrimary
Disposed:RTSecondary
Disposed:RTReflection
Disposed:RTLastFrame
Disposed:RTParallax
Disposed:RTGlow
Disposed:RTShadowMask
Disposed:RTShadowMask2
Disposed:RTHalfBackBuffer1
Disposed:RTHalfBackBuffer2
Disposed:RTShadowMap
Disposed:RTMotionBlur
Disposed:RTLastMotionBlur
Fonts.OnLost
Effects.OnLost
Lights.OnLost
OnDeviceReset

--------------------------------------------------------------------------------
BackBuffer
MultiSampleQuality: 0 Height: 688 Width: 742 MultiSampleType: None Pool: Default Usage: RenderTarget Type: Surface Format: A8R8G8B8

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
DepthStencil
MultiSampleQuality: 0 Height: 688 Width: 742 MultiSampleType: None Pool: Default Usage: DepthStencil Type: Surface Format: D24S8

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
ViewPort
MaxZ: 1 MinZ: 0 Height: 688 Width: 742 Y: 0 X: 0

--------------------------------------------------------------------------------
HVertexIndexBuffers.Reset
RenderTargets.Reset
Textures.Reset
Reset Texture:RTPrimary
Reset Texture:RTSecondary
Reset Texture:RTReflection
Reset Texture:RTLastFrame
Reset Texture:RTParallax
Reset Texture:RTGlow
Reset Texture:RTShadowMask
Reset Texture:RTShadowMask2
Reset Texture:RTHalfBackBuffer1
Reset Texture:RTHalfBackBuffer2
Reset Texture:RTShadowMap
Reset Texture:RTMotionBlur
Reset Texture:RTLastMotionBlur
Texture Cube:RTCubeEM
FullPath:
Size:256 x 256
Format:A8R8G8B8

--------------------------------------------------------------------------------
Fonts.Reset
Effects.Reset
Lights.Reset


Haddd

 have you installed the DX9.0c FEBRUARY 2006 edition or the April edition ? I think that's your problem, the DX version is not the right one.

LuRenJia

 Thanks to Haddd!

Yes, I installed DX April 2006. I can run all tutorials of last version.

DX Ver: 4.09.0000.0904

LuRenJia

 I am in China, here is 22:56, I must go to bed.

Noon or Night, hehe. ;)  

LuRenJia

 I ran tutorial on other computer but got same error. :blink:
The computer:
P4 2.8G
512M
ATI X550
Intel 945P
WinXP
DX Ver: 4.09.0000.0904 (April 2006)

log.htm:

LOG Haddd

--------------------------------------------------------------------------------
BackBuffer
MultiSampleQuality: 0 Height: 480 Width: 640 MultiSampleType: None Pool: Default Usage: RenderTarget Type: Surface Format: A8R8G8B8

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
DepthStencil
MultiSampleQuality: 0 Height: 480 Width: 640 MultiSampleType: None Pool: Default Usage: DepthStencil Type: Surface Format: D24S8

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
ViewPort
MaxZ: 1 MinZ: 0 Height: 480 Width: 640 Y: 0 X: 0

--------------------------------------------------------------------------------
SO
Microsoft Windows NT 5.1.2600 Service Pack 2
Versión .NET:2.0.50727.42
CPU
Nº CPUs: 1
CPU Architecture: x86
CPU Identifier: x86 Family 15 Model 4 Stepping 1, GenuineIntel
CPU Level: 15
CPU Revision: 0401
MHz:2799
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz
DEVICE CAPS
ATI
Adapter:DeviceIdentifier: d7b71ee2-1823-11cf-1b7a-0a20a1c2cb35 WhqlLevel: 0 Revision: 0 SubSystemId: 0 DeviceId: 23395 VendorId: 4098 DriverVersion: 6.14.10.6571 DeviceName: \\.\DISPLAY1 Description: RADEON X550 DriverName: ati2dvag.dll
VIDEO RAM:252,706,816
Adapter number:0
Max user Clip Planes:6
Textures do not need to be power of two in size (under certain conditions)
Multiple Render Targets:4
PRIMITIVE CAPS:HasFogVertexClamped: True SupportsMultipleRenderTargetsPostPixelShaderBlending: False SupportsMultipleRenderTargetsIndependentBitDepths: False SupportsSeparateAlphaBlend: True SupportsFogAndSpecularAlpha: True SupportsPerStageConstant: False SupportsIndependentWriteMasks: False IsNullReference: False SupportsBlendOperation: True SupportsTextureStageStateArgumentTemp: True SupportsClipTransformedVertices: False SupportsClipPlaneScaledPoints: False SupportsColorWrite: True SupportsCullCounterClockwise: True SupportsCullClockwise: True SupportsCullNone: True SupportsMaskZ: True
Máximos de texturas. Ancho:2048 Alto:2048 Repetición:2048 Aspect Ratio:2048 Blend Stages:8
Vertex Shader. Versión:2.0 Nº de registros temporales:16
Pixel Shader. Versión:2.0 Nº de registros temporales:12 Nº de instrucciones:96.
PIXEL SHADER CAPS:NumberInstructionSlots: 96 StaticFlowControlDepth: 0 NumberTemps: 12 DynamicFlowControlDepth: 0 SupportsNoTextureInstructionLimit: False SupportsNoDependentReadLimit: False SupportsGradientInstructions: False SupportsArbitrarySwizzle: False SupportsPredication: False MaxDynamicFlowControlDepth: 24 MinDynamicFlowControlDepth: 0 MaxNumberTemps: 32 MinNumberTemps: 12 MaxStaticFlowControlDepth: 4 MinStaticFlowControlDepth: 0 MaxNumberInstructionSlots: 512 MinNumberInstructionSlots: 96

--------------------------------------------------------------------------------
Nueva textura 2D:noise
Texture 2D:noise
FullPath:InHouse\textures\noise.jpg
Size:256 x 256
Format:Dxt1
ImageFileFormat: Jpg ResourceType: Textures Format: X8R8G8B8 MipLevels: 1 Depth: 1 Height: 256 Width: 256

--------------------------------------------------------------------------------
Nueva textura 2D:RTPrimary
Nueva textura 2D:RTSecondary
Nueva textura 2D:RTReflection
Nueva textura 2D:RTLastFrame
Nueva textura 2D:RTParallax
Nueva textura 2D:RTGlow
Nueva textura 2D:RTShadowMask
Nueva textura 2D:RTShadowMask2
Nueva textura 2D:RTHalfBackBuffer1
Nueva textura 2D:RTHalfBackBuffer2
El total del peso para el Gaussian blur de 4 es de :1.017191
Nueva textura 2D:mesh
Texture 2D:mesh
FullPath:InHouse\textures\gizmos\mesh.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:particleEffects
Texture 2D:particleEffects
FullPath:InHouse\textures\gizmos\particleEffects.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:omni
Texture 2D:omni
FullPath:InHouse\textures\gizmos\omni.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:spot
Texture 2D:spot
FullPath:InHouse\textures\gizmos\spot.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:camera
Texture 2D:camera
FullPath:InHouse\textures\gizmos\camera.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:dummy
Texture 2D:dummy
FullPath:InHouse\textures\gizmos\dummy.tga
Size:32 x 32
Format:Dxt1
ImageFileFormat: Tga ResourceType: Textures Format: R8G8B8 MipLevels: 1 Depth: 1 Height: 32 Width: 32

--------------------------------------------------------------------------------
Nueva textura 2D:brick_d
Texture 2D:brick_d
FullPath:base\textures\Tutorials\brick_d.jpg
Size:512 x 512
Format:Dxt1
ImageFileFormat: Jpg ResourceType: Textures Format: X8R8G8B8 MipLevels: 1 Depth: 1 Height: 512 Width: 512

--------------------------------------------------------------------------------
Nueva textura 2D:corona2
Texture 2D:corona2
FullPath:InHouse\textures\corona2.jpg
Size:128 x 128
Format:Dxt1
ImageFileFormat: Jpg ResourceType: Textures Format: X8R8G8B8 MipLevels: 1 Depth: 1 Height: 128 Width: 128

--------------------------------------------------------------------------------
El total del peso para el Gaussian blur de 16 es de :3.760271
El total del peso para el Gaussian blur de 16 es de :3.760271
El total del peso para el Gaussian blur de 8 es de :1.576066
El total del peso para el Gaussian blur de 16 es de :3.760271
El total del peso para el Gaussian blur de 16 es de :3.760271
OnDeviceLost
HVertexIndexBuffers.OnLost
HVertexBuffer.OnLost

Haddd

 I don't know where is the problem  :(  

LuRenJia

 
Error loading effect:interno.fx\n(1066): warning X3083: Truncating 4-vector to size 1
(1076): warning X3083: Truncating 4-vector to size 1
(1102): error X3000: syntax error: unexpected end of file


Is the info useful? :huh:  

Haddd

 This is due the DX version, but you are telling me taht you have installed the April 2006, so....I don't know

LuRenJia

 Hi haddd!

I reinstalled dx April 2006 sdk, got same error. Here is a screenshot of dxdiag:


I used dx viewer to open interno.fx, it tell me could not load the file, here is a screenshot:


Log:

Loading effect - E:\Temp_F\softwaredEngine\Haddd2_0\Exes\interno.fx
SAS: 'File:E:\Temp_F\softwaredEngine\Haddd2_0\Exes\interno.fx' - Global parameter not found. Effect is not SAS-compliant.
SAS: Could not load effect 'File:E:\Temp_F\softwaredEngine\Haddd2_0\Exes\interno.fx'
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'

Haddd

 I'm sorry i don't know why it doesn't work... :(  

BeRSeRKeR

 Try posting the "interno.fx" file and the error description here.
¡Si te buscan en nombre de la ley, huye en nombre de la libertad!!






Stratos es un servicio gratuito, cuyos costes se cubren en parte con la publicidad.
Por favor, desactiva el bloqueador de anuncios en esta web para ayudar a que siga adelante.
Muchísimas gracias.