Results 1 to 3 of 3

Thread: 3D rotation problem

  1. #1

    Thread Starter
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    Please visit this thread if you have some knowledge about this..

    Regards,

    Fox

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151

    Rotating view plane?

    No way do I want to analyze the code.

    Since there are so many stars in your application and they do not move, I have trouble visualizing any depth effect. There are no visual clues to suggest any 3D perspective.

    For one of my applications, I do the math to project points onto a viewing plane to give the 3D effect of watching moving stars & planets though the window of a space ship.

    I assume that you are doing something similar.

    Could your code be rotating the viewing window, rather that rotating the starfield? Your description of the problem suggests that might be the case.

    If you are rotaing the viewing plane/window, a straight line of stars would be correct for some orientation.

    BTW: How do you move the point of view far away to allow seeing the cube containing the stars?
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    fox hadn't implemented the camera offset
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

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



Click Here to Expand Forum to Full Width