0 Members and 1 Guest are viewing this topic.
Actually, it's just the two users from Cemetech that came over here to comment.
This is a Lua program demonstrating smooth voxel terrain on the TI-Nspire. Yes, you read it right, smooth voxel terrain on the TI-Nspire. You can modify and sculpt the terrain, but only inside the zone marked by white lines. You can also move and rotate the camera.Here is a screenshot:Download: Lua3D Smooth Terrain Demonstration
Page 1.1 has encountered an error.Please contact the author with the following informations.Line 2409:attempt to call method'setBackgroundColor' (a nil value)
Interesting project!I've tested it on my handheld, but sadly rendering per frame takes a couple of seconds. You probably tested on the computer or iPad software? Edit: I see that you mentioned this in your readme.
Looking at the code, you should try to avoid making tables to store data during rendering, as allocating data from the heap is an expensive operation. Of course, it does become more complex that way to store (for example) vector points, but you really do get a good speedup. The price being that your code gets larger and more messy. If you can avoid certain function calls, you should do that too.
It doesn't run at all on OS 3.6
Quote from: DJ Omnimaga on April 01, 2016, 03:45:27 pmIt doesn't run at all on OS 3.6 Tell me what I need to fix to make it work correctly. Also I updated it so check that version to see if that works correctly.
Page created in 0.344 seconds with 56 queries.