VeTaL Posted July 1, 2011 Share Posted July 1, 2011 Is there any possibilities of this? Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
Aily Posted July 1, 2011 Share Posted July 1, 2011 http://blitzbasic.com/codearcs/codearcs.php?code=369 http://filax.celeonet.fr/_fofo/index.php?topic=3463.0 Quote "Better" is big enemy of "good" Link to comment Share on other sites More sharing options...
macklebee Posted July 2, 2011 Share Posted July 2, 2011 if you are just after the texture, could you not just use a combination of pick.surface, GetSurfaceMaterial(), and GetMaterialTexture()? Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
VeTaL Posted July 4, 2011 Author Share Posted July 4, 2011 Thanks for links, i'll look through them. //if you are just after the texture, could you not just use a combination of pick.surface, GetSurfaceMaterial(), and GetMaterialTexture()? err.. what? ) Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
macklebee Posted July 4, 2011 Share Posted July 4, 2011 If i understand the question in your post title, you are just trying to get the texture that is associated with the object that you picked... A pick's structure includes a surface. See here. If you have a surface, you can use GetSurfaceMaterial() to obtain the material. See here. And with GetMaterialTexture(), you get the texture from the material. See here. EDIT -- if your question is to get the UV coordinates from a pick, then look at klepto's TAdvancePick Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
TylerH Posted July 10, 2011 Share Posted July 10, 2011 Assuming he meant UV texture how I think, he means the UV coordinates. Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer ----- Link to comment Share on other sites More sharing options...
VeTaL Posted July 27, 2011 Author Share Posted July 27, 2011 Thanks for answer, added to LeaFAQ Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
Recommended Posts
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.