Reflections and FPS

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Fri Sep 18, 2009 5:01 pm

  • I have a map that's pretty much ready for upload (two, actually), but there's one thing I'm a bit uncertain of:

    The map has a few ponds with reflective water. When standing on a high point overlooking the map, I get about 22 fps. If I turn off the reflections I get about 80 fps in the same spot (and a lot more everywhere else).

    The ponds have zero impact on the gameplay, but they look really good and the reflections can be turned off. Should I lose the ponds and recompile, or should players be expected to turn off reflections if they get poor fps?
    2 GHz Mac Pro
    Mac OS X 10.6.2
    nvidia GeForce 8800 GT
    Clueless Newbie
    Keyboard killer
     
    Posts: 518
    Joined: Wed Jan 03, 2007 1:01 pm

Fri Sep 18, 2009 9:22 pm

  • Clueless Newbie wrote:The ponds have zero impact on the gameplay, but they look really good and the reflections can be turned off. Should I lose the ponds and recompile, or should players be expected to turn off reflections if they get poor fps?

    Mostly, the player should turn down reflections if they have poor FPS. IIRC it should have a default water texture which would be displayed there if reflections are off anyway, so should be fine.
    Do it yourself, or stop complaining.
    (Developer Tracker) | (Nexuiz Roadmap)
    User avatar
    Samual
    Keyboard killer
     
    Posts: 508
    Joined: Mon May 25, 2009 7:22 pm
    Location: Pittsburgh, PA

Fri Sep 18, 2009 9:26 pm

  • On maps with reflections/detailed water I tend to just set r_water 0 which sorts it.
    Possibly not the worst mapper in the world.

    A blog of random pish:
    http://xeno.planetnexuiz.com/blog/?author=5
    User avatar
    Sepelio
    Forum addon
     
    Posts: 1101
    Joined: Tue Jun 27, 2006 7:57 pm
    Location: Scotland

Fri Sep 18, 2009 9:27 pm

  • Are all of the ponds in the same plane? Any reflective surfaces out of plane could greatly slow things down. I've not tried it but opposing mirrors should really break things!
    Ed
    Forum addon
     
    Posts: 1172
    Joined: Wed Mar 01, 2006 12:32 am
    Location: UK

Fri Sep 18, 2009 11:28 pm

  • Reflections are FPS killers because they have to re-render the entire scene at least twice. Usually the render from the reflection's POV is done at a lower level, but even then, it's still a framerate killer. I don't know if it's possible in Darkplaces, but the Unreal engines always did this fake reflection thing with water that works pretty well, and has pretty much zero impact on performance.
    Equal opportunity fragger
    Irritant
    Advanced member
     
    Posts: 88
    Joined: Mon Sep 11, 2006 3:22 pm

Sat Sep 19, 2009 2:41 pm

  • Ed wrote:Are all of the ponds in the same plane? Any reflective surfaces out of plane could greatly slow things down. I've not tried it but opposing mirrors should really break things!

    Opposing mirrors do not break anything else than visuals, since reflections-in-reflections are not rendered (just black iirc). If they aren't on the same plane I guess that two extra renders are needed, but I'm not sure whether one huge reflecting surface covering the entire map would be faster.
    User avatar
    FruitieX
    Keyboard killer
     
    Posts: 588
    Joined: Mon Nov 13, 2006 4:47 pm
    Location: Finland

Sat Sep 19, 2009 4:56 pm

  • i say leave them and when people have low fps they can just change settings, cause some people, i included, can still hit 400fps with maximum settings.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Sat Sep 19, 2009 9:00 pm

  • Mizu Kitsune wrote:cause some people, i included, can still hit 400fps with maximum settings.

    Yeah, me too.
    Image
    Guess we need more expensive effects for people who have rigs as good as ours.
    User avatar
    FruitieX
    Keyboard killer
     
    Posts: 588
    Joined: Mon Nov 13, 2006 4:47 pm
    Location: Finland

Sat Sep 19, 2009 9:40 pm

  • FruitieX wrote:
    Mizu Kitsune wrote:cause some people, i included, can still hit 400fps with maximum settings.

    Yeah, me too.
    Image
    Guess we need more expensive effects for people who have rigs as good as ours.


    What the hell do you have in that thing? Seriously, I can only do 30 frames with everything maxed.
    I have left this website with the rest of the GPL Nexuiz community. You can find us at Xonotic.org
    User avatar
    Lee_Stricklin
    Alien trapper
     
    Posts: 404
    Joined: Sat Jun 21, 2008 8:42 pm
    Location: Midwest

Tue Sep 29, 2009 4:18 pm

  • In Ruiner at 1024x768 and effects at max value (no offset mapping) have 7-8 fps. And no plaiers inside :P

    I think reflective water is ok: Sure needs a powerfull system to run that :D
    User avatar
    giuseppe
    Alien
     
    Posts: 128
    Joined: Fri Mar 16, 2007 6:47 pm
    Location: italy

Tue Sep 29, 2009 4:58 pm

  • giuseppe wrote:In Ruiner at 1024x768 and effects at max value (no offset mapping) have 7-8 fps. And no plaiers inside :P

    I think reflective water is ok: Sure needs a powerfull system to run that :D


    More pictures of the kitty kat in your avatar please.
    tundramagi
    Forum addon
     
    Posts: 974
    Joined: Sun Jan 04, 2009 4:53 pm

Tue Sep 29, 2009 5:03 pm

  • Lee_Stricklin wrote:
    FruitieX wrote:
    Mizu Kitsune wrote:cause some people, i included, can still hit 400fps with maximum settings.

    Yeah, me too.
    Image
    Guess we need more expensive effects for people who have rigs as good as ours.


    What the hell do you have in that thing? Seriously, I can only do 30 frames with everything maxed.

    @FruitieX: yes we do XD
    @Lee_Stricklin: everything we need and then some. and taskmanager.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia

Tue Sep 29, 2009 6:41 pm

  • FruitieX wrote:
    Mizu Kitsune wrote:cause some people, i included, can still hit 400fps with maximum settings.

    Yeah, me too.
    Image
    Guess we need more expensive effects for people who have rigs as good as ours.


    a map just with reflecting water :D
    Aneurysm 4 the win !!!!! :D
    User avatar
    cortez
    Keyboard killer
     
    Posts: 805
    Joined: Wed Dec 06, 2006 7:22 pm
    Location: From the moon

Tue Sep 29, 2009 6:58 pm

  • cortez wrote:
    FruitieX wrote:
    Mizu Kitsune wrote:cause some people, i included, can still hit 400fps with maximum settings.

    Yeah, me too.
    Image
    Guess we need more expensive effects for people who have rigs as good as ours.


    a map just with reflecting water :D


    :mrgreen:
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Tue Sep 29, 2009 7:30 pm

  • ^_^
    i think we have one, its a small dark room with water and a small platform to the side, with like moving pumps in the middle.
    +The Dude+
    [-Project 2501-]
    Mizu Kitsune
    Alien trapper
     
    Posts: 362
    Joined: Sat Apr 11, 2009 7:51 pm
    Location: Maridia



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest