Adding external image in a scene.

Typically: "How do I... ", "How can I... " questions
Post Reply
NandanUmrikar
Posts: 12
Joined: 11 Mar 2024, 09:45

Adding external image in a scene.

Post 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.

coppelia
Site Admin
Posts: 10376
Joined: 14 Dec 2012, 00:25

Re: Adding external image in a scene.

Post 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

Post Reply