m3g note 2

m3g note 2

///////////////
   note2
///////////////
1.如何导入m3g文件
JSR 184里有个名为Loader的类,并且它正确的装载文件。调用一个简单的方法就可以装载一个M3G文件的所有引用,这个方法叫做Loader.load,有两个不同的参数列表。一个是用String获得一个URL,另一个是获得一个为加工的字节数组。这里是如何使用它的例子:
Object3D[] objects = Loader.load("file.M3G");
Object3D[] objects2 = Loader.load(byteArray, offset);
装载方法总是返回一个Object3D数组,并且有它的一个非常好的原因。最好的是Loader类能比M3G文件装载更多,基本上能保存Object3D的所有子类。然而,你主要使用它来装载M3G文件。
2.一点疑问
在设置摄像头旋转时,用到了
setOrientation
public void setOrientation(float angle,
                           float ax,
                           float ay,
                           float az)
Sets the orientation component of this Transformable. The orientation is specified such that looking along the rotation axis, the rotation is angle degrees clockwise. Note that the axis does not have to be a unit vector.
它是绕这个旋转轴的面上转的吗?

5 thoughts on “m3g note 2

  1. wow gold
    wow gold
    wow gold
    wow gold
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    Rolex
    rolex replica
    RuneScape Money
    powerleveling
    powerleveling
    powerleveling
    powerleveling
    cheap wow gold
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    World of Warcraft gold
    World of Warcraft gold
    World of Warcraft gold
    World of Warcraft gold
    World of Warcraft gold -132321980649838

  2. qxol520 qinxl5201 wow gold wow gold wow gold wow gold wow gold wow gold wow power leveling wow power leveling 磁力泵 磁力泵 人力资源管理师 人力资源管理师 人力资源管理师 人力资源管理师 人力资源培训 人力资源培训 人力资源培训 人力资源培训 炒股软件 炒股软件 炒股软件 炒股软件 炒股软件 炒股软件 股票软件 股票软件 大智慧 大智慧 wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold wow gold

  3. Hi,Do you have used lcd screens, lcd monitor used, surplus lcds and scrap LCDs? Please go here:www.sstar-hk.com(Southern Stars).We are constantly buying re-usable LCD panels.The re-usable panels go through strictly designed process of categorizing, checking, testing, repairing and refurbishing before they are re-used to make remanufactured LCD displays and TV sets.Due to our recent breakthrough in testing and repairing technology of LCD, we can improve the value for your LCD panels.
    Contact Us
    E-mail:sstar@netvigator.com
    website:www.sstar-hk.com[i

  4. wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling
    wow power leveling -229239569951137

Leave a Reply

Your email address will not be published. Required fields are marked *