Imported 3D models in Hopscotch!


#1

Importing 3D models into Hopscotch


You saw the title. These 3D models are actually in Hopscotch, imported using a Python script I wrote. This technique opens up for a whole new approach for designing your projects, and possibly games. So far, the technique is limited performance wise, and only maintains a good framerate with up to 150-200 faces (on an 1st gen iPad Pro. On iPads with lower performance, that number gets reduced).

How does it work?

The script takes a 3D .obj file, extracts all the polygons from it (they have to be triangles) and inserts the data into a Hopscotch .json file by adding set variable blocks. The project uses the 3D face rendering technique develouped by me and @ThinBuffalo.

If anyone wants, I could go into more details about this, and maybe show the Python script.

Do you want to see a specific 3D model in Hopscotch?

If you find a wavefront .obj file that you want to see in Hopscotch that I determine is good enough, I might make a project with it, or make a project for you.
However, the 3D framework is not yet ready for use of 3D models in games, so it will have to be just a scene.


Projects:


Nominations for Featured 2!
#2

That’s awesome! Once I get the full version, I will try it. Thanks!


#3

Wow! It’s pretty cool that it’s possible to make code that makes hopscoctch projects!

Could you explain how it works? Not necessarily this code, but just creating hopscotch projects with code.


#4

I can post an explanation in the JSON editing topic in a while.


#5

Impressive. Well done!


#6

Cool tutorial m8
I might try this out


#7

Oh, my gosh. That is

AWESOME!

It takes yonks to load, but just wow!


#8

Cool!
That’s amazing!


#9

I saw your project. Amazing job, this is just mind-blowing and a game changer.

I understand if you don’t want to share your Python script if you want to keep it private, but as I am really interested in knowing how it works, can you post some info about the script whenever you have time? Just if you want to and feel that you have time to explain it.


#10

I’m working on an explanation.


#11

Great. Can you tag me when you are done with it? Take your time.


#12

very cool @CreationsOfaNoob


#13

Wow! Those look so cool!!!


#14

One of them got featured.


#15

as you should


#16

I added support for materials.


Project JSON modification — Topic
#17

Do you have a link to that project, or is it a WIP?


#18

Still WIP but here’s the link