02-23-2007, 09:08 PM,
|
|
alex25
Senior Member
   
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
thelusiv Wrote:So, what are the licensing implications (if any) using this data? Sorry I'm not very familiar with the licenses used by rFactor, or the attitude of the developers towards this sort of thing. i don't know either. i've posted a message on the deveopment mailinglist with more details. anyway, this track is based on the original racer? track but obviously with a lot of changes.
--alex--
|
|
02-23-2007, 11:20 PM,
|
|
alex25
Senior Member
   
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
joevenzon Wrote:alex25: that track kills my poor 7600GS's 128MB of RAM. I have to run on medium textures (the horror!). I updated SVN with a z-buffer offset to the blended objects (like the wear marks on the road) to fix the artifacts they had. i know, i can't run it at home on my laptop i have to run it on my desktop at work. i was looking at fixing the groove in blender but i haven't figured out how to paste an object on top of another in an efficient manner (moving things a point at a time it's very time consuming). the z-buffer offset sounds good (but i won't be able to look at it until monday).
--alex--
|
|
02-27-2007, 04:36 PM,
|
|
alex25
Senior Member
   
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
joevenzon Wrote:In SVN r1560 I now have the skybox rendering switch-able based on the values in the track.txt. The new method is the default. I've turned it off on the tracks that don't look correct when using the old method (Spa, Jarama, the old Neurburgring).
can somebody give me a few pointers on how to implement the drawing of a horizon/sky that moves with the camera (instead of being drawn at an arbitrary distance)? i've tried to modify the drawing code but i haven't been able to get a dynamic rendering of the sky. thanks.
--alex--
|
|
02-27-2007, 07:14 PM,
|
|
alex25
Senior Member
   
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
joevenzon Wrote:Can you just describe to me what you're doing? Are you trying to add a skybox to a track?
let's try another diagram:
![[Image: horizon.jpg]](http://caliban.lbl.gov/vdrift/horizon.jpg)
when the car is at position x i want to draw the blue horizon and when the car is at position y the green one. basically i want the horizon centered on the camera position so as the car moves around the horizon moves relative to the track (but stays fix with respect to the car). i guess i want to draw the horizon the way the car is drawn right now, that is dynamically. does it make sense?
--alex--
|
|
02-28-2007, 11:08 AM,
|
|
alex25
Senior Member
   
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
joevenzon Wrote:So, what do you want to happen when the camera is half way between points x and y? draw the horizon centered half way between points x and y. the horizon will always be centered on the camera position.
--alex--
|
|
02-28-2007, 12:01 PM,
|
|
alex25
Senior Member
   
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
thelusiv Wrote:Alex, is this what you're trying to describe?
* The horizon is always a fixed distance from the camera
* The horizon moves up and down as the camera does
I can't see your picture, maybe that would help me understand...but otherwise I'm having trouble.
yes, that's exactly what i am trying to say. the horizon is drawn it's normal size (it's not projected onto the skydome). this is the fixed distance from the camera. as the camera moves, the horizon also moves (it's always centered on the camera position).
i am not sure why you can't see this picture. the original (horizon.jpg) is in http://caliban.lbl.gov/vdrift/ along with all the other pictures. can you see the other pictures?
--alex--
|
|
02-28-2007, 12:38 PM,
|
|
alex25
Senior Member
   
|
Posts: 531
Threads: 42
Joined: Jun 2006
|
|
thelusiv Wrote:I edited your post and fixed the image, the problem was that the image URL had the wrong server name ("caliban" instead of "caliban.lbl.gov"). 
sorry, i have the domain on my laptop set to lbl.gov so for me everything worked fine.
--alex--
|
|
|