world generator
#18
Not sure about that, it'd be a bit faster than calculating the values in Lua, but I fear the glue code would actually take a lot of the performance out. Perhaps a different kind of API would make sense - a 2D or 3D array of numbers and operations on it - just like what we were discussing with @worktycho when he was trying out the GPU optimization. The Lua code could create such an array, do a few operations on it, that would be pretty fast, and finally apply the numbers somewhere - either a biome map, or a height map, or whatever.
Reply
Thanks given by:


Messages In This Thread
world generator - by Seadragon91 - 05-04-2014, 10:05 PM
RE: world generator - by xoft - 05-04-2014, 10:31 PM
RE: world generator - by Seadragon91 - 05-04-2014, 11:39 PM
RE: world generator - by xoft - 05-05-2014, 12:34 AM
RE: world generator - by Seadragon91 - 05-05-2014, 05:06 AM
RE: world generator - by bearbin - 05-05-2014, 05:20 AM
RE: world generator - by NiLSPACE - 05-05-2014, 05:33 AM
RE: world generator - by xoft - 05-05-2014, 03:10 PM
RE: world generator - by Seadragon91 - 05-05-2014, 03:29 PM
RE: world generator - by tigerw - 05-05-2014, 08:06 PM
RE: world generator - by Seadragon91 - 05-05-2014, 09:00 PM
RE: world generator - by worktycho - 05-06-2014, 01:00 AM
RE: world generator - by worktycho - 05-06-2014, 01:12 AM
RE: world generator - by Seadragon91 - 05-06-2014, 03:16 AM
RE: world generator - by xoft - 05-06-2014, 04:52 AM
RE: world generator - by Seadragon91 - 05-06-2014, 05:00 AM
RE: world generator - by NiLSPACE - 09-20-2014, 08:02 PM
RE: world generator - by xoft - 09-21-2014, 01:03 AM
RE: world generator - by worktycho - 09-22-2014, 02:27 AM



Users browsing this thread: 7 Guest(s)