Missing Fog & Water transparence in OpenGL mode

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Greatwolf
Posts: 19
Joined: Thu Mar 17, 2005 8:38 am

Missing Fog & Water transparence in OpenGL mode

Post by Greatwolf »

Hi all,

I was just wondering why this problem was still here. Check the perpixel demo and specialfx demo that's in the irrlicht sdk. Run it in DX mode then run it in opengl mode. You'll see that the perpixel demo in dx has fog while opengl doesn't. Run the specialfx demo in dx mode and you can see through the water. Run it again in opengl mode and you can't see the bottom of the floor of water. It's like the stone*.jpg texture never got loaded but the console shows that it's loaded properly. This was present in irrlicht 0.8 and I thought it would be fixed in 0.9 but it's still there.

Any comments and solutions for this?

Thanks
Greatwolf
Posts: 19
Joined: Thu Mar 17, 2005 8:38 am

Supporting snapshots

Post by Greatwolf »

Here's two screenshots illustrating the problems I'm talking about:

Image

Image
MACARRAUM
Posts: 40
Joined: Sun Nov 28, 2004 8:52 pm
Location: Brazil

Post by MACARRAUM »

It is not possible to see the screenshots :cry: :cry:
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

In internet explorer they load ok, but in firefox you get and "image hosted by angelfire" banner, so download the image extensions available, right click on the banner and select "view image"

about the 2 bugs:
2 layers texture mix has always been a non-solved bug in Irrlicht although there are patches around for getting it to work..cough..NX..cough cough

but fog used to work fine and now is giving problems. I also hope opengl probs get solved since it has been proved it's possible :wink:
Greatwolf
Posts: 19
Joined: Thu Mar 17, 2005 8:38 am

Post by Greatwolf »

ahh sorry about the screenshots not showing. I use firefox myself too and it seems if you use a proxy for this web browser then it shows properly. Otherwise you do get that 'hosted by angelfire' image. By default I'm using a program called proxomitron with firefox so that's why it shows properly for me.

As for the two bugs, why does opengl have this problem but directx is just fine? Did niko say anything about these two problems? I can't seem to find anything about this in the search. I'm surprise more people haven't brought these two problems into light yet.
William Finlayson
Posts: 61
Joined: Mon Oct 25, 2004 12:11 am

Post by William Finlayson »

I have a fix for this that works with 0.8. I would happy to port it over to 0.9 and submit it to Niko, but I would like to hear if maybe he has already been working on it himself.

Some information can be found on it, but it's way back in the forums and not easy to dig up. I'm not sure either why it hasn't been paid much attention.
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

William Finlayson wrote:I have a fix for this that works with 0.8. I would happy to port it over to 0.9 and submit it to Niko, but I would like to hear if maybe he has already been working on it himself.
Can you post your solution in bug forum?

I have this problem only with Irr08 and Irr09
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Greatwolf
Posts: 19
Joined: Thu Mar 17, 2005 8:38 am

I second etcaptor's suggestion

Post by Greatwolf »

etcaptor wrote:
William Finlayson wrote:I have a fix for this that works with 0.8. I would happy to port it over to 0.9 and submit it to Niko, but I would like to hear if maybe he has already been working on it himself.
Can you post your solution in bug forum?

I have this problem only with Irr08 and Irr09
I would like that as well. Much appreciated if you can do it. No fog and water trasparency in opengl just doesn't look good! :P
William Finlayson
Posts: 61
Joined: Mon Oct 25, 2004 12:11 am

Post by William Finlayson »

I'll try to get it done tomorrow, I just hope that version 0.10 doesn't get released before I'm done :D

The majority of the work is in the materials file, but there are places in the driver also where some states get set inappropriately, or don't get reset correctly. It took a while to get it done initially, it's a real pain when you think it's done then find that a certain combination of materials don't work together, but hopefully there haven't been many changes to the driver in 0.9 and it'll just be a case of copying the code over.
Last edited by William Finlayson on Sun Apr 10, 2005 12:18 am, edited 1 time in total.
William Finlayson
Posts: 61
Joined: Mon Oct 25, 2004 12:11 am

Post by William Finlayson »

Well, after posting that, I couldn't resist taking a quick peek before going to bed, and it turns out that it was just a case of copying over the changes. I've sent it off to Niko. If anyone else wants the updated files, then just ask and I'll send them via email.
Greatwolf
Posts: 19
Joined: Thu Mar 17, 2005 8:38 am

Post by Greatwolf »

Any idea on whether the upcoming irrlicht 0.10 will have these two problems corrected?

Thanks
hybrid

Post by hybrid »

William Finlayson wrote:Well, after posting that, I couldn't resist taking a quick peek before going to bed, and it turns out that it was just a case of copying over the changes. I've sent it off to Niko. If anyone else wants the updated files, then just ask and I'll send them via email.
Could you please provide a patch for inclusion in the patch page (http://parsys.informatik.uni-oldenburg. ... d/irrlicht)? Otherwise just send me the files so I can prepare a patch. Thanks!
Greatwolf
Posts: 19
Joined: Thu Mar 17, 2005 8:38 am

Post by Greatwolf »

hate to bring this thread back up but I notice that in the latest irrlicht 0.10 release this still isn't fixed. Any idea what the heck is going on?

Thanks!
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

William Finlayson was promised us his patch, but has anyone got it?
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Greatwolf
Posts: 19
Joined: Thu Mar 17, 2005 8:38 am

Post by Greatwolf »

I don't understand, why are these two problems being ignored by everyone? How come the author hasn't done anything to fix these two problem?
Post Reply