Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sky rendering
03-08-2007, 09:30 PM,
alex25 Wrote:should be also set the far clipping plane to the size of the horizon?

nevermind, there are cases when the horizon is below the track (but i guess the sky will always be above) so we might not want to do that.

03-08-2007, 11:41 PM,
also, just for future reference, the z-buffer gets cleared after drawing skybox stuff, so the horizon won't ever be drawn in front of normal objects.
03-09-2007, 01:04 AM,
joevenzon Wrote:also, just for future reference, the z-buffer gets cleared after drawing skybox stuff, so the horizon won't ever be drawn in front of normal objects.
and it should stay that way. i just experimented with disabling clearing the z-buffer after drawing the sky and it was very unnerving to suddenly have objects pop out of the horizon as you drive around (you can see this very well at barcelona). sorry for a bad idea.

03-21-2007, 05:23 PM,
Hey guys!!, i'm having the same problem since a few days ago!!, and it's really annoying!. I didn't touch any sky origin parameters. I'm having this issue in all tracks with a far horizon. Did you found any solution Alex?

[Image: 01.jpg]
[Image: 02.jpg]
[Image: 03.jpg]
03-21-2007, 05:54 PM,
Uhm....those screen shots are not even from VDrift.
03-21-2007, 05:58 PM,
Does this matter have any relevance?
03-21-2007, 06:13 PM,
Well these are the VDrift forums after all. What game is it?
03-21-2007, 06:24 PM,
OMG!, lol!, I was searching in Google for that issue, and I found this forum!.. really the alex's screenshots of the first page looks very close to rFactor!!, and I'm having this problem as well in rF, but I just've to solve it Smile
03-21-2007, 06:37 PM,
Actually, the links & screenshots he posted were of an rFactor track which he imported into VDrift (sadly we can't distribute it because of copyright).
03-22-2007, 09:44 AM,
Um... look at the ugly black line in the sky. I'm running a relatively low spec system... but still surely that is not desirable.

You'll need to view the image full size to see it:
03-22-2007, 10:13 AM,
Charlie, what graphics card do you have?

That problem is a common one when using low-res textures... the top edge of the texture gets color bleed from the bottom edge. I think there's a way to tell opengl not to do that, but I haven't had much luck with it.
03-22-2007, 03:48 PM,
I've seen some seams in the skyboxes on several tracks, on both of my video cards...I have a really good one and an OK one (BFG Tech 7600GT OCE PCIx16, and BFG Tech Ti4200 AGP8x).

edit: actually looking at charlie's screenshot now I see his are horizontal seams, I only see vertical ones.
03-26-2007, 02:11 PM,
It's an onboard 3D card on my laptop. An Intel i855 chipset I think, something like that. (Not got it here, can't check.)
08-14-2007, 01:07 PM,
joevenzon Wrote:Based on the above, I made it so objects marked skybox track the camera's y (vertical) offset, checked in SVN R1554. Let me know if this fixes the problem for your horizon, or makes the horizon go even further into the sky (in which case I need to flip the sign). Also, note that this change applies to all skybox objects, so it may mess up the sky on some tracks. If anyone notices that this happens, I can make a separate "horizon" parameter so the old method is used for the sky.

looks like we lost this fix when we switched to the scenegraph branch:

[Image: shot051.jpg]

can we get it back? please...

08-14-2007, 09:18 PM,
Try R1807....

Forum Jump:

Users browsing this thread: 1 Guest(s)