The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sky rendering
02-21-2007, 04:57 PM,
#1
sky rendering
while playing with yet another track conversion, i discovered something i find interesting about the way vdrift renders the sky (horizon in particular). it looks like (and i haven't looked at the code yet) the horizon model gets projected outward from the origin. now, this this doen't really make any difference when the track is placed near the origin, but when the track is offset from origin by a large amount you end up with the horizon being projected way up in the sky. for this particular track i ended up centering the horizon on the origin and then it rendered fine but i was wondering how hard it would be to implement projecting the horizon outward (perpendicular that is). i guess that would imply the need to do some kind of offset translation for the model and then project it.

another area where vdrift lags behind the other simulators when rendering the horizon is the relative flag. basically, instead of projecting the horizon on the sky, we can mark it as relative to the viewpoint position. how hard would it be to implement this? i think this would also improve the frame rate, as the objects behind the horizon won't get rendered and then we'll also gain the ability to simulate various visibility conditions (or rainy days the clouds/horizon are closed in, sunny days are spaced out).

the track in question is racer nurburgring (http://www.rfactorcentral.com/detail.cfm...rdschleife) i will probably not check it in for the time being (we already have a version and for this one we'll probably need to get permission to convert it) but i want to play with it for a while as it is a lot more realistic. if only rfactor would work under wine.

--alex--
Reply


Messages In This Thread
sky rendering - by alex25 - 02-21-2007, 04:57 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-22-2007, 12:13 AM
[No subject] - by alex25 - 02-22-2007, 01:10 AM
[No subject] - by alex25 - 02-22-2007, 02:03 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-23-2007, 10:52 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-23-2007, 11:04 AM
[No subject] - by alex25 - 02-23-2007, 12:17 PM
[No subject] - by alex25 - 02-23-2007, 12:27 PM
[No subject] - by alex25 - 02-23-2007, 12:31 PM
[No subject] - by alex25 - 02-23-2007, 04:34 PM
[No subject] - by alex25 - 02-23-2007, 04:50 PM
[No subject] - by thelusiv - 02-23-2007, 06:01 PM
[No subject] - by alex25 - 02-23-2007, 06:13 PM
[No subject] - by thelusiv - 02-23-2007, 08:28 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-23-2007, 09:07 PM
[No subject] - by alex25 - 02-23-2007, 09:08 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-23-2007, 10:14 PM
[No subject] - by alex25 - 02-23-2007, 11:20 PM
[No subject] - by thelusiv - 02-23-2007, 11:46 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-24-2007, 04:22 PM
[No subject] - by alex25 - 02-27-2007, 04:36 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-27-2007, 06:53 PM
[No subject] - by alex25 - 02-27-2007, 07:14 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-28-2007, 02:30 AM
[No subject] - by thelusiv - 02-28-2007, 03:50 AM
[No subject] - by alex25 - 02-28-2007, 11:08 AM
[No subject] - by thelusiv - 02-28-2007, 11:36 AM
[No subject] - by alex25 - 02-28-2007, 12:01 PM
[No subject] - by thelusiv - 02-28-2007, 12:33 PM
[No subject] - by alex25 - 02-28-2007, 12:38 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-01-2007, 12:12 AM
[No subject] - by alex25 - 03-01-2007, 12:31 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-01-2007, 10:32 PM
[No subject] - by alex25 - 03-01-2007, 11:41 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-02-2007, 02:27 AM
[No subject] - by alex25 - 03-02-2007, 03:19 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-02-2007, 10:30 PM
[No subject] - by alex25 - 03-03-2007, 12:42 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-03-2007, 09:25 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-03-2007, 09:31 PM
[No subject] - by alex25 - 03-03-2007, 10:45 PM
[No subject] - by thelusiv - 03-04-2007, 06:57 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-04-2007, 01:58 PM
[No subject] - by thelusiv - 03-05-2007, 04:39 AM
[No subject] - by alex25 - 03-08-2007, 06:15 PM
[No subject] - by alex25 - 03-08-2007, 09:30 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-08-2007, 11:41 PM
[No subject] - by alex25 - 03-09-2007, 01:04 AM
[No subject] - by Borjaserrano - 03-21-2007, 05:23 PM
[No subject] - by thelusiv - 03-21-2007, 05:54 PM
[No subject] - by Borjaserrano - 03-21-2007, 05:58 PM
[No subject] - by thelusiv - 03-21-2007, 06:13 PM
[No subject] - by Borjaserrano - 03-21-2007, 06:24 PM
[No subject] - by thelusiv - 03-21-2007, 06:37 PM
[No subject] - by charlieg - 03-22-2007, 09:44 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-22-2007, 10:13 AM
[No subject] - by thelusiv - 03-22-2007, 03:48 PM
[No subject] - by charlieg - 03-26-2007, 02:11 PM
[No subject] - by alex25 - 08-14-2007, 01:07 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-14-2007, 09:18 PM
[No subject] - by alex25 - 08-15-2007, 05:26 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-15-2007, 10:10 PM
[No subject] - by alex25 - 08-15-2007, 11:06 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-16-2007, 12:41 PM
[No subject] - by alex25 - 08-22-2007, 02:09 AM
[No subject] - by alex25 - 08-22-2007, 06:03 PM
[No subject] - by alex25 - 08-22-2007, 06:47 PM
[No subject] - by alex25 - 08-22-2007, 07:57 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-23-2007, 01:24 AM
[No subject] - by alex25 - 08-23-2007, 09:48 AM
[No subject] - by alex25 - 08-23-2007, 01:18 PM
[No subject] - by alex25 - 08-23-2007, 01:30 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-23-2007, 08:01 PM
[No subject] - by alex25 - 08-23-2007, 08:11 PM
[No subject] - by alex25 - 08-23-2007, 08:44 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-24-2007, 12:38 AM
[No subject] - by joevenzon_phpbb2_import3 - 08-24-2007, 12:39 AM
[No subject] - by alex25 - 08-24-2007, 02:30 PM
[No subject] - by alex25 - 08-24-2007, 07:38 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-25-2007, 11:26 AM
[No subject] - by joevenzon_phpbb2_import3 - 08-25-2007, 12:05 PM
[No subject] - by alex25 - 08-25-2007, 12:12 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-25-2007, 03:17 PM
[No subject] - by alex25 - 08-30-2007, 01:01 PM
[No subject] - by alex25 - 08-30-2007, 02:25 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-30-2007, 11:40 PM
[No subject] - by alex25 - 08-31-2007, 02:33 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-01-2007, 12:43 AM
[No subject] - by alex25 - 09-14-2007, 03:29 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-14-2007, 08:42 PM
[No subject] - by alex25 - 09-14-2007, 09:03 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-15-2007, 01:19 AM
[No subject] - by alex25 - 09-18-2007, 11:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)