Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No tyres texture
02-16-2011, 08:40 AM,
#1
No tyres texture
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"
Reply
02-16-2011, 11:15 AM,
#2
 
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.
Reply
02-16-2011, 12:23 PM,
#3
 
[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.
Reply
02-16-2011, 01:11 PM,
#4
 
Your graphics card driver doesn't like the texture. Can you post your OS and graphics card info?
Reply
02-16-2011, 02:32 PM,
#5
 
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 ?
Reply
02-16-2011, 02:44 PM,
#6
 
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.
Reply
02-16-2011, 02:56 PM,
#7
 
With rescaling, that works !
Reply
02-16-2011, 02:57 PM,
#8
 
Looks like there is a bug in the internal rescaling code. Will look into it.
Reply
02-17-2011, 07:22 PM,
#9
 
Fixed in revision 3062. Smile
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)