Jump to content
The Dark Mod Forums

DarkRadiant 1.2.2 released


greebo

Recommended Posts

Well I carried on using 1.2.2 and all is fine, so i can only assume it was windows being a shit as I may have been trying to do too many things at once - although I wouldn't call running DR, DM3 and streaming MP3 radio doing to many things at once on my system...

 

Ok. Try to keep an eye open on this, it's possible that it happens again. Next time this occurs, try to remember what steps you did right before it crashed, I need as much info as possible, otherwise I can not even try to reproduce it.

Link to comment
Share on other sites

In another (opensource) 3d engine alpha-stuff was solved by having different draw phases. One phase draws all solid materials to set up the Zbuffer, and the next phase draws all alphatest (and alpha without testing as well) in back-to-front (in reference to the screenspace) order. This draws the transparent objects fine (with some exceptions that do not happen a lot unless you make everything transparent; to make even better you'd want the 'stencil type' alpha to fill Zbuffer (a railing) and for 'blend style' alpha to not fill Zbuffer (for glass or fog, its fine to underlap; perhaps with pixel shaders you can make it test and if alpha=99% solid for a pixel then fill Zbuffer)). If the engine uses blend_add and blend_mult apart from simple 'png-style' alpha you can make passes for that as well, so that add and mult and alphablend give the desired color formula; like: alphablend(railings, windows), mult(shadows) then add(fireworks). Anyway, all this complication is not really needed, for an editor, sort back-to-front with the octree and render another pass for the alphastuff with ztest. Sorry if this is too much detail on it :unsure:

Link to comment
Share on other sites

I just upgraded to 1.2.2 yesterday (from 1.0.2, I skipped a few releases), and now DR won't remember my window size/position. It remembers my other settings, such as SplitPane view and having the Cubic clip turned off. Is there anything I can check to fix this?

 

(BTW, I deleted my C:\Documents and Settings\Owner\Application Data\DarkRadiant folder after uninstalling 1.0.2 and a new one was created upon installing 1.2.2)

shadowdark50.gif keep50.gif
Link to comment
Share on other sites

In another (opensource) 3d engine alpha-stuff was solved by having different draw phases. One phase draws all solid materials to set up the Zbuffer, and the next phase draws all alphatest (and alpha without testing as well) in back-to-front (in reference to the screenspace) order. This draws the transparent objects fine (with some exceptions that do not happen a lot unless you make everything transparent; to make even better you'd want the 'stencil type' alpha to fill Zbuffer (a railing) and for 'blend style' alpha to not fill Zbuffer (for glass or fog, its fine to underlap; perhaps with pixel shaders you can make it test and if alpha=99% solid for a pixel then fill Zbuffer)). If the engine uses blend_add and blend_mult apart from simple 'png-style' alpha you can make passes for that as well, so that add and mult and alphablend give the desired color formula; like: alphablend(railings, windows), mult(shadows) then add(fireworks). Anyway, all this complication is not really needed, for an editor, sort back-to-front with the octree and render another pass for the alphastuff with ztest. Sorry if this is too much detail on it :unsure:

 

The DR renderer does use ordered drawing like you mention, and does have code-level support for transparent material drawing. I don't think any substantial re-designing is needed to get this working, it's just a question of tracking down the bug.

Link to comment
Share on other sites

Is somebody else using Splitpane and able to confirm that?

I'm using splitpane, and what it seems to me (and has since 1.02 and perhaps earlier) is that the size settings are not remembered if you're not in fullscreen mode. If you're windowed, you do seem to have to reset sizes on each startup. But that could be a dual monitor thing; read on.

 

I normally use fullscreen only, but have been exposed to this problem because of getting two monitors and flipping sometimes between dual view mode and horizontal stretch mode. Each mode seems to have its own share of problems, either graphic glitches in one or performance issues in the other. DR works best for me (unfortunately -- since I use the other mode the other 99% of the time) in Horiz Stretch mode. I can put it fullscreen, and on each restart, it's restored. But! If I open in dual view mode at all, the settings get messed up, because now my two-monitor maxxed view has been scrunched down to one monitor, so everything's thrown off. Quite a pain in the ass, really, but how to address it (if it's even possible)? Remember two sets of sizes for each layout?

 

Anyway, I'm rambling. In short: yes it seems like in non-maximized view, settings get lost esp on two-monitor systems (I believe Komag does that too). When maxxed, it seems to be behaving for me.

 

Then again... I still sometimes get that no-camera-update-without-explicit-click issue and don't know what to do to fix it. Sometimes it fixes itself through changing modes, sometimes I can't seem to force it to fix. I can confirm the invert patch refresh seems fixed, but earlier today had the issue where I wasn't seeing surface inspector changes until after a separate click (making the inspector basically useless)... so I'm not sure what to say. But I'm going to keep an eye out for the refresh problem. Well, in truth, it'll find me. :-|

 

(This info ^ was using 1.02 and then confirmed with 1.3 beta build from SVN.)

Link to comment
Share on other sites

But my 1.0.2 DID remember my size and position when not maximized. (although I don't remember if I had deleted the DarkRadiant folder before I originally upgraded to the 1.0.2 last winter, so maybe some of those files worked differently before and still worked to remember my window size/position and they are actually from an earlier version of DR)

 

I did use dual monitors in years past, but not for a long time now, so in my case it's not that - though I guess it could still be SOMEHOW related, with the ATI Catalyst Control Center (currently showing only one monitor)

shadowdark50.gif keep50.gif
Link to comment
Share on other sites

Hm. Well, I'd definitely be in favor of it remembering non-maximized settings, in dual and single monitor setups (if that's possible), because I'd prefer to use dual mode, as in horizontal stretch it (among other issues) puts all of the dialogs (splash scree, save confirm, create entity, etc) dead center in the screen every time.

 

I'll check and see if there's an issue for non-max being forgotten and/or track one.

 

 

Edit: didn't see one. Tracked here: http://bugs.angua.at/view.php?id=2206

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 2 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...