Glow Effect In Ns

1246

Comments

  • stickybootstickyboot Join Date: 2004-01-29 Member: 25711Members, Constellation
    I wonder if there is any way they could optimize the glow. That would be awsome
  • SandstormSandstorm Join Date: 2003-09-25 Member: 21205Members
    I have now updated to Catalyst 4.6. It appears that the program no longer works correctly, for any shader chosen produces a black screen which all the pixels on a diagonal from the top-right to the bottom-left.

    I was originally using Catalyst 4.5. After I selected the shader, I launched Counterstrike and connected to a HLTV server. My hard drive was eventually grinding away in about 5 minutes, and there were major freezes whenever something caused disk access. That seems like a memory leak to me.
  • semipsychoticsemipsychotic Join Date: 2003-07-09 Member: 18061Members
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->btw i aint read the whole threadbut if a server implmented this would it be possible to play with it on now ? <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    No. To get this effect running, it has to be programmed into the mod itself.
  • BrackharBrackhar Santa Monica Join Date: 2003-10-26 Member: 22004Members, Constellation, Reinforced - Onos
    If I was more familiar with C, I'd port it over. Myabe I should learn it this weekend...

    Me want shader. Me want now!

    -Brackhar
  • AbsolutCamperAbsolutCamper Join Date: 2004-05-10 Member: 28591Members
    How about doing an opengl32.dll file like several "game enhancement" programs.
  • coriscoris Join Date: 2003-07-08 Member: 18034Members, Constellation
    <!--QuoteBegin-[A]bsolutCamper+Jun 25 2004, 06:51 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([A]bsolutCamper @ Jun 25 2004, 06:51 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> How about doing an opengl32.dll file like several "game enhancement" programs. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Would be classified as a cheat by CD and VAC (when its supported).
  • Diablo_fxDiablo_fx Join Date: 2003-02-21 Member: 13793Members
    awesome! very nice, this should be implentet now <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • GuspazGuspaz Join Date: 2002-11-01 Member: 2862Members, Constellation
    edited June 2004
    <!--QuoteBegin-Sandstorm+Jun 24 2004, 12:00 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Sandstorm @ Jun 24 2004, 12:00 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I have now updated to Catalyst 4.6.  It appears that the program no longer works correctly, for any shader chosen produces a black screen which all the pixels on a diagonal from the top-right to the bottom-left. 

    I was originally using Catalyst 4.5.  After I selected the shader, I launched Counterstrike and connected to a HLTV server.  My hard drive was eventually grinding away in about 5 minutes, and there were major freezes whenever something caused disk access.  That seems like a memory leak to me. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    You have to be using Catalyst 4.3. That's the last version supported by the tool that lets you change the shader properly.

    I have not experienced what you described. I'd say something is wrong with your PC.

    EDIT: 4.3 is the last version supported by the UPDATED tool available on Beyond3D. If you're using the original tool, 4.2 is the version it works with.
  • GuspazGuspaz Join Date: 2002-11-01 Member: 2862Members, Constellation
    edited June 2004
    <!--QuoteBegin-semi-psychotic+Jun 24 2004, 12:23 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (semi-psychotic @ Jun 24 2004, 12:23 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->btw i aint read the whole threadbut if a server implmented this would it be possible to play with it on now ? <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    No. To get this effect running, it has to be programmed into the mod itself. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    No. To get this effect running, somebody has to port it to the HLSL used for ATI's SMARTSHADER. Then anybody with an ATI card can play with the effect.

    nVidia people, you're out of luck, since there's no equivalent feature for nVidia cards. You'd have to wait for Flayra to add support for the effect. Or maybe VALVe.
  • davidcmcdavidcmc Join Date: 2004-05-19 Member: 28756Members
    cant I play on multiplayer with this blur effect?
  • GuspazGuspaz Join Date: 2002-11-01 Member: 2862Members, Constellation
    You can if somebody ports the shaders to SMARTSHADER. Then anybody with an ATI card can play in multiplayer.
  • Fl4THeAdFl4THeAd Join Date: 2003-07-30 Member: 18587Members
    edited June 2004
    Here are super-high res pics of it:

    <img src='http://www.davisagencyinc.com/zglow_mod1.jpg' border='0' alt='user posted image' />

    <img src='http://www.davisagencyinc.com/zglow_mod2.jpg' border='0' alt='user posted image' />
  • RecoupRecoup Join Date: 2004-04-25 Member: 28195Members
    Someone needs to put this into an easy-install form, where you dont have to go into all this crap to get it to work...
  • GuspazGuspaz Join Date: 2002-11-01 Member: 2862Members, Constellation
    <!--QuoteBegin-Recoup+Jun 27 2004, 10:05 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Recoup @ Jun 27 2004, 10:05 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Someone needs to put this into an easy-install form, where you dont have to go into all this crap to get it to work... <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    No, somebody needs to port it to SMARTSHADER so it can work at all.

    There is no "all this crap to get it to work" because it DOESN'T work with NS, until somebody ports it.

    Come on, this would only be the work of half an hour or something, surely SOMEBODY here knows how to write pixel shaders....
  • WindelkronWindelkron Join Date: 2002-04-11 Member: 419Members
    or, we can also convince the devs to code this in! That should be the work of this community now <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
  • Fl4THeAdFl4THeAd Join Date: 2003-07-30 Member: 18587Members
    It's odd, I get a solid 85 fps when I'm using the glowmod. But every once in a while, it INSTANTLY cuts in half and goes to half of my refresh rate. (42.5 fps). And doesn't go any farther down than that. It doesn't seem like it is because it can't handle it, but more of a glitch.
  • ViPrViPr Resident naysayer Join Date: 2002-10-17 Member: 1515Members
    edited June 2004
    i think some engines render the screen to a texture and then generate several mip map stages from it and then add them all back onto the screen or average them. it should be pretty fast although it does have weird side effects although they are minor. i tried it myself and was quite surprised by the result. i'm gonna see how it would look if i were to add some minor blurring to the mip maps as well.

    btw for these glow effects to work as desired you'd have to use floating point textures which are kinda like HDRI i think because on integer textures once something is bright enough to be the maximum white value (255 255 255) it is clamped down to that value and any extra brightness is just ignored. i don't know if most graphic cards are capable of using floating point textures. i think this was introduced only in DirectX9. lights themselves are supposed to be much brighter than white although you see them as white currently and if you use only integer textures and design the glow effect to end up making a glow around lights then walls that are somewhat bright will be considered to be around the same brightness as looking directly at lights themselves and will glow the same which is probably not desired. in other words looking at a white wall which is lit just enough to not look grey on screen will produce a glow that is exactly the same as looking directly at the sun. that's one of the reasons they came up with HDRI. another reason is suppose you want to make a render of a car sitting out in the sun and you use a non HDRI skybox which has a picture of the sun on it, because a car surface is not totally reflective like a mirror the sun will look like a grey dot on the car surface even though it's white on the skybox picture.
  • ViPrViPr Resident naysayer Join Date: 2002-10-17 Member: 1515Members
    <!--QuoteBegin-C0BRA1450+Jun 28 2004, 04:13 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (C0BRA1450 @ Jun 28 2004, 04:13 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> It's odd, I get a solid 85 fps when I'm using the glowmod. But every once in a while, it INSTANTLY cuts in half and goes to half of my refresh rate. (42.5 fps). And doesn't go any farther down than that. It doesn't seem like it is because it can't handle it, but more of a glitch. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    that is because you have vsync turned on. vsync causes your framerate to be the same as your monitor refresh rate if it is actually higher than it or half of it if it is actually less than it. it can also go down to a 3rd or 4th or 5th or 6th etc if your graphic card is too slow.
  • GuspazGuspaz Join Date: 2002-11-01 Member: 2862Members, Constellation
    edited June 2004
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->It's odd, I get a solid 85 fps when I'm using the glowmod. But every once in a while, it INSTANTLY cuts in half and goes to half of my refresh rate. (42.5 fps). And doesn't go any farther down than that. It doesn't seem like it is because it can't handle it, but more of a glitch.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    Enable triple buffering in your videocard's control panel and this will solve this problem, even with VSync enabled.
  • GuspazGuspaz Join Date: 2002-11-01 Member: 2862Members, Constellation
    <!--QuoteBegin-ViPr+Jun 28 2004, 12:21 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ViPr @ Jun 28 2004, 12:21 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> *Lots of stuff* <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    You realize that we're talking about an effect that's already existant, right? We're not designing an effect from scratch?

    You can go ask VALVe to implement High Dynamic Range into Half-Life1 and port it to DirectX 9 while they're at it, but good luck with that.

    Fact is, Half-Life is a DirectX-6 era game, and we've got to deal with what we have. And that means that the current best method for using this effect on high-end cards are simple pixel shaders.

    There is a version of the glow-mod that works on machines without support for pixel shaders doing something similar to what you described (Copies screen to texture, does bluring, mixes together, displays), however it is <b>SLOW</b> compared to the pixel-shader version on newer cards, since it's done all in software.
  • ViPrViPr Resident naysayer Join Date: 2002-10-17 Member: 1515Members
    edited June 2004
    yah i think i know which one your talking about and i read how he did it but he didn't use mip-mapping. i was suggesting using mipmapping coz it might be a cheap fast way of doing blurring because many people are complaining that the effect as it is is too slow.
  • FlayraFlayra Game Director, Unknown Worlds Entertainment San Francisco Join Date: 2002-01-22 Member: 3Super Administrators, NS2 Developer, Subnautica Developer
    Wicked stuff. Definitely something to consider adding to NS!
  • SwiftspearSwiftspear Custim tital Join Date: 2003-10-29 Member: 22097Members
    AHHH OMG, THE PWNAGE I HAVE JUST EXPERAINACED, I'LL NEVER SHOWER AGIAN!!!1!!11

    heh, J/K, nice to see you around Flay, expecially considering such a cool feature that I am too lazy to hack into the game myself <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
  • LegatLegat Join Date: 2003-07-02 Member: 17868Members
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->AHHH OMG, THE PWNAGE I HAVE JUST EXPERAINACED, I'LL NEVER SHOWER AGIAN!!!1!!11
    <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    Calm down swiftspear, no need to cut on your personal hygiene <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->

    Anyway, nice to know Flyra is considering this. Now we just have to make him to unchain the chambers <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • ikirikir Join Date: 2003-07-19 Member: 18265Members, Constellation, Reinforced - Gold
    <!--QuoteBegin-Windelkron+Jun 27 2004, 10:18 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Windelkron @ Jun 27 2004, 10:18 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> or, we can also convince the devs to code this in! That should be the work of this community now <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Totally agree!

    Natural Selection 3.0 with this effect rocks!
  • RedDragonGeckoRedDragonGecko Join Date: 2002-12-11 Member: 10564Members
    Hmm, nice to see Flarya likes it. Glad I suggested it.
  • Diablo_fxDiablo_fx Join Date: 2003-02-21 Member: 13793Members
    <!--QuoteBegin-Flayra+Jun 29 2004, 07:27 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Flayra @ Jun 29 2004, 07:27 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Wicked stuff. Definitely something to consider adding to NS! <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Some1 give this guy a medal! haven't seen a dev post in 2 months :O

    /me hugs flayra
  • GuspazGuspaz Join Date: 2002-11-01 Member: 2862Members, Constellation
    Still waiting for somebody to port the things...
  • aonomusaonomus Dedicated NS Mastermind (no need for school) Join Date: 2003-11-26 Member: 23605Members, Constellation
    [Drama]GASP[/Drama] Flayra speaks!

    I wanna dl this as soon as i get home and try it out, looks promising, maybe it could give me back that atmospheric feel, however if this were added to NS specifically it would give mappers alot mroe control over mapping (such as adding specific lights that do glow and others that dont.
  • NarfwakNarfwak Join Date: 2002-11-02 Member: 5258Members, Super Administrators, Forum Admins, NS1 Playtester, Playtest Lead, Forum Moderators, Constellation, NS2 Playtester, Squad Five Blue, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow, Subnautica PT Lead, NS2 Community Developer
    /me fluffles Flayra

    Good to see that The Man is back!
Sign In or Register to comment.