Jump to content
Developer Wiki and Function Reference Links ×

Which VS call to use to attach a texture to a Plugin Object  


Fuge

Recommended Posts

Hi Everyone...

 

Which VS call do you use to attach a texture to a Plugin Object?    

 

The effect I'm looking for is the same as when you manually choose a texture on the Render Tab of the Object Info palette as shown below.

 

Thanks for the help! 

 

Dave

RenderTab-OIP.png

Link to comment

Okay I've done some more digging and testing,  and found that you can attach a texture(s) to a PIO.

 

If you use  SetTextureRefN   the result is the same as selecting a texture on the Render tab,  however the Render tab options for textures ends up getting changed bit for the PIO depending on the texPartID flags you use. 

 

Thought I'd share what I found to hopefully save someone else some time in the future!

 

Thanks!

 

 

 

 

Link to comment

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