Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 31st, 2003, 03:01 PM
K-TC K-TC is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: England
Posts: 12 K-TC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to K-TC Send a message via AIM to K-TC Send a message via Yahoo to K-TC
Direct X - Orientations

Hi Devshed,

I was wondering if anyone would know what I need to move my viewport orientation up and down. For example, I have this:

Code:
FR_Camera.SetOrientation FR_Camera, -0.02, 0, Cos5Deg, 0, 1, 0


This code will change the orientation of the camera in that it rotates left, using 0.02 makes it go right. I already have this:

Code:
FR_Camera.SetPosition FR_Camera, 0, 1, 0


Which rotates the camera upwards. However, if you rotate the camera left/right, it adds a slight curve to the rotation, until when you reach 90 degrees in either direction it will perform barrel rolls. I need to find a way to neutralise this curve that is created everytime the orientation differs.

Any help would be greatly appreciated.
Thank you!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Direct X - Orientations


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway