π
<-
Chat plein-écran
[^]

X3D - A 3D Engine for Nspire and PC

C, C++, ASM...

Re: X3D - A 3D Engine for Nspire and PC

Unread postby Ti64CLi++ » 09 Jul 2018, 10:25

Lionel Debroux wrote:What are the binary's size and the RAM usage for the Nspire, if you're still maintaining support for that platform ?

I hope so. If we could have a realist port of Portal, not Portal 2D, the Nspire would now be the best calculator ever, if she isn't already ;)
Good job catastropher :bj:
Image
User avatar
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 32.3%
 
Posts: 3441
Images: 75
Joined: 04 Jul 2014, 14:40
Location: Clermont-Ferrand 63
Gender: Male
Calculator(s):
MyCalcs profile
Class: ENS Rennes
GitHub: Ti64CLi

Re: X3D - A 3D Engine for Nspire and PC

Unread postby catastropher » 09 Jul 2018, 18:15

Lionel Debroux wrote:Good progress :)

Thank you! :3

Lionel Debroux wrote:You're right to have switched to C++. C has been stagnating for years, and platforms which don't have a C++ compiler are unfit for running such engines at a decent framerate anyway.

You're absolutely right, I should have switched to C++ a long time ago. Others in the community were actually upset that I switched, asking "Do you want slow code"? It seems the myth that C++ is slower than C is still pervasive...

Lionel Debroux wrote:What are the binary's size and the RAM usage for the Nspire, if you're still maintaining support for that platform ?

The Nspire is indeed still supported! Currently, the executable is ~550 Kb, but that's because I've been lazily compiling every file with -O3. I need to spend some time figuring out which files are actually worth the increase in size. If size becomes a problem, I could probably use Thumb in a few places.

As for memory usage, current peak usage is 2-3 MB for a large level. Most of that is taken by the surface cache for lighting. When the game is done, I'll make sure it takes no more than 8 MB.

Ti64CLi++ wrote:I hope so. If we could have a realist port of Portal, not Portal 2D, the Nspire would now be the best calculator ever, if she isn't already ;)
Good job catastropher :bj:

Thanks! My hope is that creating this will draw more people to the Nspire. I think a lot of people scoffed a few years ago when I told them I was going to make Portal, but people like Lionel have believed in me the whole time which has kept me going! :3
User avatar
catastropherProgrammeur
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 68%
 
Posts: 13
Joined: 30 Sep 2015, 18:05
Gender: Male
Calculator(s):
MyCalcs profile

Previous

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: No registered users and 11 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1040 utilisateurs:
>996 invités
>39 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)