Skip to main content
19-Tanzanite
August 10, 2020
Question

How to convert Mobile Project to 3D Eyewear project

  • August 10, 2020
  • 2 replies
  • 1337 views

Hello all,

 

We have developed Mobile project application.

 

Is there any possible way to convert it to 3D Eyewear project ?

 

Thanks in advance.

 

/VR

2 replies

17-Peridot
August 10, 2020

Hello Velkumar,

 

It doesn't exist an automatic way to convert a Project to another platform.

 

The only solution is to follow these steps: 

 

  1.  In Chrome, in a tab, open the source
    Project
  2. In another tab, open the target Project
  3. Create the same Objects
  4. Copy the values for each Properties
  5. Copy the javascript methods
  6. Copy the Parameter names
  7.  Recreate the bindings

 

Keep in mind, that some Objects, Properties and Javascript methods are accessibles in Hololens but in mobile.

So, it is more a port like in development of a cross platform application between platform then a conversion.

 

Best regards,

Samuel

1-Visitor
January 18, 2021

you can play with Json files of vuforia studio but after that rebinding need to be done 

21-Topaz I
January 18, 2021

I do not think that "play with json" is that what is supported by PTC. Some coping of JSON files should be done only when we exactly  know what we want to achieve and possibly we can expect that we get some corruption , so that the project should be recreated.

When we convert the Mobile project to Eyewear - we have to pay attention that we have in the eyewear project only 3D widget and additionally some of the Eyewear widget are not the same as the mobile project. For example to copy a mobile project , or particular view will work to copies the View.json and the View.js files But when we copy a json file form mobile project to a eyewear project - in this case coping 1 to 1 could lead to some issues and project corruption. Therefore, I think that the suggested techniques by @sdidier  is conform.

Thanks