You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

[gLib][3d][z80][ez80] gLib a fast 3D asm/axiom library

b/[Inactive] gLib 3D polygon library (TI-83+/84+/CE/83PCE) Started by TheMachine02, January 19, 2015, 05:10:01 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

u/TheMachine02 October 02, 2016, 06:59:01 PM






This has just happened
u/Dream of Omnimaga October 04, 2016, 03:49:34 AM
Is the Xbox One emulator next on the list? O.O

Just kidding, this is just getting cooler and cooler. Make sure the new engine features doesn't drag the entire speed down, though, for those who don't want to use (too many) textures. :)
u/TheMachine02 October 04, 2016, 06:39:17 AM
Of course  :P The flat and textured mapped triangle are two separated routine, and lightning in texture in much more of a quick hacked test than option - but yeah it won't slow down everything. (No I won't put an if test in the inner loop  O.O )
Last Edit: October 04, 2016, 04:58:14 PM by TheMachine02
u/Dream of Omnimaga October 06, 2016, 07:11:50 PM
That's good :). Also I'll give this a try soon. Also does the lib allow displaying scaled models, as in doing everything at the resolution we like, such as 160x120?
u/TheMachine02 October 07, 2016, 11:43:43 AM
Well, you can render at a lower resolution, but I still didn't implemented pixel scaling, for filling the whole screen even if the resolution is smaller. (Actually, it might be a bit slower to render at 160x120 upscaled to 320x240 @8bpp, because of reading full framebuffer and writing it to the displayed framebuffer).

EDIT :





Okay, buggy as crazy due to my texture routine, slow because it is like totally unoptimized, but multiple texture per model are now possible  :P

Note to myself : take the current texture routine, throw it, and redo it.
Last Edit: October 07, 2016, 03:49:47 PM by TheMachine02
u/Dream of Omnimaga October 07, 2016, 04:25:26 PM
Good luck! This looks cool by the way. :3=
u/p2 October 09, 2016, 06:29:09 PM
next thing to do: import of blender save-files for on-calc rendering  :ninja: looks great (as always)  :thumbsup:
u/TheMachine02 October 10, 2016, 08:59:43 AM
Well, my converter work with .obj (wavefront format) and .mtl file, so I can import on calc almost any blender model.  (-_(//)); Of course, special blender thing like lightning or fur aren't available, but it isn't a big thing to  worry about  :P
u/p2 October 10, 2016, 10:40:35 AM
 O.O You do realize I was just joking right...?
but the fact you actually support that is amazing!
I cant wait for the first water-animations and stuff wiith subtitles saying "rendered on my calc"  :thumbsup:
Last Edit: October 10, 2016, 10:42:32 AM by p2
u/TheMachine02 October 10, 2016, 03:09:19 PM
Well obj support was quickly added cause entering model by hand would be a nightmare  :P Anyway, I am confident that a true water simulation is quite impossible on calc...
u/p2 October 10, 2016, 03:11:37 PM
dont you usually use the word "confident" when talking about great plans and making positive promises? Like fighting drugs and racism and stuff...?
Stop misunsing one of my favorite words!  (-_(//));

But yess... I guess fear you're right xD
u/TheMachine02 October 10, 2016, 03:16:04 PM
MMhhh yeah, confident might not be the best word. More like 'sure'  :P

However, a simple water with transparent texture and moving texture, and maybe a bit of vertex displacement might run well though.
u/p2 October 10, 2016, 03:17:02 PM
water in minecraft-style? ;D
u/TheMachine02 October 10, 2016, 03:29:57 PM
Yeah  :P. Also, for resolution switching, here is 160x120 :

u/Dream of Omnimaga October 10, 2016, 04:27:43 PM
Nice! Also I wonder how fast such model would run on the HP Prime (it would not have any texture and only have 1 gradient color, though)
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal