cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Textures over a model and how to use Reflection

SOLVED
Highlighted
Level 6

Textures over a model and how to use Reflection

Hi everyone,

I need to import some textures on my model, I would also like some parts of the model to reflect (like mirror) a specific image.

How can I do? Is it possible?

 

Thanks!

Francesco

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Textures over a model and how to use Reflection

Currently there's no functionality to place textures or decals on surfaces in Studio.  If you just want to show something on a flat surface, then you can use a 3D image and mate it to the surface, but if you want anything more complex (like wrapped around a cylindrical surface) then you'll need to do this externally in another package and then bring the model into Studio.

 

If you are using Creo Parametric, the best way is to apply the Appearances and then export out a PVZ, making sure that your recipe file is setup to include textures.  See PTC Article CS75925 for details.

 

Otherwise, I've used OBJ files with an associated MTL file with the texture images.  There's a bit of a trick to getting them in correctly which was discussed in this thread: Publishing an experience with a model containing decals.

 

As for the reflection effect, this is achieved by using a custom shader.  PTC uses this effect in the KTM Motorbike experience and you can see how that was done in this thread: Add shaders and particle system effects to models in thingworx studio.

 

It's worth noting that if you use a customer shader, it breaks the Chalk widget and shaders don't work in a HoloLens experience.

2 REPLIES 2

Re: Textures over a model and how to use Reflection

Currently there's no functionality to place textures or decals on surfaces in Studio.  If you just want to show something on a flat surface, then you can use a 3D image and mate it to the surface, but if you want anything more complex (like wrapped around a cylindrical surface) then you'll need to do this externally in another package and then bring the model into Studio.

 

If you are using Creo Parametric, the best way is to apply the Appearances and then export out a PVZ, making sure that your recipe file is setup to include textures.  See PTC Article CS75925 for details.

 

Otherwise, I've used OBJ files with an associated MTL file with the texture images.  There's a bit of a trick to getting them in correctly which was discussed in this thread: Publishing an experience with a model containing decals.

 

As for the reflection effect, this is achieved by using a custom shader.  PTC uses this effect in the KTM Motorbike experience and you can see how that was done in this thread: Add shaders and particle system effects to models in thingworx studio.

 

It's worth noting that if you use a customer shader, it breaks the Chalk widget and shaders don't work in a HoloLens experience.

Re: Textures over a model and how to use Reflection

Thanks,

Really helpful !

 

Best regards

Francesco