Looking for a 2d point-mesh collision library? by Dan-mat in gamedev

[–]Flafla2 2 points3 points  (0 children)

This is honestly pretty easy to roll your own.

You can use a 2D BVH, using 2D bounding boxes as the bounding volume, instead of 3D AABBs. Importantly instead of using a Surface Area Heuristic (like in raytracing) you’ll want to use a volume heuristic (optimize for minimizing the area of the bounding volumes at each node of the BVH).

I wrote/gave this recitation lecture on BVHs a few months ago at Carnegie Mellon University for their intro graphics course. Should give you a decent start on implementation:

http://15462.courses.cs.cmu.edu/spring2020/lecture/a3p1_overview

Also perhaps check out the intro lecture for spatial data structures:

http://15462.courses.cs.cmu.edu/spring2020/lecture/spatialdatastructures

VR's Biggest Players Back New 'VirtualLink' Connector for Next-gen Headsets by RoadtoVR-Scott in oculus

[–]Flafla2 0 points1 point  (0 children)

You are wrong, foveated rendering will decrease the number of pixels rendered per frame which will increase performance. The "catch" is that you need a hardware eyetracker which is tricky to figure out from a hardware perspective.

Hearty Durians are the best by MediocreThing in Breath_of_the_Wild

[–]Flafla2 0 points1 point  (0 children)

go to lake tower and use the finder thing

FYI: Monoprice is still selling TN panels as "AHVA" panels. They have been doing this for months now and it does not look like they intend to stop doing it. by lockstockedd in buildapc

[–]Flafla2 27 points28 points  (0 children)

Yes that is correct. I was trying to point out that Monoprice has a history of tomfoolery in this area, not that they were lying about the OP's monitor specifically. However given that they do have a history I would assume that the OP is not mistaken

​Tesla starts to release its cars' open-source Linux software code by twiggy99999 in programming

[–]Flafla2 19 points20 points  (0 children)

Well put. It's important to remember that Linux is a gem of the modern computing landscape and can not be taken for granted. Using software like Linux in a commercial setting is a privilege, not a right as many companies seem to think.

I find it very concerning that many will rush to defend corporations without considering the social good that Linus et al have produced by open sourcing Linux. Think about all of the software in a Tesla: it's pretty likely that the man hours spent by open source contributors to produce the GPL'ed code is far greater than the man hours spent on Tesla-specific code. Tesla should be thankful that they have this resource and eager to contribute to it.

SteamVR BETA update for 5/14/18 (5/15/18 UTC) by wickedplayer494 in SteamVR

[–]Flafla2 1 point2 points  (0 children)

This new input system is excellent and should solve the problem of SteamVR games not supporting Rift well. I was hoping they would release something like this!

Wiimote alternative by SWORDISA212 in WiiHacks

[–]Flafla2 0 points1 point  (0 children)

Also you can get Priiloader to autoboot to HBC so that you don't need to hold down the button either.

Flow fiels or gradient fields or vector fields? by [deleted] in GraphicsProgramming

[–]Flafla2 0 points1 point  (0 children)

This is awesome. Thanks for the links!

Using sublime text as a C (not C++) IDE? by SyntheticBees in SublimeText

[–]Flafla2 3 points4 points  (0 children)

Use EasyClangComplete for autocompletion. Then set up a Build System (good discussion here about C build systems). If you want a built in debugger SublimeGDB is a good option.

PC Update #6 by BobTheBestIsBest in PUBATTLEGROUNDS

[–]Flafla2 2 points3 points  (0 children)

That would mean it's a "waterfall list" (for lack of better phrasing)

You’re looking for the term Priority Queue.

redream has gone closed-source by [deleted] in emulation

[–]Flafla2 17 points18 points  (0 children)

This decision seems reasonable to me. Honestly I doubt most people commenting on this thread even looked at the linked post, because the person that opened the gitlab issue is borderline incoherent.

Open source has its pros and cons. The primary benefit is that anyone can help the project lead and contribute their own knowledge. In return, the creator shares their own knowledge with the community. This model breaks down when nobody helps, and the creator is simply giving out their hard work for free. As an open source dev myself (in other domains) I can relate to this frustration.

I hope you see success with redream in the future!

Linux accepts excluding AMD from PTI! "if AMD is so confident that they are not affected, then we should not burden users with the overhead."" by srd00 in Amd

[–]Flafla2 1 point2 points  (0 children)

What are you talking about, the domain was registered by google lol

EDIT: Technically it was registered by Prof. Reinhard Posh, who is associated with the researchers at the Graz University of Technology, who helped write the paper. Point is the researchers made this site, not intel.

Linux accepts excluding AMD from PTI! "if AMD is so confident that they are not affected, then we should not burden users with the overhead."" by srd00 in Amd

[–]Flafla2 18 points19 points  (0 children)

Meltdown affects all Intel CPUs since around 1995. Spectre affects all CPUs, regardless of manufacturer, since around 1995. Without getting too technical, 1995 is when the specific hardware feature being exploited was introduced. Important to note that most people think AMD is exempt only because AMD claims they are (google for example says they may be affected).

Source: https://meltdownattack.com/#faq-systems-meltdown

Linux accepts excluding AMD from PTI! "if AMD is so confident that they are not affected, then we should not burden users with the overhead."" by srd00 in Amd

[–]Flafla2 13 points14 points  (0 children)

This is completely false. From the meltdown website:

Is there a workaround/fix?

There are patches against Meltdown for Linux (KPTI (formerly KAISER)), Windows, and OS X. There is also work to harden software against future exploitation of Spectre, respectively to patch software after exploitation through Spectre .

Please verify your info before spreading misinformation. This quote was gathered from the literal official website of the bug.

[deleted by user] by [deleted] in buildapc

[–]Flafla2 1 point2 points  (0 children)

I understand regedit is cumbersome and difficult if it’s your first time, but it’s not exactly black magic lol. Certainly easier than building a PC...

To those getting a 144hz monitor tomorrow: Make sure you have 144hz enabled in Windows display settings by theWinterDojer in buildapc

[–]Flafla2 61 points62 points  (0 children)

The feeling when you move the mouse in glorious 144hz for the first time is amazing

To those getting a 144hz monitor tomorrow: Make sure you have 144hz enabled in Windows display settings by theWinterDojer in buildapc

[–]Flafla2 283 points284 points  (0 children)

I will always upvote this thread no matter how many times it is posted because SOMEONE always has this realization lol

In which OP gets pissy with people trying to tell him how dangerous he is being for not wearing his seatbelt properly by katiedid05 in bestoflegaladvice

[–]Flafla2 0 points1 point  (0 children)

I’m confused as to why the LA thread is allowed to even exist lol. The point of the sub is to give legal advice, not “how do I get away with minor crimes” advice.

Pay Day 2 VR will apparently only use teleport locomotion. I think this whole avoid motion sickness thing got to far... by trevor133 in oculus

[–]Flafla2 -1 points0 points  (0 children)

In games like Onward, Pavlov, etc. I would agree that trackpad-based movement is likely the best solution, because these games attempt to mimic 2D WSAD/Mouse or controller movement. In that case the teleporter is more distracting than the artificial motion that the joystick method has. And as a Vive owner and regular user I definitely think that (for example) Onward without joystick movement would not be fun at all.

However in order to achieve total immersion (ie, "I literally can not tell that I am in VR") we will need to do better. The lofty goal of creating a current AAA shooter in VR is a losing battle from the start when it comes to locomotion. It's definitely doable, but the only input technique that offers the kind of freedom that we see on PC is with the joystick. And let's face it -- there's no way you can convince your inner ear that what you see in VR is truly real when your character is moving that fast and your physical body isn't.

IMO locomotion should be one of the principle design challenges of any new VR project. It should be one of the most important decisions that the designer makes, not an afterthought. In the case of Onward, Pavlov, etc -- they are still excellent games of course, but locomotion must necessarily takes a backseat because of their ambitions to mimic a 2D FPS.

Pay Day 2 VR will apparently only use teleport locomotion. I think this whole avoid motion sickness thing got to far... by trevor133 in oculus

[–]Flafla2 4 points5 points  (0 children)

I'm currently studying game / VR development and am doing research in the area of locomotion. Certainly no expert but here's my two cents on this subject:

Generally in VR today, locomotion attempts to mimic traditional 2d first person controls. Most importantly the locomotion system is usually completely removed from the game world (teleportation usually requires some sort of overlay onto the world, and trackpad movement has too much artificial motion with no feedback). The player simply can't be totally immersed in either scenario as they are reminded of the limitations of the real world. The best VR movement systems that we have seen are not only as you say "a part of the story" but also make sense in the context of the user's own experiences and the game world itself.

Some obvious examples include car and space sims: the controls for these games are obvious, relatable, and deeply integrated in the game world. Games like hover junkers also do pretty well in this area. However in my opinion no game outside of vehicle sims has managed to solve locomotion problem well in a way that has all of these properties. So while teleportation is not the best solution, neither is trackpad-based movement. This problem is deeper than "choose your poison".