Tempust85 Posted January 19, 2015 Posted January 19, 2015 Yeah, it says in the readme that it's broken. Can anyone please shed some light as what's broken/unfinished about it? I'm curious is all.
Xycaleth Posted January 19, 2015 Posted January 19, 2015 Oh, broken in this case means not finished as far as I know. SmileTheory said he had it working kind of, but frame rate was horrible.
Tempust85 Posted February 3, 2015 Posted February 3, 2015 Any updates on this? Not to nag or anything, just curious as GitHub hasn't been updated in 3 months.
Xycaleth Posted February 3, 2015 Posted February 3, 2015 Still in the works, just not so active. I've been toying with ideas in a separate code base so far Archangel35757 and Tempust85 like this
Xycaleth Posted February 3, 2015 Posted February 3, 2015 They're ideas for architectural changes to hopefully improve performance. I know a lot of the theory about maximizing rendering performance, but putting that into practice is the next step I'm trying to push for the first release of OpenJK at the moment, but after that I'll get back to working on rend2 again. Boothand, Stoiss, Tempust85 and 2 others like this
Xycaleth Posted February 8, 2015 Posted February 8, 2015 Small warning: some substantial changes were made to the code on Windows, so rend2 won't be able to work on newer builds. They're just behind the scenes changes, so there isn't anything majorly exciting in it. If you want to continue using rend2, sit tight and keep using your current build of OpenJK I'll be committing a fix at some point in the next few weeks, or anyone is free to submit a pull request to fix it. I'm going to be on holiday/vacation until the beginning of March starting from the end of this week. Tempust85 likes this
ensiform Posted February 12, 2015 Posted February 12, 2015 I've made it work locally with the new master changes. Probably still needs some cleaning up in the qgl files and the extensions code. Futuza and Tempust85 like this
ensiform Posted February 13, 2015 Posted February 13, 2015 As you can see I did push the changes, the qgl file in rend2 may still have more stuff than it needs.
Xycaleth Posted May 23, 2015 Posted May 23, 2015 How not to draw JKA: Tempust85, Boothand and z3filus like this
Xycaleth Posted May 23, 2015 Posted May 23, 2015 Decided to work a tiny bit on rend2 today, and got some performance improvements Using Atlantica as my 'benchmark' as it seems to hit rend2 pretty hard on the outside areas, I've managed to get a ~25% FPS improvement (from 40fps to 55fps). I'm hoping to see some more gains tomorrow and Monday minilogoguy18, Archangel35757, Boothand and 3 others like this
Tempust85 Posted May 23, 2015 Posted May 23, 2015 Are you comparing fps to vanilla or are you trying to get better fps than vanilla? The maps could also need proper VIS.
Xycaleth Posted May 23, 2015 Posted May 23, 2015 Both numbers were from rend2 - one before my change, one after. Szico made the Atlantica map so I trust he vis'd the map properly Using vanilla, the FPS is about 60 FPS. The way I'm tackling the problem now is to disable all the extra fancy features of rend2 and try and bring Atlantica up to 120FPS. Then I'll re-enable one thing at a time and do some more optimizations to keep it above that number. If 120FPS is too much, then I might drop it down to 90FPS as my target. I'm testing this on a fairly old card (4 or 5 year old AMD Radeon GPU) so anyone with a newer card should in most cases get better performance. Tempust85, Didz and minilogoguy18 like this
Tempust85 Posted May 24, 2015 Posted May 24, 2015 How are you getting rend2 to run? It has a pink screen when the videos are playing and It crashes if I try to skip them.
P4KISTAN Posted May 24, 2015 Posted May 24, 2015 Also where can I find the latest rend2 dll file? Thanks in advance.
Xycaleth Posted May 24, 2015 Posted May 24, 2015 How are you getting rend2 to run? It has a pink screen when the videos are playing and It crashes if I try to skip them.It just runs for me :s I am getting the occasional crash since I've made my changes so there's a bug somewhere which might be always happening for you but not for me... Are you running the latest rend2 and OpenJK? Also where can I find the latest rend2 dll file? Thanks in advance.https://dl.dropboxusercontent.com/u/874909/rd-rend2_x86.zip
Tempust85 Posted May 24, 2015 Posted May 24, 2015 I grabbed the latest commit from git and compiled it. Same thing for both Release & Debug. EDIT: @@Xycaleth get the same thing with the latest windows build of OpenJK (which is a month out of date btw) & the rend2 file you posted a link to. I'm running an NVIDIA GTX 650.
Xycaleth Posted May 24, 2015 Posted May 24, 2015 Does it crash in the same way for Debug and Release? Are you able to see where the debug build crashes in Visual Studio?
Tempust85 Posted May 25, 2015 Posted May 25, 2015 Crashes are identical for Debug & Release. Debugging doesn't show anything:
Xycaleth Posted May 25, 2015 Posted May 25, 2015 What happens when you press 'break'? Does OpenJK run when using the vanilla renderer?
Xycaleth Posted May 25, 2015 Posted May 25, 2015 I've just committed a fix for the pink screen on startup. Not sure if it will fix the crash. It doesn't sound like you have the debugging set up properly if it can't find the source... Tempust85 likes this
Tempust85 Posted May 26, 2015 Posted May 26, 2015 Pink is gone now, but the crash still remains when skipping the vids. I have my debug setup how the wiki says. I've tried attaching to process, debugging in VS & just hitting the debug program button when it crashes and still it says source not available. No idea what the hell is going on.
Xycaleth Posted May 27, 2015 Posted May 27, 2015 Found another mistake and things seem a lot more stable now after correcting this! I was missing an = P4KISTAN, Archangel35757, Tempust85 and 1 other like this
Recommended Posts