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 ... 39 40 [41] 42 43 ... 83
601
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: February 17, 2014, 03:24:45 pm »
Ok, newer version:
3*3 16*16*16 chunks: 48*48 viewing distance with ~32 fps when walking around.
I also resolved some artifacts, but there are still some perspective projection issues (jagged edges)
I'll post the source code and screen capture after I fixed those.

Edit: I just HAD to upload my first animation (runs at 60 fps BTW):

602
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 17, 2014, 03:20:30 pm »
Quote
]was thinking it was arm9
It is an ARM926EJ-S core which is an implementation of the armv5 instruction set.

Quote
yes i can mount it if i boot from the ram disk.
What's the kernel panic?

603
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 17, 2014, 03:14:16 pm »
Quote
can someone help me getting Debian on my Nspire cx?
what kernel/file-system do i need?
google: debootstrap armv5

Quote
and i cant boot xconfig from my usb drive :s what format does the usb needs to be ext2/3/4?
i get a kernel panic..
Does your drive get recognized?

604
ASM / Re: [ARM/Nspire] Drawing sprites
« on: February 17, 2014, 11:16:08 am »
Quote
What I don't get is how a 4 bit pixel can use 65536 different colors on CX models
On the CX, each pixel is 16 bit (RGB 565) :P

605
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: February 16, 2014, 05:47:14 pm »
Here is a recent build of crafti. Can anyone tell me whether it's fast enough (fps-wise, not movement-wise)?
I'm fully aware of the artifacts..

606
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: February 16, 2014, 12:18:54 pm »
I'm rendering chunks only if the geometry changed into a VERTEX buffer.
If the geometry didn't change, I do the following:
Code: [Select]
glBegin(GL_QUADS);
nglAddVertices(buffer, buffer_length);
glEnd();
To generate the VERTEX array, I simply iterate through all AIR blocks and render the corresponding sides of adjacent blocks.
z-sorting is IMO slower than a z-buffer in this case, as it would require sorting every face every frame.
I tried to implement it and it looks weird (read: full of bugs) and wasn't much faster (15 fps vs 11)

To get a maximum performance minecraft game, it would be best to use my GLFix in nCraft, as it's more specialised for blocks than nGL.
Currently I have no class World which handles the faces between chunks (they get rendered always) and below them which you can't see.
So don't worry, there is still much room for performance improvements. It could be faster if I cache the transformed vertices instead of the whole untransformed chunk.
That'd mean much less matrix-vertex multiplications but iterating over each block.

Quote
Aw too bad it runs much slower with 16x16x16. Does it mean a Minecraft clone using this would actually be slower than nCraft?
I don't know the visible range of nCraft, but if it's < 32, crafti is as fast with textures as nCraft is without.

Edit: Found a trivial optimization I thought the compiler was smart enough to do itself but it didn't.
Results with 2*2 16*16*16 chunks and no world optimizations yet:
TEXTURE_SUPPORT: ~16fps
No TEXTURE_SUPPORT: ~30fps

607
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 16, 2014, 08:42:03 am »
You just triple-posted...
But no, your calculator didn't notice anything usb-related at all.
Did you do the usual USB workaround stuff? Plug the usb drive in before booting linux and ignore the error message the nspire os gives you.
And try "lsusb" when linux is booted.

608
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: February 16, 2014, 08:25:07 am »
I'm using fixed-point (1/256 accuracy) so it could be.
But I assume the things you saw were caused by a mixture of my .gif recorder and normal aliasing.

Edit:
Quote
Wow, a Minecraft clone using this engine would rule!  How does it handle a 512x512x64 map?
Not at all, I tried it. 16*16 chunks of 16*16*16 blocks = 1 FPS...

4*4 chunks is the maximum usable size (~8fps), too many triangles

609
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 15, 2014, 06:48:57 pm »
To your first part of your double post:
Quote
xconfig.tar.bz2: Cannot open: No such file or directory
To extract a file, you need to have to file to extract first.

to the second part:
Quote
if i connect the usb to my calculator and type df the usb isnt listed there
"lssci" maybe. Or "lsusb". For "df" the usb drive has to be mounted first.

610
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 15, 2014, 03:04:47 pm »
Quote
cause at ubuntu you dont have the permissions to copy at the usb cause you dont have an root account
"sudo"?

Quote
in kali linuxyou dont have an untar programm and the command you gave me causes an error
It shouldn't. What's the error message?

611
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: February 15, 2014, 02:53:27 pm »
It's weekend so I had a little bit time for some improvements:
crafti 0.2 with nGL 0.4.
New features: Basic light system in crafti and z-clipping in nGL


In the screenshot it renders 80 fps at the beginning and ~100 at the end when only the 9 dirt blocks are visible.
Lighting is only supported if textures are disabled, as it would require 3 multiplications per pixel.

I guess I'll have to implement something like minecraft now ;D

612
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 14, 2014, 06:40:43 pm »
Yup, as long as it has a mini usb-b connector so you can use the included usb-a -> usb-b cable.

613
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 14, 2014, 04:28:21 pm »
If it works, it's correct ;)

614
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 13, 2014, 04:46:47 pm »
You'll need a linux system for this. The partition should be ext4 or ext3 formatted and the .tar.bz should be extracted like this:
Code: [Select]
tar -xvzf xconfig.tar.bz2 -C /media/Replace /media/ with wherever your drive is mounted.

615
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 13, 2014, 04:37:23 pm »
Thank you for your fast answer
mayby you can make a Video or explain in a more detaild what i habe to so
You said you have a working kernel, right?
You'll just have to get USB drives working and boot from it: Append "root=/dev/sda" to the  the "kernel" line in your .ll2 file.
Quote
im 16 and i dont know so mich aboit that
nur im very interested in that theme and at my school im,in The informatic class
thanks  ;D

Pages: 1 ... 39 40 [41] 42 43 ... 83