Author Topic: Weird Water  (Read 5230 times)

oli887

  • Stingray
  • Posts: 69
Weird Water
« on: November 04, 2007, 06:14:09 PM »
Hello. Since I installed Paintball 2 on my new computer ( Which uses Vista, dunno if its the problem) i got weird and annoying water.







Any ideas ?

Thanks

lekky

  • Autococker
  • Posts: 2449
Re: Weird Water
« Reply #1 on: November 04, 2007, 06:22:26 PM »
Use the search :P

oli887

  • Stingray
  • Posts: 69
Re: Weird Water
« Reply #2 on: November 04, 2007, 07:06:53 PM »
Ok i found it.  Just tried to uncheck reflective water and it worked :D

Admins : You can delete this topic.

Eiii

  • Autococker
  • Posts: 4595
Re: Weird Water
« Reply #3 on: November 04, 2007, 07:18:20 PM »
Of course, then you don't have reflective water.

Do you have an ATI card? ATI + Vista seems to do horrible things.

oli887

  • Stingray
  • Posts: 69
Re: Weird Water
« Reply #4 on: November 05, 2007, 06:41:23 AM »
Yeah. I got ATI X1300 128 mb. And yeah ATI + Vista is horrible.... Lots og low framerates and textures problems ...

y00tz

  • Autococker
  • Posts: 2742
Re: Weird Water
« Reply #5 on: November 05, 2007, 07:50:34 AM »
Yep.  I think we've figured out some Linux drivers cause the same thing... the trick with removing reflective water is just a quick fix, but you should add to the feature vote that you'd like to see this fixed.  I imagine it's possible to do a work around..

Apocalypse

  • Autococker
  • Posts: 1463
Re: Weird Water
« Reply #6 on: November 05, 2007, 06:36:13 PM »
This problem made it so I haven't seen reflective water in ages :(

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Weird Water
« Reply #7 on: November 06, 2007, 04:31:08 PM »
Interesting - I hadn't seen the first case.  I guess ATI drivers just randomly pick which texture to use?  Is there any rhyme or reason to when it uses the blue-ish texture (normal map) vs the red/green texture (offset map)?  If anybody wants to take a stab at fixing this, it may be possible to do from pball/scripts/water1.arbf, unless the texture binding in the engine itself is the issue (of course, that's open-sourced as well - just don't use a modified version online).

Cobo

  • Autococker
  • Posts: 1362
Re: Weird Water
« Reply #8 on: November 06, 2007, 04:35:53 PM »
The bluish case just seems to be reflecting, rather than just drawing the texture.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Weird Water
« Reply #9 on: November 07, 2007, 02:00:35 PM »
But what causes the difference between the first and second screenshot?  Does the map sometimes load with one and sometimes the other, or does it flicker back and forth between them?

y00tz

  • Autococker
  • Posts: 2742
Re: Weird Water
« Reply #10 on: November 07, 2007, 02:22:45 PM »
It was my assumption that this is a map he made?  In which case, maybe he tried two different water textures, and thus the difference...  Hohum.

oli887

  • Stingray
  • Posts: 69
Re: Weird Water
« Reply #11 on: November 07, 2007, 03:43:12 PM »
Nope . Used only one water texture. I first looked at the water. Then went on the other edge of the map ( Which is leaked Btw ) Then i came back and the water changed. But i think there is a link with using a specific water picture tho. Like, on dopjump my water is always Black/Green/Yellow Like the 2nd picture. But on some other maps the water will be like my first picture.

Cobo

  • Autococker
  • Posts: 1362
Re: Weird Water
« Reply #12 on: November 07, 2007, 04:38:11 PM »
Hm, fix the leaks and see if it still changes when you go to the other side and come back.

oli887

  • Stingray
  • Posts: 69
Re: Weird Water
« Reply #13 on: November 07, 2007, 05:40:05 PM »
Ok i fixed the leaks and still nothing. I posted a demo of what i am doing. I dont know of you will see the blue and yellow/black/green water changes.

Cobo

  • Autococker
  • Posts: 1362
Re: Weird Water
« Reply #14 on: November 07, 2007, 05:48:06 PM »
People wont see the water colors in a demo.

Edgecrusher

  • Autococker
  • Posts: 815
Re: Weird Water
« Reply #15 on: November 07, 2007, 07:10:39 PM »
Hello. Since I installed Paintball 2 on my new computer ( Which uses Vista, dunno if its the problem) i got weird and annoying water.

Any ideas ?

Thanks

It's not weird and annoying.

I like it.

Ads a new dimension to the game-

y00tz

  • Autococker
  • Posts: 2742
Re: Weird Water
« Reply #16 on: November 07, 2007, 07:32:33 PM »
Jitspoe:  After looking at the source, it looks like Paintball uses roughly the same water code as AlienArena (sp?) another popular mod/game, is this the case?

At any rate, I'm going to check out their forums to see if this has been reported and/or fixed.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Weird Water
« Reply #17 on: November 08, 2007, 02:35:12 PM »
Several people worked on the reflective water code.  I'm not sure which engines it made its way into.  Matt Ownby made the original reflective water.  Dukey tweaked it a bit and shared in on quakesrc.  I added some tweaks and put in the fragment programs for the ripple effects.