www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: yxbnnl on April 02, 2009, 09:18:12 am

Title: Object align(Camera) view Object
Post by: yxbnnl on April 02, 2009, 09:18:12 am
I use to  the align(Camera) of object3D ,How can't saw object3D!
Title: Re: Object align(Camera) view Object
Post by: EgonOlsen on April 02, 2009, 09:26:18 am
Align just aligns the cameras rotation with the object one. It ensures in no way, that the object is visible. Maybe lookAt in Camera is more what you want!?
Title: Re: Object align(Camera) view Object
Post by: yxbnnl on April 02, 2009, 10:44:51 am
When I load 3DS file , how can i get name of material ~?
Title: Re: Object align(Camera) view Object
Post by: EgonOlsen on April 02, 2009, 11:30:42 am
You can't. Why would you want to?
Title: Re: Object align(Camera) view Object
Post by: .jayderyu on April 02, 2009, 05:22:56 pm
My first assumption is so that he can load the texture manually? Though I'm not sure otherwise.
Title: Re: Object align(Camera) view Object
Post by: EgonOlsen on April 02, 2009, 05:29:11 pm
If that's the case, there is a method readTextureNames3DS in Loader. I really don't understand what is so confusing about this texture name thing? Any ideas on how to improve this?