Start a new topic
Answered

A question about transferring to C++ code

Hi

I am Taiwanese and a new user of Vortex Studio.

I started using Vortex Studio 2017C Essentials Edition last week.

I want to ask a question.

Can I transfer the dynamic model I make in Vortex Studio to C++ code?

(such as dll , lib , h , cpp ... these file types)

Because my model will be used by other softwares (Visual Studio C# , Unity3D)

So I have to transfer it to C++ code.

If it can be transferred, how do I transfer?

What is the procedure?


Hope for your kind answer~

Thank you very much!

Wu 2017/11/14


Best Answer

Thank you for your interest in Vortex Studio!


If I understand your question correctly, you want to create mechanisms in Vortex Studio and export them for use in other software. Is that correct?


It's possible to do this, but it will require some work on your part with the Vortex SDK. You can check out the Vortex Studio documentation for some pointers:


https://www.cm-labs.com/vortexstudiodocumentation/Vortex_User_Documentation/Content/GettingStarted/SDKuserguide.html


https://www.cm-labs.com/vortexstudiodocumentation/Vortex_Technical_Documentation/index.html


Note that this works only for C++. If you want to use content in a .Net application (such as Unity), you will need to write additional code. 


Let us know about your progress!


Answer

Thank you for your interest in Vortex Studio!


If I understand your question correctly, you want to create mechanisms in Vortex Studio and export them for use in other software. Is that correct?


It's possible to do this, but it will require some work on your part with the Vortex SDK. You can check out the Vortex Studio documentation for some pointers:


https://www.cm-labs.com/vortexstudiodocumentation/Vortex_User_Documentation/Content/GettingStarted/SDKuserguide.html


https://www.cm-labs.com/vortexstudiodocumentation/Vortex_Technical_Documentation/index.html


Note that this works only for C++. If you want to use content in a .Net application (such as Unity), you will need to write additional code. 


Let us know about your progress!

Hello Mr. Vezina

Thank you for your answer very much !

Yes, you are correct and brilliant !

I am studying the documents you gave me.

It looks like I have to write a program to accomplish it.

It is difficult for us because of time limit of project...

Can you have any experience or example that can be a suggestion to me?


Wish you have a good body~

Thanks for the good words!


Yes, there will be some programming involved (for now). When you install Vortex Studio, you will find a folder called "Tutorials" inside the first level of the folder hierarchy. These are C++ tutorials to help people understand the architecture of Vortex Studio and show some ready-made, useful examples of code. 


Two of the tutorials will be very useful for you, I would advise you to start with these:

Mechanism Viewer

VHL Integration


As they are in line with what you're attempting to do. It's a good idea to go through all of them, though. 




1 person likes this
Login to post a comment