realbasic-games
[Top] [All Lists]

Rendering Flash Bug

To: realbasic-games at lists dot realsoftware dot com
Subject: Rendering Flash Bug
From: Craig Macomber <FishyRB at 98115 dot net>
Date: Sun, 19 Nov 2006 14:48:06 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <20061117180030 dot 7BCBC1664827 at lists dot realsoftware dot com>
My RB3D space flashes randomly. Every once and a while one frame will be defective and have what looks like a white flash, but recently a few have been slightly yellowish. It seems to happen on windows and OSX. I have tried both an old, and new version of Quesa, as well as full screen and not. I also tried calling refresh instead of update. Nothing helped.

I believe its caused by he following method:

Sub SetCam(Position As Vector3D, Orientation As Quaternion)
Space.Camera.Orientation=Player.GraphicsObj.Orientation.Times(Orientatio n) Space.Camera.Position=Player.GraphicsObj.ObjectToWorldTransform(Position )
End Sub

When I comment out the only call to this method (Which only runs once at the beginning in the simplest case) the game does not play correctly, but there appears to be no flashes. A screen shot is at http://www.spincraftsoftware.com/files/RenderingFlash.jpg

As you can see, the flash looks like a plain that is ether shaded or maybe fogged incorrectly. If I turn fog off they are completely opaque plains.

Its probably unrelated but the camera is part of a group3D with the ship. The ship seems to be positioned 1 frame ahead of the camera. I think its unrelated because even when the camera is not added to the group I still get there flashes.

Thanks,
Craig.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • Rendering Flash Bug, Craig Macomber <=