Jump to content

Recommended Posts

Posted

I am building a Space combat simulator using Blitzmax + Leadwerks and I have noticed that the further you get away from the center of the world the more my models start jiggling and suffering from Z Fighting.

 

I think this is caused by floating point inaccuracy's and my poorly constructed model.

 

I have thought about changing my program so that the ship stays at the center of the world and the world itself moves or scaling everything down so it fits inside a smaller space.

 

I am wondering if anyone knows any other suggestions to minimize this ?

 

Thanks

BMax 1.38 * Leadwerks 2.4 * Unity 3.0 Pro * Intel Core 2 Duo 6600 - Win7 64bit - ATI 4870

Posted

Increase the camera near range.

 

Thanks :)

 

My Camera range was:

 

CameraRange (cam, .1, 10000 )

 

and I changed it to:

 

CameraRange (cam, 10, 10000 )

 

Which has made a huge difference.

BMax 1.38 * Leadwerks 2.4 * Unity 3.0 Pro * Intel Core 2 Duo 6600 - Win7 64bit - ATI 4870

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...