Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Mouse look INSIDE a cockpit.

Author
Message
wild doogy
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: In a Cybersuit.
Posted: 20th Dec 2007 01:57 Edited at: 20th Dec 2007 03:04
ok I am making a space simulator and I want to have a cockpit inside my spaceship. I have a couple of questions:

One, the mousemove feature seems to move by pixel and it is very jerky, how would I make it smooth?

Two, I have a ship that is rotating in all three axises and I want the camera to be inside the cockpit but I cant get the rotating right.


Three, what is the minimum range for the camera and can it be set to zero? (its not rendering close things to the camera inside the cockpit.)
------FIXED----------
use: SET CAMERA RANGE near value, far value

some of my code:



I would really apreciate some help here. I have tryed rotating the limb but it didnt work. I just dont know what else to try.

Wild_Doogy
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 20th Dec 2007 01:58
Maybe this should be in one of the coding boards...


Modelled and rendered in Blender. Free software ftw.
wild doogy
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: In a Cybersuit.
Posted: 20th Dec 2007 02:02 Edited at: 20th Dec 2007 02:07
You made THAT CAR IN BLENDER?????? WOW!!! I am using BLender to make my models.

for my game, if I was making it in blender, I would parent the camera to an object and then parent the object to the ship at the right place. Then I would rotate the first object on the Z axis to the mousey, and rotate the camera to on axis X the mouse x. I hope this helps.

Should I repost in the coding board?
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 20th Dec 2007 02:04
Yea, you probably should.


Modelled and rendered in Blender. Free software ftw.
wild doogy
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: In a Cybersuit.
Posted: 20th Dec 2007 02:15 Edited at: 20th Dec 2007 02:21
I just looked at code snippets but it looks like I shouldn't post there...

Any ideas? I am going to try YET AGAIN to play with limbs but I am going to use an object that has X Y and Z marked on it so I can see the rotation.

Wild_Doogy
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 20th Dec 2007 02:21
Try the DBPro Discussion board or Newcomers Corner for tips.

Modelled and rendered in Blender. Free software ftw.
wild doogy
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: In a Cybersuit.
Posted: 20th Dec 2007 02:23 Edited at: 20th Dec 2007 02:54
getting really ticked off here...... I have the OBJECTS ROTATING RIGHT but I cant get the camera to rotate..

This:
xrotate camera 0,limb angle x (5,nl+7)
yrotate camera 0,limb angle y (5,nl+7)
xrotate camera 0,limb angle z (5,nl+7)

DOES NOTHING!!!!!
while this:
rotate camera 0,limb angle x (5,nl+7),limb angle y (5,nl+7),limb angle z (5,nl+7) only rotates on axis X.


No wonder I was having trouble. I though I was wrong but it was the program...
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 20th Dec 2007 03:04
Post it in the newcommer's corner along with your main code and you'll get an answer.

wild doogy
16
Years of Service
User Offline
Joined: 3rd Dec 2007
Location: In a Cybersuit.
Posted: 20th Dec 2007 03:06 Edited at: 20th Dec 2007 03:07
I have solved the camera range problem and I have the ANGLES RIGHT, but I cant ROTATE THE CAMERA TO THE NEW ANGLES!!!!

The only question I need is how to make the mouse move not so choppy...

And how to ROTATE THE CAMERA!!!!
It shouldnt be this hard. no really.
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 20th Dec 2007 05:00 Edited at: 20th Dec 2007 05:00
It isnt that hard, post it in the right board, and you'll get your answer .

Login to post a reply

Server time is: 2024-11-26 00:56:53
Your offset time is: 2024-11-26 00:56:53