Forums

Full Version: No tyres texture
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On any cars my tyres are totally white. It seems that it can't load oem_wheel.png.

Another thing I have this message :

Code:
ERROR: Couldn't get parameter "wheel.fl.arm" from "/usr/local/share/games/vdrift/data/cars/C7/C7.car"
ERROR: Couldn't get parameter "wheel.fr.arm" from "/usr/local/share/games/vdrift/data/cars/C7/C7.car"
ERROR: Couldn't get parameter "wheel.rl.arm" from "/usr/local/share/games/vdrift/data/cars/C7/C7.car"
ERROR: Couldn't get parameter "wheel.rr.arm" from "/usr/local/share/games/vdrift/data/cars/C7/C7.car"
Quote:On any cars my tyres are totally white. It seems that it can't load oem_wheel.png.
Is it a custom texture or one from vdrift data? Failure to load a texture should result in a failure to load the car. You should see something like:
Code:
ERROR: Error loading texture file: E:/vdrift/vdrift-data/carparts/oem_tire.png
ERROR: Couldn't load spinning car: 360

Quote:ERROR: Couldn't get parameter "wheel.fl.arm" from "/usr/local/share/games/vdrift/data/cars/C7/C7.car"
Just a reminder to convert the cars to use the new suspension code. You can ignore it.
[Image: 0_selection_003.jpg]

I see this, and when car is loading, that's the same, tyres are white, I don't use custom texture.
Your graphics card driver doesn't like the texture. Can you post your OS and graphics card info?
INFO: Video card information:
Vendor: NVIDIA Corporation
Renderer: GeForce4 MX 440 with AGP8X/AGP/SSE2
Version: 1.5.8 NVIDIA 96.43.19
Maximum texture size: 2048
Maximum varying floats: 8
Using GLEW 1.5.6
INFO: Your video card doesn't support framebuffer objects. Disabling shaders.
INFO: Maximum anisotropy: 2

OS : ubuntu 10.10.

Do you need more ?
The tire texture(data/carparts/touring.png) is a rectangle 768:384 and not power of two. But there is code to deal with this if not supported. Can you try to rescale it to 512:512 manually.
With rescaling, that works !
Looks like there is a bug in the internal rescaling code. Will look into it.
Fixed in revision 3062. Smile