Profile image

So Close

10.1k LaserShark  8.7 years ago
120 downloads
No Tags

Once again, I do believe my own script is taunting me. The solution seems so close, but behold, on every model, a few stragglers just decide to point off in some random direction I know not where. I think it's mocking me. My script has acheived sentience and is just sitting there laughing at my failure. Well, for your enjoyment, the thing... It's mostly a ball, might roll, doesn't fly, might be useful in baseball, if you don't grab it on the pokey sides.

General Characteristics

  • Created On Windows
  • Wingspan 42.1ft (12.8m)
  • Length 41.8ft (12.7m)
  • Height 39.6ft (12.1m)
  • Empty Weight 4,586lbs (2,080kg)
  • Loaded Weight 4,586lbs (2,080kg)

Performance

  • Wing Loading N/A
  • Wing Area 0.0ft2 (0.0m2)
  • Drag Points 82237

Parts

  • Number of Parts 163
  • Control Surfaces 0
  • Performance Cost 393
  • Log in to leave a comment
  • Profile image
    10.1k LaserShark

    @bjac0 My script works with .OBJ files, which is pretty much the customary, generic 3D model file. Any good 3D software will export .OBJ files, and if the file I wish to convert isn't .OBJ, I can use Blender to convert it to .OBJ before I convert it into an airplane.

    8.7 years ago
  • Profile image
    57.1k bjac0

    @LaserShark ooohhh, the biggest issue i see there is different formats, some files can be loaded into non-compatable files and non corrupt anything, but rather not work, for example: trying to load a .XML file into a .EMC file (i can't remember what a .EMC file is or if thats right...). They can be loaded into one and other, but they may not work properly.

    8.7 years ago
  • Profile image
    10.1k LaserShark

    @bjac0 Thing is, I want this script to work with all 3D files, not just spheres. I want to be able to import things like car models, ship models, etc, and be able to make them work in Simple Planes.

    8.7 years ago
  • Profile image
    57.1k bjac0

    @LaserShark maybe if you can't make the script do all the work, you may have to make it so the coordinates are pre-set rather than having the script do the work.

    8.7 years ago
  • Profile image
    10.1k LaserShark

    @bjac0 Nothing's inverted as far as I can tell, what's happened is the script will try and figure out which vertice is the upper leftmost, upper rightmost, lower leftmost and lower rightmost. I does this correctly 98% of the time. Where the script starts to fail is when the squares are perfectly vertical, since there are two vertices directly above one another the script can't pick one from the other. I'm trying to figure out how to detect vertical faces and make them play by different rules, but its not going well. What I can do for now is just make a sphere with no completely vertical faces, and it works perfectly, in fact, I'll be uploading that in just a bit.

    8.7 years ago
  • Profile image
    57.1k bjac0

    @LaserShark i think it may be in the X-Z coordinates...

    8.7 years ago
  • Profile image
    57.1k bjac0

    @LaserShark i think one of the file's coding may be inverted, if you un-invert it, it may work.

    8.7 years ago
  • Profile image
    14.2k CODENAMEBOB

    Disco ball.... GONE ROGUE!! (Surprising music in background)

    8.7 years ago
  • Profile image
    7,696 Halfstrike

    Ok@LaserShark

    8.7 years ago
  • Profile image
    10.1k LaserShark

    @Halfstrike Maybe once I get it working or give up on it, whichever happens first.

    8.7 years ago
  • Profile image
    7,696 Halfstrike

    Nice is the script open source because I code in it @LaserShark

    8.7 years ago
  • Profile image
    10.1k LaserShark

    @Halfstrike The second one, it actually is written in Python.

    8.7 years ago
  • Profile image

    Looks like a disco ball.

    8.7 years ago
  • Profile image
    7,696 Halfstrike

    So is it like a unity coded algorithm that produces these or an algorithm is say Python and you just build it on instruction

    8.7 years ago