sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Exporter?

    Scheduled Pinned Locked Moved SketchyPhysics
    3 Posts 2 Posters 1.1k Views 2 Watching
    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.
    • B Offline
      brian.hammond
      last edited by

      Hello -

      Is there an exporter available for SketchyPhysics[2]?

      I really would love to use SketchUp and SketchyPhysics as my main content creation tool for some games.

      However, it seems that there is no exporter. Thus, we can only play around in SketchUp.

      The features of such an exporter would be:

      • export mesh geometry to some generic format
      • export physics attributes for each object
      • export joint information
      • etc

      Perhaps export all this information to XML, some intermediate representation. Converters could be written that take this XML as input allowing conversion to whatever format you need for your game/simulation/etc.

      Currently, I've a billiards game that uses Newton Dynamics for physics. The model of the billiards table was created in SketchUp and exported using a Ruby plugin to an Ogre mesh. However, all of the billiard balls and their physical attributes were created in code, which was tedious!

      Being able to preview how a scene will behave without the painful iterations for parameter tweaking in code/data would be ideal.

      Any plans for such an exporter?

      1 Reply Last reply Reply Quote 0
      • C Offline
        CPhillips
        last edited by

        I have been asked about making a Collada exporter. In theory it would work. But the problem is SP uses several custom joints that would not have a equivalent in whatever physics engine finally imported the data. So the basic shapes might work. But nothing more complex than maybe a hinge would work right.

        That said you could probably modify the Ruby plugin you are using to include some of the SketchyPhysics data if there is an physics import for Ogre. I know nothing about Ogre.

        All of the SketchyPhysics data is just stored in attributes on each group.

        Chris

        @brian.hammond said:

        Hello -

        Is there an exporter available for SketchyPhysics[2]?

        I really would love to use SketchUp and SketchyPhysics as my main content creation tool for some games.

        However, it seems that there is no exporter. Thus, we can only play around in SketchUp.

        The features of such an exporter would be:

        • export mesh geometry to some generic format
        • export physics attributes for each object
        • export joint information
        • etc

        Perhaps export all this information to XML, some intermediate representation. Converters could be written that take this XML as input allowing conversion to whatever format you need for your game/simulation/etc.

        Currently, I've a billiards game that uses Newton Dynamics for physics. The model of the billiards table was created in SketchUp and exported using a Ruby plugin to an Ogre mesh. However, all of the billiard balls and their physical attributes were created in code, which was tedious!

        Being able to preview how a scene will behave without the painful iterations for parameter tweaking in code/data would be ideal.

        Any plans for such an exporter?

        1 Reply Last reply Reply Quote 0
        • B Offline
          brian.hammond
          last edited by

          Yeah I see... I might look into this myself sometime in July but I'm not sure yet.

          Are the custom joints documented well enough? I use Newton myself so this would not be too bad to integrate. For example, I already use a dry rolling friction custom joint for the billiard balls in my game.

          Thanks

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement