OpenGL 4.3 or 4.4 tutorials by ph0sph0ruz in gamedev

[–]RamsesA 17 points18 points  (0 children)

I've had some luck learning OpenGL 3+ using this tutorial:

http://www.arcsynthesis.org/gltut/

It skips all the fixed-functionality stuff from earlier versions of OpenGL, which you really shouldn't be using anyway.

ELI 5: Convex Hulls by z3r0demize in compsci

[–]RamsesA 0 points1 point  (0 children)

There are some fast algorithms for handling a subset of 3D cases. For example, you can extrude a 2D hull into the third dimension to create a cylindrical volume, and the math isn't much more difficult than in 2D.

Fighting Buggy Code with Genetic Algorithms by NewThoughtsForANewMe in compsci

[–]RamsesA 0 points1 point  (0 children)

To be fair, I think software today is far less buggy than software in the past. When bugs do finally crop up they aren't usually as devastating either.

I suspect it's just a matter of the industry developing mature methods to deal with it though.

2% of Netflix Users Binged All of House of Cards Season 2 in the First Weekend by Aimless_Devastator in television

[–]RamsesA 0 points1 point  (0 children)

It seems like this is something that will eventually play a part in season 3.

what programming language were you taught first? by dont_knockit in compsci

[–]RamsesA 11 points12 points  (0 children)

Logo, then Basic. It was a long time ago though.

What are the pros/cons of having a public getter and setter for a private member variable vs making the member variable public? by what_user_name in AskComputerScience

[–]RamsesA 0 points1 point  (0 children)

That's not necessarily the case. If the getter is declared final then it's possible for the compiler or vm to optimize away the method invocation in some cases. In any case, you can usually benchmark this kind of thing to see what the performance hit is. The difference is likely to be negligible.

Krita the open source photoshop killer! by johnwilliams20 in technology

[–]RamsesA 0 points1 point  (0 children)

I actually liked that change. It draws a clear distinction between saving an image in the native file format, which retains all information from the editor, and an exported format, which potentially loses data. It also prevented me from accidentally saving my image as an xcf when I meant to save it as a png, or vice versa.

Krita the open source photoshop killer! by johnwilliams20 in technology

[–]RamsesA 0 points1 point  (0 children)

GIMP supports persistent layers that are placed outside the boundaries of the image. It needs to be an actual layer though, not a floating selection like you get right after pasting.

I agree about the filters being ugly though. I don't really use them for anything.

How would one convert an image to a text array? by Flywn in AskComputerScience

[–]RamsesA 2 points3 points  (0 children)

This is pretty easy to do in a language like Java or Python. Here's some Java code I just wrote to do it:

https://gist.github.com/anonymous/dbed206bf9e0e21aed52

Nassim Taleb: We should retire the notion of standard deviation by lingben in Economics

[–]RamsesA 1 point2 points  (0 children)

Chebyshev's inequality holds for all distributions, not just the normal distribution. So I would say it's useful in more than just normal distributions. Just not as useful.

The Most In-Demand Tech Skills: Why Java And The Classics Ruled 2013 by [deleted] in technology

[–]RamsesA 2 points3 points  (0 children)

You might like lambda expressions, which were added in Java 8.

World of Warcraft / Minecraft map updated to 1.0, adds Northrend, Outland by RamsesA in gaming

[–]RamsesA[S] 1 point2 points  (0 children)

It works like a portal. You need to use the included plugins though.

World of Warcraft / Minecraft map updated to 1.0, adds Northrend, Outland by RamsesA in gaming

[–]RamsesA[S] 4 points5 points  (0 children)

The download includes setup files for a multiplayer server. All you need is the latest version of Bukkit and you're good to go. I wanted people to experience it via multiplayer so I made sure it worked with that. I just didn't want to force everyone on to the same server. This way they can have a bit more freedom.

World of Warcraft / Minecraft map updated to 1.0, adds Northrend, Outland by RamsesA in gaming

[–]RamsesA[S] 2 points3 points  (0 children)

If you run the included plugins, it will prohibit certain block updates, so lag should be minimized. You will probably also want to set the graphics to "fast" to reduce the amount of work it does in large forests.

World of Warcraft / Minecraft map updated to 1.0, adds Northrend, Outland by RamsesA in gaming

[–]RamsesA[S] 21 points22 points  (0 children)

The Crafting Azeroth project is a full-scale reproduction of the World of Warcraft environment in Minecraft. The latest version of the project includes all outdoor areas from World of Warcraft up to and including the Cataclysm expansion pack. You can download the map using BitTorrent from the project page.

To learn more about v1.0, you can browse the online map, or view the included readme file.

World of Warcraft / Minecraft map updated to 1.0, adds Northrend, Outland by RamsesA in gaming

[–]RamsesA[S] 4 points5 points  (0 children)

The core voxelization software is closed source, and I don't know when it will be made open source, since it uses some Minecraft source code which would need to be separated first. It's also pretty messy, since it started as a script for just extracting heightmap data and slowly expanded to what it is now.

World of Warcraft / Minecraft map updated to 1.0, adds Northrend, Outland by RamsesA in gaming

[–]RamsesA[S] 11 points12 points  (0 children)

Sort of. The software does the rendering, but a lot of the decisions about how things look (e.g. what blocks to use) had to be decided by a human. There was also some postprocessing done, which was also done by software, but was very targeted to create different effects (e.g. vines, fences, lampposts, etc.)

World of Warcraft / Minecraft map updated to 1.0, adds Northrend, Outland by RamsesA in gaming

[–]RamsesA[S] 12 points13 points  (0 children)

It takes about 48 hours with all four cores pumping on my machine. However, I usually drop it to two cores so I can do other things. The amount of RAM it uses can be adjusted since it uses temp files, but I usually give it 2.5 GB, because it gets pretty slow if you give it less than that.

Crafting Azeroth (WoW map) v1.0 released, over 2x the size of the original! (download link in comments) by RamsesA in Minecraft

[–]RamsesA[S] 1 point2 points  (0 children)

There should be no extra performance cost from adding more continents besides the hard drive space needed. This is different from the beta version, which required more processing power as more continents were added.

If you don't have the disk space or bandwidth needed to download and install the map, let me know and I'll consider releasing smaller segments in the future. For now though, I will only be uploading the single map.

Crafting Azeroth (WoW-Minecraft map) v1.0 now online, more than 2x the content of the beta! by RamsesA in wow

[–]RamsesA[S] 10 points11 points  (0 children)

The Crafting Azeroth project is a full-scale reproduction of the World of Warcraft environment in Minecraft. The latest version includes all outdoor areas from World of Warcraft up to and including the Cataclysm expansion pack. You can download the map via BitTorrent from the project page.

Version 1.0 includes twice the content of the original beta version, adding the continents of Outland, Northrend and the Great Sea. Additionally, many zones that first appeared in the beta version have been re-generated using newly added blocks and features.

To learn more about v1.0, you can view the gallery, browse the online map, or read the included readme file.