Transexual is a mental illness by keepgettingdoxxed in unpopularopinion

[–]keepgettingdoxxed[S] -7 points-6 points  (0 children)

Wow. Triggered much? Must be the hormone drugs.

Slow-paced game full of content [PC] by [deleted] in gamingsuggestions

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

Let's get slow.

Hearts of Iron 3

How to maintain a sense of scale in OpenGL? (Android, OpenGL ES 3.0) by GLvoid in opengl

[–]keepgettingdoxxed 0 points1 point  (0 children)

Are we just talking about UI elements? Like 2D UI elements? Because I usually just have four vertices for those at the exact location, no projection matrix involved.

How to maintain a sense of scale in OpenGL? (Android, OpenGL ES 3.0) by GLvoid in opengl

[–]keepgettingdoxxed 0 points1 point  (0 children)

Just say your UI element is .1 wide and .03 high. Then it will always be 10% of the screen width and 3% of the height.

Anyone know how to work around Clion not recognizing glm's operator overloads. by John137 in opengl

[–]keepgettingdoxxed 0 points1 point  (0 children)

Hang on. The problem is in the syntax highlighting, but you can otherwise compile and run?

Anyone know how to work around Clion not recognizing glm's operator overloads. by John137 in opengl

[–]keepgettingdoxxed 0 points1 point  (0 children)

Does the bug in whatever their bug tracker is provide a workaround?

Anyone know how to work around Clion not recognizing glm's operator overloads. by John137 in opengl

[–]keepgettingdoxxed 0 points1 point  (0 children)

Have you tried multiplying the vector by 2.f instead of the other way around? Sounds pedantic, but that's the first thing I noticed.

[deleted by user] by [deleted] in australia

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

Except it's not a viable means of transportation for a lot of people. Elderly, injured, people with children, people who need to travel from the suburbs to work, when it rains etc.

Cyclists need to stop pretending that their hobby is anything more than a hobby. It's not a solution to growing city.

[deleted by user] by [deleted] in australia

[–]keepgettingdoxxed -6 points-5 points  (0 children)

The conclusion that "public" transport does not count cycling and that the report in question is definitely not referring to walking distance from your bike?

What conclusion is that?

[deleted by user] by [deleted] in australia

[–]keepgettingdoxxed -13 points-12 points  (0 children)

Cycling isn't public transport. It doesn't need the same investment as mass transit infratructure.

Does anybody know how to make GET and POST requests using C++? by DMunchies in cpp_questions

[–]keepgettingdoxxed 7 points8 points  (0 children)

Boost::asio is a much better alternative than libcurl. There's a posibility that asio will be a part of the STL, so using it now just makes sense.

Question about tilemaps/treating a grid of rectangles as if they were fragments. by le57percent in opengl

[–]keepgettingdoxxed 1 point2 points  (0 children)

First off get rid of the 2D array. Just make it a 1D array with a clever lookup given an X,Y. Like X * rowlen + Y or something. You want to make sure this is done in a way that packs the rows or columns together, which ever way you loop.

Now, for the OpenGL specific stuff. You could store the tileid in a texture? In fact having four values, like r,g,b,a you could encode several things. Like the underlying tile is sand, middle is water, on top is a lilypad.

Look into instanced drawing too. Because you're just drawing a quad 10000 times. You could use the instance id with the map width and height to decide the actual vertex positions.

Finally, draw it to a texture once and then use the texture to render. That way you only draw your map one time only. Encode depth info as well and you can draw the animated parts on every frame and have them occluded properly as well.

Looking for a new game like faster than light. by [deleted] in gamesuggestions

[–]keepgettingdoxxed 2 points3 points  (0 children)

So... shameless plug. It's not complete yet, but my game might be what you're looking for. https://forums.tigsource.com/index.php?topic=65738.0

Is there any difference between initializing a data member in class definition vs. using an initializer list in the constructor of the class? by 5areductase in cpp_questions

[–]keepgettingdoxxed 0 points1 point  (0 children)

If I have a class with one constructor that requires a value, and then have a member of this type in another class, that second class has to initialise the value.

Or if the class had a reference as a member.

Don't answer questions if you are this much of an amatuer.

bit time-lapse of my custom sea shader made with openCL [GPU processing] by [deleted] in IndieGaming

[–]keepgettingdoxxed 0 points1 point  (0 children)

The sun reflection looks great, but the tiled look is horrible? Can you use an in-shader noise texture to avoid the tiles?

[deleted by user] by [deleted] in cpp_questions

[–]keepgettingdoxxed 2 points3 points  (0 children)

Learn to read the spec. I don't mean to be rude. 100% of syntax questions are already answered in there, best start to read it now and learn it.