Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Eureka moment

    General Discussion
    6
    36
    1823
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      faz808 F last edited by

      Here we go...https://people.sc.fsu.edu/~jburkardt/data/obj/obj.html

      diamond.obj

      g Object001

      v 0.000000E+00 0.000000E+00 78.0000
      v 45.0000 45.0000 0.000000E+00
      v 45.0000 -45.0000 0.000000E+00
      v -45.0000 -45.0000 0.000000E+00
      v -45.0000 45.0000 0.000000E+00
      v 0.000000E+00 0.000000E+00 -78.0000

      f 1 2 3
      f 1 3 4
      f 1 4 5
      f 1 5 2
      f 6 5 4
      f 6 4 3
      f 6 3 2
      f 6 2 1
      f 6 1 5

      Now for a bit of research in how to convert the data and display it in Fuze

      1 Reply Last reply Reply Quote 1
      • F
        faz808 F @PickleCatStars last edited by

        @toxibunny I'll give it a go.

        1 Reply Last reply Reply Quote 1
        • F
          faz808 F last edited by

          Can anyone give us a hand with the code to convert and display the diamond.obj example ?
          Could be on a winner here !

          vinicity Gothon 2 Replies Last reply Reply Quote 1
          • F
            faz808 F last edited by

            If anyone wants to try writing an astronomy program, all the calculations are in "Practical Astronomy With Your Calculator" by Peter Duffet-Smith.

            1 Reply Last reply Reply Quote 1
            • vinicity
              vinicity F @faz808 last edited by

              @faz808 said in Eureka moment:

              Can anyone give us a hand with the code to convert and display the diamond.obj example ?
              Could be on a winner here !

              Have you transferred the data to Fuze? In that case, share it and we will see if someone can do something!

              1 Reply Last reply Reply Quote 0
              • F
                faz808 F last edited by

                OBJ Data transferred via petit4send - no problems.

                obj_reader ID:5YUZ7MND15 (pending)

                1 Reply Last reply Reply Quote 0
                • F
                  faz808 F last edited by

                  Just tried a 1800 element OBJ file. Went fine - took about 10 minutes to transfer 400 elements but I didn't transfer all 1800. Looks great. Even 400 elements would be a lot of typing - prone to errors. This is going to be great for large amounts of data.

                  1 Reply Last reply Reply Quote 0
                  • F
                    faz808 F last edited by

                    I'm just looking at the 400 odd lines of data entry and I'm absolutely amazed at it. Can't get over it - so easy ! You'd never type that lot in without errors creeping in. Fantastic !

                    1 Reply Last reply Reply Quote 2
                    • F
                      faz808 F last edited by

                      Important to send a single character before sending the main file. This syncs the arduino with Fuze4.

                      1 Reply Last reply Reply Quote 0
                      • Gothon
                        Gothon F @faz808 last edited by

                        @faz808 I downloaded "obj_reader" and added some code to draw the diamond object using simple rotation, lighting and back face culling (without perspective projection or depth ordering).

                        shared as: "obj_reader_drawer" 18V63MND9L (pending)

                        1 Reply Last reply Reply Quote 2
                        • F
                          faz808 F last edited by

                          Some months ago I tried using a different - and lengthy - technique. Wire cube with hidden line removal.
                          wire_cube ID: NDVHCNND15 (pending)

                          1 Reply Last reply Reply Quote 2
                          • F
                            faz808 F last edited by

                            Just entered "Humanoid". It's very small but he's there. I'm not sure how to make him bigger.
                            Don't want to muck up the existing code, Gothon !

                            Humanoid ID: 78Y63MND15 (pending)

                            F 1 Reply Last reply Reply Quote 2
                            • F
                              faz808 F last edited by

                              Are we in trouble here? Quote from an different post:-
                              Nintendo put the kibosh on that right up front: "no external, non-approved content coming on to our platform".

                              1 Reply Last reply Reply Quote 0
                              • pianofire
                                pianofire Fuze Team last edited by

                                I don't think so. You can already create whatever you like. We would still have to approve it for sharing

                                1 Reply Last reply Reply Quote 0
                                • F
                                  faz808 F last edited by

                                  Thanks for that, pianofire. That's a relief - I was getting worried there.

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    faz808 F @faz808 last edited by

                                    @faz808 Line 156 change to ....gHeight()/36 .... displays Humanoid at a viewable size.

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post