XEffects - Reloaded - New Release (V 1.4)
at first: excuse my bad english
XEffects doesnt work for me. I try to link it into a DLL but i get the following errors:
any idea anyone?
XEffects doesnt work for me. I try to link it into a DLL but i get the following errors:
if i compile the examples all will work fine.1>EffectHandler.obj : error LNK2001: Nicht aufgelöstes externes Symbol "__imp__rand".
1>EffectHandler.obj : error LNK2001: Nicht aufgelöstes externes Symbol "__imp__srand".
any idea anyone?
That's really strange. Your errors are in another language but it seems that it can't find rand() and srand() which should be standard. I've never attempted putting XEffects into a seperate DLL, it's not really large enough to warrant that.
You'd have to fix your compiler settings for this. I'm afraid there's not much I can tell you from an XEffects point of view on this subject, it's a compiler/linker settings problem. I recommend just including it in your project files.
You'd have to fix your compiler settings for this. I'm afraid there's not much I can tell you from an XEffects point of view on this subject, it's a compiler/linker settings problem. I recommend just including it in your project files.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
http://www.cplusplus.com/reference/clib ... dlib/rand/
It gives you the header to include. Figure it out from there.
It gives you the header to include. Figure it out from there.
Sorry,does XEffects fit a larger scene than a room?
Can It make every character generate good shadow in a large map?
I've contacted XEffects few days,, still have wondering on this,,sorry
I've contacted XEffects few days,, still have wondering on this,,sorry
Only spotlights and directional lights are supported currently. That's why it must "look" at a position. For the specific terms think of them from a camera's point of view. Google for "3d camera fov", etc to learn more.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Getting shader errors on an NVIDIA Quadro FX 570M 512MB.
This video card is using shader model 4.0.
Using a forced vs_2_0 shader model, the program runs correctly.
I'm using the Irrlicht 1.6 engine, with pre-build binaries from the website.
Running it with dx 9.0c.
The example bins run fine when I open those, but when I recompile the examples and run, the std output gives the same errors as mentioned above.
Any suggestions to fix this in a proper way instead of forcing vs_2_0?
Edit:
Here's a link with screenshots of the prebuild run and the rebuild run.
http://woutervh.com/xeffects_screens.zip
Code: Select all
HLSL vertex shader compilation failed:
error X3506: unrecognized compiler target 'vs_3_0'
Using a forced vs_2_0 shader model, the program runs correctly.
I'm using the Irrlicht 1.6 engine, with pre-build binaries from the website.
Running it with dx 9.0c.
The example bins run fine when I open those, but when I recompile the examples and run, the std output gives the same errors as mentioned above.
Any suggestions to fix this in a proper way instead of forcing vs_2_0?
Edit:
Here's a link with screenshots of the prebuild run and the rebuild run.
http://woutervh.com/xeffects_screens.zip
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
next DirectX 9 problem:
on my xp it runs fine in dx9 (gf 8800 gts).
latest dx redistributable and dx sdk august 2009 are installed. any ideas?Irrlicht Engine version 1.6
Microsoft Windows Vista Professional Service Pack 1 (Build 6001)
Using renderer: Direct3D 9.0
NVIDIA GeForce 8800 GTX nvd3dum.dll 7.15.11.7813
Could not load shader function D3DXAssembleShader from dll, shaders disabled: d3dx9_42.dll
Could not create vertex shader.
Could not create vertex shader.
Could not load shader function D3DXCompileShader from dll, shaders disabled: d3dx9_42.dll
Loaded texture: wcrate.jpg
Loaded mesh: wcrate/wcrate.b3d
Loaded texture: grunge1.jpg
Loaded mesh: plane/plane.b3d
irrKlang 3D Sound Engine version 1.1.2
Using DirectSound driver
on my xp it runs fine in dx9 (gf 8800 gts).
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
The last screenshot is attempting to run on OGL , with directX shaders? Either that or its an ATI card. Nvidia cards sometimes allow HLSL in GLSL shaders... Change the float2 to vec2 inside the shader.
OR, post a patch/bug in the tracker about updating the shader compiler code to match new DXSDK's.
This seems pretty self explanatory. The DX SDK changed recently, i would assume that there is something to do with this. In irrlicht its using a function that has changed in the newer SDK's. Using an older SDK, should work fine.Could not load shader function D3DXCompileShader from dll, shaders disabled: d3dx9_42.dll
OR, post a patch/bug in the tracker about updating the shader compiler code to match new DXSDK's.