Forums
No tyres texture - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: No tyres texture (/showthread.php?tid=1440)



No tyres texture - skankerror - 02-16-2011

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"



- NaN - 02-16-2011

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.


- skankerror - 02-16-2011

[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.


- NaN - 02-16-2011

Your graphics card driver doesn't like the texture. Can you post your OS and graphics card info?


- skankerror - 02-16-2011

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 ?


- NaN - 02-16-2011

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.


- skankerror - 02-16-2011

With rescaling, that works !


- NaN - 02-16-2011

Looks like there is a bug in the internal rescaling code. Will look into it.


- skankerror - 02-17-2011

Fixed in revision 3062. Smile