Page 1 of 1

Adding external image in a scene.

Posted: 11 Apr 2024, 13:57
by NandanUmrikar
I want to import external image in my scene so that the vision sensor can see the image and then I can work further on it. I tried adding a planar object and assigning texture of the image, but it gives problems in sizing. If the object is smaller, the image won't fit and if I try to change the image size, the pixels are tearing apart. I want to adjust the image size according to my robot size. Is there any alternate way of importing an image directly in my scene? Please help me with this.
Also, are the robot models scalable? I tried scaling the size by changing the bounding box dimensions, which works with other objects, but it does not seem to work.
Thank you in advance.

Re: Adding external image in a scene.

Posted: 12 Apr 2024, 13:46
by coppelia
Hello,

in general, models are scalable. Have a look at the add-on located at [Menu bar > Modules > Geometry / Mesh > Isometric scaling].

About your texture... did you try to use sim.createTexture?

Cheers