Author Topic: Object align(Camera) view Object  (Read 2684 times)

Offline yxbnnl

  • byte
  • *
  • Posts: 19
    • View Profile
Object align(Camera) view Object
« on: April 02, 2009, 09:18:12 am »
I use to  the align(Camera) of object3D ,How can't saw object3D!

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Object align(Camera) view Object
« Reply #1 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!?

Offline yxbnnl

  • byte
  • *
  • Posts: 19
    • View Profile
Re: Object align(Camera) view Object
« Reply #2 on: April 02, 2009, 10:44:51 am »
When I load 3DS file , how can i get name of material ~?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Object align(Camera) view Object
« Reply #3 on: April 02, 2009, 11:30:42 am »
You can't. Why would you want to?

Offline .jayderyu

  • long
  • ***
  • Posts: 116
    • View Profile
Re: Object align(Camera) view Object
« Reply #4 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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Object align(Camera) view Object
« Reply #5 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?