GLBasic forum

Main forum => GLBasic - en => Topic started by: djtoon on 2011-Feb-15

Title: 3d camera source code bug - added project
Post by: djtoon on 2011-Feb-15
hi
people
iv attached a project im working on

what happens is the camera shakes when you move the ui

its a simple iphone ui for a flight sim
here is the project

if anyone can help me figuew out why the camera shakes when you move and turn

thank you in advance



[attachment deleted by admin]
Title: Re: 3d camera source code bug - added project
Post by: Kitty Hello on 2011-Feb-16
Hi,

you have a problem with Z-fighting here. (Google it).

You should not use such a large scale from minz to maxz. Try to keeb between 0.1 and 1000.

X_MAKE3D 100,100000000,45
helps "a bit" - but please redesign it.
Title: Re: 3d camera source code bug - added project
Post by: Hemlos on 2019-Feb-10
Point-to magnitude must be high, like 1000 or more
when the pointto is low, it is a choppy rotation and makes the cam "shake"

Title: Re: 3d camera source code bug - added project
Post by: Schranz0r on 2019-Feb-11
Hemlos, the post was 3 Years old...
Title: Re: 3d camera source code bug - added project
Post by: Hemlos on 2019-Feb-11
poor sap