XEffects - Reloaded - New Release (V 1.4)

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

XEffects Reloaded + Irrlicht 1.5

Post by porcus »

Hello,

today I tried to use XEffects Reloaded with Irrlicht 1.5 but I get only
a black screen and some error messages:
createRenderTargetTexture is deprecated, use addRenderTargetTexture instead
FBO missing an image attachment
FBO error
FBO incomplete
createRenderTargetTexture is deprecated, use addRenderTargetTexture instead
FBO missing an image attachment
FBO error
FBO incomplete
createRenderTargetTexture is deprecated, use addRenderTargetTexture instead
FBO missing an image attachment
FBO error
FBO incomplete
createRenderTargetTexture is deprecated, use addRenderTargetTexture instead
FBO missing an image attachment
FBO error
FBO incomplete
The binaries are working. This error appears only if I try
to use it with Irrlicht 1.5 .

Can anybody help me?
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

You would need to give more then that for help. The first error is simply a warning,to rename a function in the code. And the fbo error appears to be coming from your graphics card capability thingy.

What card is it,what pc and what os? Which driver were you using ? Directx or opengl?

All these things help see the problem.
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Does this happen even when using a shadow map AND screenRTT resolution of only 512x512? (With a window size that's bigger than 512x512 of course).
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Post by porcus »

EDIT: That's very strange, I didn't change anything but suddenly it works.
I dont't know why but it works and so I'm satisfied :D :D :D
skumar
Posts: 201
Joined: Thu Feb 14, 2008 6:24 pm
Location: kerala state india
Contact:

Post by skumar »

createRenderTarget is depricated and from 1.5 its addRenderTarget() so edit the code for this...
skumar
9YkKsvXM
Posts: 64
Joined: Tue Mar 11, 2008 11:45 pm

-

Post by 9YkKsvXM »

-
Last edited by 9YkKsvXM on Sun Jun 07, 2020 2:53 am, edited 1 time in total.
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Post by porcus »

Hi,

Today I played a little bit around and I tried to use a node without any
shadows and ligting on it, while the rest of the scene has shadows and
lighting. The problem is, that the one node, which should be without shadow
and lighting, is now transparent :?: and lighting is applied although I never
added the node via addShadowToNode.

Here's a screenshot:
Image
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

porcus wrote:Hi,

Today I played a little bit around and I tried to use a node without any
shadows and ligting on it, while the rest of the scene has shadows and
lighting. The problem is, that the one node, which should be without shadow
and lighting, is now transparent :?: and lighting is applied although I never
added the node via addShadowToNode.

Here's a screenshot:
Image
You have to add it using addShadowToNode using ESM_NONE. This will add it but not make it cast or receive shadows.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Nate_D wrote:Having slight problems getting this to compile...

I have tried using irrlicht versions

1.3.1
1.4.2
1.5

i get several errors from my compiler saying...

'class irr::videoSMaterial' has no member named 'getTexture'
'class irr::videoSMaterial' has no member named 'TextureLayer'
'class irr::videoSMaterial' has no member named 'setTexture'

all of the header files are included, and cpp files are part of the project, any ideas why i might be getting this error?
It looks like you are accidentally typing irr::videoSMaterial instead of irr::video::SMaterial. Find those occurances and replace them.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
9YkKsvXM
Posts: 64
Joined: Tue Mar 11, 2008 11:45 pm

Post by 9YkKsvXM »

-
Last edited by 9YkKsvXM on Mon Jun 08, 2020 1:33 am, edited 1 time in total.
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Post by porcus »

You have to add it using addShadowToNode using ESM_NONE. This will add it but not make it cast or receive shadows.
There's nothing called ESM_NONE. There's only ESM_BOTH, ESM_CAST
and ESM_RECEIVE available. Of course I could use ESM_RECEIVE
but I don't want to have any shadows on that node. Only on the rest of
the scene.
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

well then either use ESM_CAST so it only casts a shadow or simply don't add the scenenode to xeffects.......
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

porcus wrote:
You have to add it using addShadowToNode using ESM_NONE. This will add it but not make it cast or receive shadows.
There's nothing called ESM_NONE. There's only ESM_BOTH, ESM_CAST
and ESM_RECEIVE available. Of course I could use ESM_RECEIVE
but I don't want to have any shadows on that node. Only on the rest of
the scene.
Haha you're absolutely right, there is no ESM_NONE. I'll have to remember to add this in the next release. I'm afraid ESM_CAST is the only solution right now, but it will still cast shadows on the rest of the scene. It will not be trivial to add this yourself in the meantime, first add ESM_NONE to the enums, then look for the places where it checks for ESM_CAST (To disable shadowing on the node) and where it checks for ESM_RECEIVE (To stop the node from casting shadows), then make it check for both ESM_CAST or ESM_NONE (Or ESM_RECEIVE or ESM_NONE).
Nate_D wrote:I accidentally typed that into the forum wrong, i checked and they all say what they are supposed to. I am just trying to compile the first example that comes with xeffects reloaded, but then it finds all of those errors in the code... when I open the SMaterial file, it shows all three of those functions existing but for some reason it is not calling them...
It looks like you are still using the header files for Irrlicht 1.3.1, as these functions were added around 1.4 and later.

Cheers
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
9YkKsvXM
Posts: 64
Joined: Tue Mar 11, 2008 11:45 pm

Post by 9YkKsvXM »

-
Last edited by 9YkKsvXM on Mon Jun 08, 2020 1:33 am, edited 1 time in total.
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Theres no reason I can think of why it would crash. Make sure you are using the correct dll/libs etc for everything. Telling me it crashes at runtime doesn't really help, try using the debugger to find the specific line of code it chokes on.

Also, getVendorInfo() is part of Irrlicht 1.5, so I'm not sure what error you encountered there?
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Post Reply