The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Le Mans Bugatti - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Cars & Tracks (https://www.vdrift.net/Forum/forumdisplay.php?fid=11)
+--- Thread: Le Mans Bugatti (/showthread.php?tid=1622)



Le Mans Bugatti - berzingue - 03-14-2012

Hi,

Actually, I have a lot of fun : I'm modeling Le Mans Bugatti Track (4km)

My wish : using track as base, to simulate a day/night/day transition, and lights on buildings. As we can see in a race of 24 hours.

I have only "graphics" theorys to do it (remember I don't know anything about programming).

I suppose it will ask different skyboxes, textures animation, lights animations, self illumination...

I don't know if it's easy to do. Can we talk here about it ?

Here, Le Mans Bugatti track :
[Image: 1146425144.jpg]

Here, Pit building WIP :
[Image: 1146425176.jpg]

Here, quick test with self-illumination on night :
[Image: 1146425210.jpg]


- vdriftfan - 03-17-2012

Awesome work. It looks really detailed. Does it have a huge poly count?


- joevenzon - 03-17-2012

Wow, that looks great!

NaN did some atmosphere work a while back that would simulate the look of the sky for different times of day, I wonder if that's still around?


- NaN - 03-18-2012

The problem with the code has been the integration with the available renderers. I hoped to find a way to fake it for the guys without GL2+ cards but failed. There is also the issue with the clouds...


- berzingue - 03-27-2012

Vdriftfan > track is around 50.000 polys for now. It should turn around 200.000 polys with objects...

Jovenson, Nan, do you think this can do something like that ? :

Animated sun, I mean a light source, with different colors and density, turning around the track :
- 6:00am, it is on east, red/orange color, 50% density
- 12:00 am it is under the track, white color, 100% density
- 9:00pm it is on the west, red/orange color, 50% density
- 12:00 pm : it is under the track, blue/black color, 10% density

Animated self illumination maps
- between 8:00am and 12:00am : self-illuminations map = 0% density
- between 9h00pm and 8:00am : self-illuminations map = 100 % density

If you want to test I can furnish a small 3d scene, for exemple a little part of track with a road light...


- vdriftfan - 03-27-2012

Can extreme darkness be simulated by making the blue channel of textures more powerful and then reduce it to normal value at day? Or is it hardware intensive? And use it only for background objects not illuminated from artificial lights like street lamps.


- NaN - 04-01-2012

berzingue Wrote:Vdriftfan > track is around 50.000 polys for now. It should turn around 200.000 polys with objects...

Jovenson, Nan, do you think this can do something like that ? :

Animated sun, I mean a light source, with different colors and density, turning around the track :
- 6:00am, it is on east, red/orange color, 50% density
- 12:00 am it is under the track, white color, 100% density
- 9:00pm it is on the west, red/orange color, 50% density
- 12:00 pm : it is under the track, blue/black color, 10% density

Animated self illumination maps
- between 8:00am and 12:00am : self-illuminations map = 0% density
- between 9h00pm and 8:00am : self-illuminations map = 100 % density

If you want to test I can furnish a small 3d scene, for exemple a little part of track with a road light...

The code for lights sources is there. With shaders you even can have as many dynamic light sources as you want. There is also code to calculate sun position, intensity depending on date, time and the location of the track. The track loading code doesn't support it though. The problem at the time of implementation has been editor support and users without shaders.

It could be enabled with some coding. But the guys with crappy graphics cards will have to live without it.

Would be cool to resurrect this code. But I really need to finish the gui rewrite(car outlines creation is somewhat of a pita, not completely happy with it).


- vdriftfan - 04-01-2012

Can the guys with crappy GPU's just use the day/night method from GTA III/Vice City? It was actually really really good, especially in Vice City.
By the way, Joe Venzon said he's using Crysis 2's reflection method, which in my opinion is pretty overkill(Crytek is notorious for unoptimized code and trying to make people to buy expensive hardware). You can almost the same result with the implementation in NFS Hot Pursuit 2010/Shift2. Actually the older game has better lightning, making an awesome atmosphere.
I know I'm really insisting with HP but I was really impressed by the graphics.
Also, berzinque, would you like to use image based modeling for speeding up the process?
http://insight3d.sourceforge.net/ Is a free and open source program.


- joevenzon - 04-01-2012

The reflection method is adjustable, you don't have to always set it to high. Smile On low it just uses a cubemap. But I don't want to hijack the thread.