
Latest development version: http://scratch.mit.edu/projects/Jamohyperturbopro/2857027 Thanks to Addzero for sharing his 3D projection engine. This is the second development version of my 3D modelling program for Scratch. It is outdated, however, it is the only version with back line culling capabilities. Features: Import and export OBJ files (buggy if more than just lines) select/delete vertices select/create/delete lines set/remove edge horizon points (for back line culling) orbit, pan, zoom REFERENCE Keys: /////////////////////// hold down and click (and drag) Q orbit W pan E select vertices up/dn arrows zoom (hold f to change FOV) //////////////////////// hold down and press a number key A change viewpoint S change draw options D operate model data F import and export Z edit selected lines X edit selected verts (only delete works for now) C edit Linefaces for the selected lines (auto-facing doesn't work yet) /////////////////////// other P hold down to see data properties O select/deselect al /////////////////////// Importing online: open the obj file in a text editor find and replace returns " " with "_" (you can copy and paste those) copy everything go to Scratch 3D dev2 hold F press 3 paste-ho! hold F press 1 /////////////////////// Importing offline: same as above but without replacing returns. you can also manually load a file into scratch by richt clicking the list "OBJ Import/Export" while it is on the screen /////////////////////// Exporting: can only be done offline in this version. hold F press 4, then find the list: OBJ Import/Export and show it on the screen. then right click it and choose export. you can change the .txt file into a .obj file which most 3D programs can read. /////////////////////// Edge Horizons: each line can be the edge of two faces when those faces are facing you, key C- 1 and click on a different vertex on one of those faces do it for the face on the other side of the line. key S- 1,2or3 then orbit the object key S- 9 to show which lines have Linefaces /////////////////////// /////////////////////// Solid cube test: hold F press 3 paste the following S3D dev2 list archive_24_24_24 0_1.000000_-1.000000_-1.000000_1.000000_-1.000000_1.000000_-1.000000_-1.000000_1.000000_-1.000000_-1.000000_-1.000000_1.000000_1.000000_-0.999999_0.999999_1.000000_1.000001_-1.000000_1.000000_1.000000_-1.000000_1.000000_-1.000000_2_3_1_2_1_4_3_4_5_6_6_7_7_8_5_8_2_6_1_5_3_7_4_8_1_6_4_5_8_3_2_7_1_8_2_5_3_6_7_4_3_1_2_4_4_2_1_3_ hold F press 2 then key A- 7 then press up a few times then key S- 6 then S- 8 then use Q to orbit it. /////////////////////// or try importing this: This was originally by JTxt. I modified it to work with edge horizons S3D dev2 list archive_132_168_168_-0.701679_0.5839995_-0.6766685_-0.701679_-0.4240005_-0.6766685_-0.837467_0.7100005_-0.0701985_0.593098_0.5839995_-0.7329565_0.781005_0.7100005_-0.1405585_0.593098_-0.4240005_-0.7329565_0.781005_-0.5500005_-0.1405585_-0.837467_-0.5499995_-0.0701985_0.892636_-0.6200005_0.3550605_0.892636_0.7800005_0.3550605_-0.905666_-0.6199995_0.4332395_-0.905665_0.7800005_0.4332385_-0.692529_0.6248505_0.6942285_0.702953_0.6248495_0.6335625_-0.712806_0.6400005_0.7251385_-0.69253_-0.3548495_0.6942285_-0.712806_-0.3699995_0.7251385_0.702952_-0.3548505_0.6335625_0.725835_-0.3700005_0.6625955_0.725836_0.6399994999999995_0.6625955_0.905665_-0.6200005_0.6547785_-0.892636_-0.6199995_0.7329565_0.905666_0.7799995_0.6547775_-0.892636_0.7800005_0.7329555_-0.319927_-0.7300005_0.6493185_-0.319927_-0.7800005_0.6493185_0.38475_-0.7300005_0.6186835_0.38475_-0.7800005_0.6186835_-0.197415_-0.6233725_0.4496455_-0.197415_-0.6900005_0.4496455_0.225391_-0.6233725_0.4312645_0.225391_-0.6900005_0.4312645_-0.01473000000000002_-0.7299995_-0.4503845_0.573372_-0.7300005_-0.0609705_-0.566819_-0.7300005_-0.01140249999999998_-0.566819_-0.7799995_-0.01140249999999998_0.573372_-0.7799995_-0.0609705_-0.014297_-0.5280225_-0.2101775_0.338564_-0.5900005_0.02347149999999998_-0.014297_-0.6899995_-0.2101775_-0.34555_-0.5900005_0.0532125_-0.34555_-0.6900005_0.0532125_0.338564_-0.6900005_0.02347149999999998_-0.01473000000000002_-0.7800005_-0.4503845_36_26_33_34_20_23_29_31_12_11_30_32_26_28_44_36_38_40_35_36_8_11_24_23_15_24_2_8_6_7_18_14_21_9_41_29_3_12_41_42_38_41_1_4_12_10_13_14_34_37_24_22_17_15_22_11_24_12_25_26_39_43_20_19_18_19_25_27_5_10_13_15_7_9_27_34_22_21_1_2_9_10_32_43_2_6_44_37_4_5_42_30_29_30_17_22_6_4_13_16_23_10_16_17_20_15_21_23_1_3_19_21_28_37_40_42_19_17_31_39_40_43_14_20_27_28_35_25_33_35_31_32_38_39_16_18_3_8_5_7_5_3_33_44_38_8_38_2_38_6_38_7_41_8_39_7_11_41_11_29_22_29_31_21_31_9_9_39_35_44_37_27_24_21_22_30_22_8_31_27_25_36_33_37_41_39_26_44_12_9_10_20_22_23_1_6_2_4_16_19_10_11_11_42_10_11_29_38_8_42_2_3_3_24_20_18_44_28_21_11_22_16_9_12_11_10_28_36_38_31_21_18_20_17_35_26_9_12_17_20_11_10_25_28_23_9_8_6_21_7_39_34_8_1_28_34_6_1_41_35_31_41_21_24_7_2_18_17_12_9_19_15_14_23_22_9_4_2_23_22_27_26_41_35_21_18_9_43_34_39_15_19_37_26_33_36_34_44_39_29_43_7_14_19_11_2_6_9_10_4_36_37_2_41_6_8_7_2_39_6_38_11_9_38_29_8_22_41_21_11_22_9_21_39_7_31_