Automatically size plane with the size of image texture

DarkScythe
Senior Chief Petty Officer
Posts: 243
Joined: 23 Sep 2009, 08:57

Automatically size plane with the size of image texture

Post by DarkScythe »

Is there a rsobjects that automatically sizes the plane with the size of the image texture map.(I am working in workspaceside)

Thanks.
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Automatically size plane with the size of image texture

Post by trueBlue »

Yes there is I believe that ProfessorKhaos created this. It included a frame originally but I deleted that part of it.
Attachments
Image Ratio Resizer.zip
(215.89 KiB) Downloaded 244 times
Last edited by trueBlue on 17 Oct 2009, 20:36, edited 1 time in total.
User avatar
Steve
Master Chief Petty Officer
Posts: 394
Joined: 29 Jun 2009, 10:20
Type the number ten into the box: 0
Location: Hiding (Like a ninja)

Re: Automatically size plane with the size of image texture

Post by Steve »

seems that's another plugin for the list

To get by, you'd have to do it manually, check the image's resolution, let's say for example it's 1024x768
Set the X and Y values of your plan you're mapping the texture to the exact same numbers as the image, so x=1024, y=768, and sxcale manually from there
(so you don't have crazy sizes I usually do decimalise the numbers, so in this example x=10.24 and y=7.68)

Note, I DON'T use Workspace ever, so i'm assuming that there is a way to edit your size values numerically, if there isn't, bad caligari, numbers are useful

EDIT: Trueblue in before me
DarkScythe
Senior Chief Petty Officer
Posts: 243
Joined: 23 Sep 2009, 08:57

Re: Automatically size plane with the size of image texture

Post by DarkScythe »

Thanks trueblue this is what I looking for

Thanks also weevil now I know how to compute properly.

Thanks Guys.
User avatar
spacekdet
Captain
Posts: 1810
Joined: 27 May 2009, 15:00
Type the number ten into the box: 10
Location: On the day shift at the Utility Muffin Research Kitchen

Re: Automatically size plane with the size of image texture

Post by spacekdet »

What they said, and additionally, when scaling, you'll want to toggle Grid Mode on to keep the aspect ratio consistent.

Return to “General Discussion”