(06-05-2019, 04:43 PM)NaN Wrote: With the latest master you can change the menu room "track" in VDrift.config
The default is menu_room = .room
To use the garage set it to menu_room = .garage
I've moved the car out of the garage into the sun
And I've also had to add code that allows to specify sun elevation (10 - 90 deg) and azimuth (-360 - 360 deg) for a track (track.txt file) to be able to adjust the lighting.
It's very strange... I changed in .vdrift (in my home directory) the "VDrift.config" file adding it menu_room = .garage, but when I execute vdrift binary, it loads ".room". This is the terminal output:
Code:
leo@SYS-ADMIN:/media/3TB/VDRIFT/bin$ ./vdrift
INFO: Multi-processor system detected. Run with -multithreaded argument to enable multithreading (EXPERIMENTAL).
INFO: Starting VDrift: 2019-06-06-full, Revision: Unversioned directory, O/S: Unix
INFO: Home directory: /home/leo
INFO: Settings file: /home/leo/.vdrift/VDrift.config
INFO: Data directory: /media/3TB/VDRIFT/share/games/vdrift/data
DATA_DIR: /media/3TB/VDRIFT/share/games/vdrift/data
INFO: Temporary directory: /home/leo/.vdrift/tmp
INFO: Log file: /home/leo/.vdrift/log.txt
INFO: Request OpenGL 3.3 Core Profile context.
INFO: Disabling antialiasing
INFO: Disabling vertical synchronization.
INFO: Video card information:
GL Vendor: NVIDIA Corporation
GL Renderer: GeForce GT 740/PCIe/SSE2
GL Version: 3.3.0 NVIDIA 418.74
Texture units: 32
Maximum texture size: 16384
INFO: Loading /media/3TB/VDRIFT/share/games/vdrift/data/shaders/gl3/deferred.conf...
INFO: Loaded /media/3TB/VDRIFT/share/games/vdrift/data/shaders/gl3/deferred.conf
INFO: GL3 initialization successful
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/leo/.vdrift/controls.config
INFO: Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 1024
Size: 4096
INFO: Sound initialization successful
INFO: Loaded fonts successfully
INFO: Loaded GUI successfully
INFO: No force feedback devices found.
INFO: Loading track from path: /media/3TB/VDRIFT/share/games/vdrift/data/tracks/.room
INFO: Loaded surfaces file, 2 surfaces.
INFO: No roads loaded. Skip loading lap timing sectors. Lap timing will not be possible.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
INFO: Car loading was successful: XS/XS
INFO: Got quit message from GUI. Shutting down...
INFO: Shutting down...
INFO: Exiting