Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
nGL - a fast (enough) 3D engine for the nspire
« previous
next »
Print
Pages:
1
...
8
9
[
10
]
11
12
...
33
Go Down
Author
Topic: nGL - a fast (enough) 3D engine for the nspire (Read 265857 times)
0 Members and 3 Guests are viewing this topic.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #135 on:
March 16, 2014, 12:03:28 pm »
Yay for grass blocks!
Logged
Vogtinator
LV9
Veteran (Next: 1337)
Posts: 1193
Rating: +108/-5
Instruction counter
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #136 on:
March 16, 2014, 02:40:26 pm »
Bugfix release 0.7.1:
If you jump, you don't get stuck in the ceiling anymore if you hold 5
Top of block at the top of the world not drawn
Almost no stone generated
Smoother terrain
Logged
Hayleia
Programming Absol
Coder Of Tomorrow
LV12
Extreme Poster (Next: 5000)
Posts: 3367
Rating: +393/-7
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #137 on:
March 16, 2014, 04:01:55 pm »
How many bits does one block occupy in memory ? Because if you use 32 bits for each block, that is kind of a waste and that's a spot where you could save space, not only in the savegame, but also in the cache (which means a faster game overall
)
Logged
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.
click here to know where you got your last +1s
bb010g
LV6
Super Member (Next: 500)
Posts: 428
Rating: +22/-1
I do stuff
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #138 on:
March 16, 2014, 04:04:01 pm »
Consider that 32 bits leaves room for data storage for things like chests, redstone, spawners, etc.
Logged
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE
Hayleia
Programming Absol
Coder Of Tomorrow
LV12
Extreme Poster (Next: 5000)
Posts: 3367
Rating: +393/-7
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #139 on:
March 16, 2014, 04:08:52 pm »
Well I don't think 32 bits are necessary for one block. Even 16 is a lot. Since there are less than 256 blocks, 8 bits is enough to know the type of a block, and the 8 remaining bytes can be used for some information (like the number of the chest if you placed several chests), but I don't think you really need 32 bits.
Logged
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.
click here to know where you got your last +1s
Vogtinator
LV9
Veteran (Next: 1337)
Posts: 1193
Rating: +108/-5
Instruction counter
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #140 on:
March 16, 2014, 04:22:40 pm »
Currently I have a typedef uint8_t BLOCK in the code and the chunk data is a BLOCK[8][8][8] which is directly fread or fwritten into a file.
If I'll add a feature which requires some data storage for a block, I'll either make a BLOCK 16 bits wide or use a seperate array.
A seperate array will be faster and easier to handle than a interleaved array.
For blocks which require more storage, I'll store a unique ID in the extra 8 bits and reference it to the specific data.
But such things are far away now... Probably further away than the next nspire OS release blocking ndless...
Logged
Hayleia
Programming Absol
Coder Of Tomorrow
LV12
Extreme Poster (Next: 5000)
Posts: 3367
Rating: +393/-7
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #141 on:
March 16, 2014, 04:31:58 pm »
(can't find the button to remove my post -.-)
Logged
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.
click here to know where you got your last +1s
Vogtinator
LV9
Veteran (Next: 1337)
Posts: 1193
Rating: +108/-5
Instruction counter
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #142 on:
March 16, 2014, 04:35:12 pm »
Quote from: Hayleia on March 16, 2014, 04:31:58 pm
(can't find the button to remove my post -.-)
Which post? I can't find the button on my posts earlier. I could swear it was there earlier this day...
Logged
Hayleia
Programming Absol
Coder Of Tomorrow
LV12
Extreme Poster (Next: 5000)
Posts: 3367
Rating: +393/-7
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #143 on:
March 16, 2014, 04:36:56 pm »
Well to remove the post you quoted and which was a test. I was sure I could delete it too, with a red cross button, but now I can't find it.
Logged
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.
click here to know where you got your last +1s
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #144 on:
March 16, 2014, 09:09:07 pm »
Bug report in the latest version: I keep getting stuck in blocks it seems because everytime I jump somewhere I can,t move anymore afterward until I destroyed the blocks under me.
Logged
Piguy-3.14
LV3
Member (Next: 100)
Posts: 41
Rating: +1/-0
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #145 on:
March 16, 2014, 11:28:06 pm »
this looks sooo cool but I can't get it bc it requires ndless and I can't figure out how to get it to work on my nspire. Can someone help I really want to try this game it looks pretty nice:)
Logged
bb010g
LV6
Super Member (Next: 500)
Posts: 428
Rating: +22/-1
I do stuff
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #146 on:
March 16, 2014, 11:39:07 pm »
Check out the links on the front page for information on getting Ndless 3.6 going.
Logged
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE
nspireguy
LV4
Regular (Next: 200)
Posts: 158
Rating: +11/-6
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #147 on:
March 17, 2014, 07:16:34 am »
can you post the .tns file by its self so noobs like me can just download and send it to our calc?
thank you and good job!!!!!
Logged
kevinkore3
LV3
Member (Next: 100)
Posts: 57
Rating: +0/-0
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #148 on:
March 17, 2014, 09:25:23 am »
Just extract the file with 7zip and craft.tns should be in there.
@DJ_O I had that glitch too, but it got fixed by making the field of vision a bit longer by pressing +. I think what's happening is you're jumping into a place before the calc has loaded it.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: nGL - a fast (enough) 3D engine for the nspire
«
Reply #149 on:
March 17, 2014, 11:42:54 am »
Ah I see now. Yeah I kept it somewhat low so it doesn't take 3-4 seconds before the next chunk loads. The wait got a bit annoying compared to the older version.
Logged
Print
Pages:
1
...
8
9
[
10
]
11
12
...
33
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
nGL - a fast (enough) 3D engine for the nspire