www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: dankor on May 24, 2007, 12:38:45 pm

Title: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: dankor on May 24, 2007, 12:38:45 pm
Hello,

Is it possible to get the textures list (urls or just names) from .3ds file?

Bye,
Daniel
Title: Re: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: EgonOlsen on May 24, 2007, 05:51:53 pm
With jPCT alone? No, currently not. At least not directly. There are printed to the console, if that helps.
Title: Re: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: dankor on May 25, 2007, 09:00:19 am
You wrote that it's not possible to get textures list with jPCT alone, but maybe is there any small Java library, which I can use for?

PS. jPCT is really great solution. I don't see on Your page donate possibility.
Title: Re: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: ToddMcF2002 on May 25, 2007, 12:38:01 pm
I'm sure you could parse the 3DS file.  You can see the texture names in Wordpad but I'm fairly certain you want something better than that ;).

http://www.gamedev.net/community/forums/topic.asp?topic_id=313126



Title: Re: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: dankor on May 25, 2007, 01:03:26 pm
Hi Egon,

Could You implement access to the 3ds textures list.

Bye,
Daniel
Title: Re: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: EgonOlsen on May 25, 2007, 01:06:07 pm
I'll have a look at it next week.
Title: Re: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: EgonOlsen on May 29, 2007, 11:56:05 pm
I've added a method to get the names to Loader. Download 1.14 to get it.
Title: Re: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: san14 on May 31, 2007, 09:36:16 am
Hi EgonOlsen

      That would be of great help to me, What is that method ? name


With Regards
San14
Title: Re: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: EgonOlsen on May 31, 2007, 09:37:32 am
http://www.jpct.net/doc/com/threed/jpct/Loader.html#readTextureNames3DS(java.io.InputStream) (http://www.jpct.net/doc/com/threed/jpct/Loader.html#readTextureNames3DS(java.io.InputStream))
Title: Re: Is it possible to get the textures list (urls or just names) from .3ds file
Post by: cyberkilla on June 04, 2007, 02:47:08 pm
 :o