Log In  


Cart #drydock_scsv-3 | 2024-10-06 | Embed ▽ | License: CC4-BY-NC-SA
21

Here's a screensaver I made using the 3d assets from my latest project. Some of the ships are a bit scuffed if you look too closely.

V 1.2.1:
Inspired by Profi06's URL Dodecahedron demo I added a fade in and out for the 3d models.

V 1.2:
Changed engine to use matmul3d() and refined most models to look better on a big screen. Ironically it seems to perform worse in the web browser now...

V 1.1:
Added a few extra ships

21


1

Awesome work. Are you making an Elite clone as your current project?


2

Yes, but not a Picotron clone @SVEDEN11. I'm making it for Pico8.


1

Love this!
Great work, Commander 🫡


Oh it's nice! Is it theoretically possible to push your own OBJ files into this?


1

@maleficmax No, not literal .obj files at least. Each model is a list of points and a list of lines between them stored as a table. I made each of the models in a hacked-together editor. For example, here is the Cobra Mk3:

model={
points={
{-5,2,10.5},
{4,0,-8},
{-4,0,-8},
{0,-3,0},
{5,2,10.5},
{-11.5,-2,10},
{11.5,-2,10},
{15,1,10.5},
{-15,1,10.5},
{0,-3,10},
{14,0,6},
{-14,0,6},
{-2.2459,0.25,10.3719},
{2.2459,-1.5,10.3719},
{-2.2459,-1.5,10.3719},
{5.495,0.25,10.3719},
{2.2459,0.25,10.3719},
{-5.495,-1.25,10.3719},
{-5.495,0.25,10.3719},
{5.495,-1.25,10.3719},
{0,0,-8},
{0,0,-11},
},
lines = {
{"a",4,3,2,4},
{"a",5,2,3,1,5},
{"f",2,7,4,2},
{"f",4,6,3,4},
{"a",7,10,4,7},
{"a",10,6,4,10},
{"a",3,6,12,3},
{"a",2,11,7,2},
{"a",7,11,8,7},
{"a",9,12,6,9},
{"a",8,5,1,9,6,10,7,8},
{"f",13,19,18,15,13},
{"f",16,17,14,20,16},
{"l",22,21,8},
{"a",2,5,8,11,2},
{"a",9,1,3,12,9},
}
}

The entire system really needs to be reworked if I ever do anything else with it.


1

@hwd2002
Thank you for explaining it! I'm thinking of writing some script Into convert obj ton this kind of format...



[Please log in to post a comment]