Posted by Josh Friday, June 12, 2009 at 11:20 PM
Well, this one guy did:
http://nwn2forums.bioware.com/forums/viewtopic.html?topic=681752&forum=113&sp=0
This thread made my day. [wipes a tear] I really shouldn't be finding this humorous at all, or probably even posting this here (I figured not many people read this and all of you are mature ;) ). Its remarkable how ungrateful and stupid people are. I never realized that I existed for the sole purpose of answering a guy-like-that's question within a few minutes and damn me if I don't answer in a way that you can fully understand.
Maybe I should start making comments like that for every question that I have that doesn't get answered within a few hours (or ever). Personally, I think the community is very helpful., especially the usual bunch of scripters that hang out around there. Scripters and programmers are an underappreciated bunch to be honest. People complain if they don't do their job right, yet they never get thanked or have people drooling over their final product. Its always the other works (writing, modellers, etc.) that get all the attention. You never hear "Great coding!" Its usually: "This game is buggy! I'm going to return this pos back to the store and get my money back." or no gratitude at all.
Just a reminder though, there is a more important post below.
Posted by Josh at 9:38 PM
The verdict is out. The tests were suffice to say: unsuccessful. This was not entirely unforseen. I expected it to be impractical. I dont have any screenshots since my desktop can longer connect to the internet for a time. (Why post screenshots of a failure to begin with? ;) ) If anyone is interested in the results, feel free to read on.
-----------------
There were two files for the sun: fx_sun.dds and fx_sun_glow.dds. The fx_sun file is the massive white ball that you see move around the sky and the first target of my experiment. I replaced this file with the fx_lens_flare.dds file into my override. The first result was a tiny sun with some barely noticeable rays. OK, so I went back thinking that maybe if I increase the image size it would increase the size of the sun. Unfortunately not. Increasing the image size to 1024x1024 or 2056x2056 yielded the same size sun. It would appear as if the engine takes the fx_sun.dds file and resizes it before putting it into the sky. First part of the test was a failure.
But what about the fx_sun_glow.dds file? This test proved a little more successful than the last. Same method involved (minus the resizing). The result was a transparent lens flare effect in the sky of decent size. This transparency effect is added externally from the texture file. Second and final part of the test was a failure.
Between the game resizing images and adding transparencies to create the non-artistic white ball in the sky, a lens flare effect simply isn't possible. However you can replace the sun image with an object of equal size and you won't run into any issues. Want a blue sun with some minor details? Its completely possible. Just don't expect to make it any larger than it already is.
-------------------
Posted by Josh Monday, June 1, 2009 at 5:59 PM
Its been awhile since my last post. Alot has been done, both in real life and in the toolset. Burying my head in circuits, Fourier Series/Transforms, logic gates and more recently, some new visual effects!
A few months ago during Spring Break, I picked up Fable 2. The graphics on it were pretty nice although the era and choice of clothing for the PC were absolutely dreadful. Regardless, I would spend most of my time running while staring at the sun. Why you ask? Well, the sky shader and visual effects were simply beautiful compared to NWN2's. So I don't have to explain what I say, I'll post an image instead:
With these issues in mind, the only possible usage for these in NWN2 would be in relatively placeableless areas that only uses the Default Day/Night setting. I have another idea I would like to try out. Three actually:
I'll return with my findings when I get to them :) Expect a post sometime this week!