Jump to content

Change the aspect ratio of a color texture image


Recommended Posts

Hi,

 

I have an object with an assigned color texture image ( see "How to assign a texture to a 3d object").

I need to change the the associated texture image aspect ratio to adapt to the dimensions of the object.

I don't seem to be able to find the function to archive this.

 

Would it be possible to use some sort of vs.GetTexBitPaintNode() / vs.SetTexBitPaintNode() / vs.CreatePaintFromImgN() combination in order to manipulate and reassign the bitmap bits?

 

Those functions seem to be deprecated. Is there new, equivalent functions to archive this?

 

Thanks

Edited by Carles Olle
Link to comment
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...