Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: ASE file error!

  1. #1
    Junior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    Årsunda,gästrikland,Sweden
    Posts
    146

    ASE file error!

    hm.. I have build a nice ase-file loader who loads the world in the ase-file and puts the objects in some classes for later rendering.. I also loads the camera from the ase-file.. but the problem is that the camera is rotated when I render the ase-file with my OpenGL engine.. it is rotated for about 40 degres on Z-Axis and 170 degres on X-Axis or something don´t know exactly! but I do know that it is rotate something like that.. anyone knows why ?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2001
    Posts
    116

    Re: ASE file error!

    remember that 3DStudio

    * swaps y and z coordinates
    * inverts the z coordinate

    did you take this into account?

  3. #3
    Junior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    Årsunda,gästrikland,Sweden
    Posts
    146

    Re: ASE file error!

    I have swaped the y and z but not inverted the z.. in the C code for an ase loader there is no z invert-stuff.. how do I invert the Z-axis ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •