Hey everyone, I'm trying to make a Voxel Minecraft game in LWJGL in eclipse and so far I've got perlin noise terrain generation, texture alias support, frustum culling to speed up performance and terrain generation that generates an infinite world and recently I've also added lighting
but now I got to a point where It's time to do some block placement and destroy Cuz so far I've only worked on the render engine and I strugled my but off to get it to render fast I need some help to convert a mouse position to 3d space
I have my source code attached s you guys can check it out. but note that I'm using the new OpenGL3 stuff and none of the old stuff and I also didnt include the LWJGL jar or natives and it also needs slick utils and PNGDecoder.jar (latest version) to work so just add it to the build path.
Ive also just added the exported exe (Dont worry all the resources and natives are included in the single exe).
so yea you guys can check it out to see how you can help me with the mouse picking thing so that i can implement block placement and destroy.
For controls, hold RMB to rotate camera and AWSD to move the player
Source + exe can be found on my dropbox here:
https://www.dropbox.com/s/2ufryv6ugfvzbxs/Voxel%20Engine%28souce%20%2B%20runnable%20exe%29.zip?dl=0