www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: JavaMan on March 12, 2008, 01:53:47 pm

Title: Getting TexutreInfo from polygon
Post by: JavaMan on March 12, 2008, 01:53:47 pm
Hi,
Is there anyway to get the textureinfo of a certain polygon through the polygonmanager,or another way? I see the method for getting a texture, but I want the textureinfo.
Jman
Title: Re: Getting TexutreInfo from polygon
Post by: EgonOlsen on March 12, 2008, 02:12:39 pm
Currently not, because the TextureInfo isn't present any longer after assigning it. I'll look into it when i find the time, if i can somehow recreate it to make the PolygonManager return it on demand.
Title: Re: Getting TexutreInfo from polygon
Post by: JavaMan on March 12, 2008, 02:22:54 pm
Oh, ok. Thanks for the quick response.
Jman