Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Vogtinator

Pages: 1 ... 35 36 [37] 38 39 ... 83
541
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: March 17, 2014, 11:51:35 am »
Jup, that's an issue with chunk loading. If the view distance is at 1 (the current minimum) some adjacent chunks aren't loaded because I iterate through each chunk and do a if(dist <= sqrt(x*x + y*y + z*z)) to determine whether to render it. Did noone yet find the bug that a chunk isn't rendered if you stand on it and look in the wrong direction? :P

Quote
@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.
If you have any issues please let me know! Otherwise I may think it's not as important or it doesn't happen often.

542
News / Re: Ndless 3.6 becomes reality!
« on: March 16, 2014, 05:29:36 pm »
Ndless 3.6 isn't reboot-proof. You have to install it everytime after you rebooted.

543
News / Re: Ndless 3.6 becomes reality!
« on: March 16, 2014, 05:22:22 pm »
Quote
Will Nover work on this? I tried putting it on Ndless 3.6 but it said it only reads tns files... but the nover file was a tns file...
What? I don't understand what you wrote...
The latest Nover version should work fine, as it doesn't have any os-specific code in it IIRC.

544
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: March 16, 2014, 04:35:12 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...

545
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« 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...

546
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« 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

547
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: March 16, 2014, 11:57:48 am »
Quote
I like the new grass blocks! Great work!
I know I'm good at stealing minecraft's terrain.png.. But I'll have to change that sooner or later..

Quote
You should maybe use a height of only 20 blocks because the world generation is really really slow.
I know, but the height doesn't matter that much. It's more the smaller chunk size.
Quote
Suggestion: not need to jump to climb on a simple block. It would enable to climb stairs without jumping.
I find jumping better than just "glitching" on top of a block.

Quote
The world generated may be too embossed.
The generator has a maximum height of 0.7 times the world height.

Quote
can you use blocks like a crafting table or furnace yet??
No, what should they do? There is no inventory or items at all and all available blocks are accessible through "."

548
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: March 16, 2014, 11:06:28 am »
No, and as I don't have one, I wouldn't be able to test it. (other than nspire_emu)
It should be fairly trivial to make it compatible, if you rewrite nglDisplay to convert the screen buffer and switch the display controller from 4-bit into 8-bit mode.

549
TI Z80 / Re: GLIB a graphics axe 3d librairy
« on: March 16, 2014, 09:51:32 am »
What if you display 8 spinning cubes (filled)?

550
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: March 16, 2014, 09:45:30 am »
I found a bug in the ndless program startup code (no static and global vars initialized) so I had to debug it first before working on crafti.
The fix didn't make it into the newest ndless-sdk at time, so if you try to compile it yourself, it will crash. I included a version with textures disabled, if you want to use it. But it looks really ugly. And yes, it should work with ndless 3.6 out-of-the-box. I didn't test the current version, though.

New features in v0.7:
  • Faster! Perspective calculations now cached
  • Grass blocks
  • Sliding along walls: Before you just stopped moving completely
  • Not getting stuck in blocks anymore
  • Real world generation using perlin noise!
  • World has a maximum height of 40 blocks (and deeper ground)
  • Chunks are smaller (8x8x8)
  • Change the viewable distance using + and -
  • The block you currently selected is saved
  • Changed the sky color

The world generation is a lot slower than before, so while walking it will take some time. But once it's generated, you're able to walk without interruptions.
I also had to change the savefile format version, so older save files will not work with this version.



TODO:
  • Fix rare glitches
  • Frustrum culling
  • Make the version with textures disabled less ugly
  • Decrease clip plane further: You can see through blocks if you're really close
  • Show a text "Loading" when processing stuff
  • Inventory to quick select blocks
  • Mobs? I don't know which type and what they would have to do instead of annoying you
  • Transparent blocks: Could be slow
  • Any suggestions?

551
Other Calculators / Re: Getting a cx
« on: March 12, 2014, 12:45:58 pm »
If it has 3.1 on it it will work out-of-the-box. 3.2 runs on HW J and K as well, so that's not a reliable indicator.

552
Other Calculators / Re: Getting a cx
« on: March 11, 2014, 05:47:56 pm »
Buying a cx cas wouldn't make a lot of sense as you couldn't use it at school.
I'd say go for dual boot with nlaunch, but put OS 3.6 non-cas on it so your teacher can see that you're not cheating.

553
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: March 10, 2014, 06:07:13 pm »
That's about the same for me, but I think 10fps are enough, so I'm not doing any searches for optimizations anymore.
Any suggestions for new features?

554
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: March 10, 2014, 05:02:31 am »
Quote
Is there no .tns in the .tar.gz file? I can't seem to find it.
It is in there, somewhere.

Quote
Yeah I just tried it and it's amazing. For some reasons, though, the speed on my calc is pretty much worse than in nCraft, although it's still much better considering there are textures and much deeper field of view. I am wondering if it could be because I am running an older hardware (revision B or C I think) or due to outdated Ndless version? I generally get between 2 and 8 FPS depending of how many blocks there are on the screen. My calc's AHB is setup to 66 MHz btw.
That shouldn't be the case, it runs much faster than nCraft (though slower than nspire_emu, which says 16-18) on my calc (~10fps, never below 5)
The hardware revision shouldn't make any difference.

BTW: Could it be that you have to login now to download files?

555
TI-Nspire / Re: Overclocking
« on: March 09, 2014, 05:59:35 pm »
Quote
(it takes like 15-20 seconds to load 69MB, so about 4MB/s and an average hdd is like 10MB/s or something?)
It takes 10 seconds for me to load 5 MB, so about 500kB/s...
An average HDD is about 90MB/s, but there are much faster ones.

Quote
By the way, what does the base frequency do?
The base frequency isn't used by anything directly, there are some dividers to get the cpu clock from it and then some dividers to get the AHB clock from the CPU clock.

Pages: 1 ... 35 36 [37] 38 39 ... 83