571
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: February 27, 2014, 03:03:04 pm »
That's weird. Which version of ndless and crafti are you using?
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. 571
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire« on: February 27, 2014, 03:03:04 pm »
That's weird. Which version of ndless and crafti are you using?
572
Miscellaneous / Re: Koding« on: February 27, 2014, 02:45:01 pm »Quote Also build chroot yourself.chroot is already installed and works. But mknod is forbidden and mount --bind /dev doesn't work either... I tried overwriting ubuntu and it segfaulted (who would have expected that...) 573
Miscellaneous / Re: Koding« on: February 27, 2014, 02:34:19 pm »
They don't even support chroot to get rid of their ubuntu...
Combined with their terrible UI that's enough reason to delete my account. 575
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire« on: February 25, 2014, 12:29:03 pm »Quote Is this demo optimized for cubesKind-of. I generate a list of Positions (x,y,z) and a list of IndexedVertices (a reference to a position, a color and uv-coordinates). As it's likely that a position is used multiple times (flat area: each position 4 times), I don't have to transform it more than once. But as "transformation" also includes perspective, I can't do z-clipping before perspective projection, which is bad as divisions / 0 or a really small value can happen. And they do happen if I increase the cube size or the camera is in a bad spot. I'll have to fix this, although it may get slower. I don't know what dominates here, the few "perspective divide"s I don't have to do because of z-clipping or the "perspective divide"s I will have to do because of z-clipping (If you know what I mean) Quote will it run as fast when it's smooth terrain with the same amount of vertices?It depends on how much triangles are visible. The "benchmarks" I performed earlier in this thread were totally wrong as my line drawing is slooooowwww. Even slower than triangles. I don't now how I did that... 576
TI-Nspire / Re: Calling all Linux Kernel developers!« on: February 24, 2014, 09:21:16 am »
Seems that ehci (specifically "ehci-platform") is not supported as devicetree node.
It should be possible to apply this patch though and change Code: [Select] usb1: usb@B4000000 { to Code: [Select] usb1: usb@B4000000 {
577
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire« on: February 24, 2014, 08:57:00 am »Quote The problem with the texture atlases is that you can't wrap the coordinates, which will eliminate all the out-of-texture-bounds artifacts you are gettingNo, it won't. It would just look different! Quote Consider the following atlas:Could work, but wouldn't make a huge difference. 2*16*16 = 512 Byte, no problem for the cache to store multiple textures. Quote Another thing that might help is to set GCC to the highest optimization level if you haven't already.My flags: -O3 -Wall -W -marm -ffast-math -mcpu=arm926ej-s -fno-math-errno -fno-tree-vectorize -fomit-frame-pointer -fno-exceptions any suggestions? 578
TI-Nspire / Re: Calling all Linux Kernel developers!« on: February 23, 2014, 05:06:41 pm »Quote BTW: your xconfig-download gives me:Oops, should be fixed now, sorry. 579
TI-Nspire / Re: Calling all Linux Kernel developers!« on: February 23, 2014, 05:00:00 pm »
It SHOULD at least mention something like "ehci.0: registered" or whatever the usb controller is called in the DT.
580
TI-Nspire / Re: Calling all Linux Kernel developers!« on: February 23, 2014, 04:57:07 pm »
Connect any usb device and wait for the error message ("Can't communicate with ...")
What does "dmesg" show? I'll look into that when I can boot linux on my calc as well and tested the new GPIO driver... 581
TI-Nspire / Re: Calling all Linux Kernel developers!« on: February 23, 2014, 04:50:42 pm »
Does lsusb show something?
Did you switch to host mode before booting into linux? 582
TI-Nspire / Re: Calling all Linux Kernel developers!« on: February 23, 2014, 03:53:06 pm »Quote YESSS!!Could you try the new xconfig image? I switched from Xorg to KDrive/TinyX (or whatever it's called in buildroot) and everything should work fine. Quote I guess you refer to my path-hack above: Thats on my Ubuntu-Laptop and I had CodeSourcery installed on that some time ago. Normally I have an Arch-Server with two quadcore Xeon processors and 16GB Ram for compiling things ;-) With a well integrated toolchain of courseYou won't need that for this small 2 MB kernel 583
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire« on: February 23, 2014, 03:50:17 pm »Quote It avoids all the problems of texture atlasesWhich problems? Without texture atlasses I would have the same problems as I have no. Quote You bind to one texture, and then because the format and size of the different textures in the array are the same, you only need to select the appropriate location for the texture data, which can be done by storing an integer ID with every triangle.That's the problem. I'd have to switch the texture (even if it's just a id or pointer) every triangle and ALSO have UV-coordinates. Of course it's nicer from the application's point of view. Quote All the pixels from one texture will be together, increasing cache coherency as well.What about texture atlasses? Edit: I built a quick hack into the engine: The remaining artifacts are a mixture of inaccuracies and rounding errors. 584
TI-Nspire / Re: Calling all Linux Kernel developers!« on: February 23, 2014, 02:11:56 pm »
I updated http://tiplanet.org/nspire-linux-builds and included a DTB version. Could you try that with a dtb-enabled linuxloader2?
The linuxloader2 from nsprie-linux-builds should work. You just have to add "dtb nspire-cx.dtb.tns" to the bootscript. 585
TI-Nspire / Re: Calling all Linux Kernel developers!« on: February 23, 2014, 01:29:41 pm »
That'd require external storage and woudn't be very useful.. LXDE works, that's about it.
|
|