Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Truck texture glitches in trunk #1503

Closed
wzdev-ci opened this issue Jan 28, 2010 · 6 comments
Closed

Truck texture glitches in trunk #1503

wzdev-ci opened this issue Jan 28, 2010 · 6 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by Safety0ff


Steps to reproduce:

  1. Start a skirmish game in any map except rush.

  2. Look at truck's dumper while the camera is moving.

This isn't a big deal, but it is very irritating when your colour is yellow/orange.

Also, once this has occurred, it will carry over to the other modes that didn't initially exhibit these symptoms.

http://imagebin.ca/view/p_yXQUCs.html

http://imagebin.ca/view/YVqT0Swr.html

http://imagebin.ca/view/rfLFEJK.html


Issue migrated from trac:1503 at 2022-04-15 20:59:48 -0700

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Feb 3, 2010

Safety0ff commented


Using the qwzm tool I figured out that the culprit was that face culling wasn't enabled. A small test showed that inserting "glEnable(GL_CULL_FACE);" in the appropriate place fixes my problem.

I'll post the patch after I do more testing and decide the most appropriate place to insert the call (and check whether it needs to be disabled at some point.)

It also seems to fix the another issue I was having with terrain.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Feb 4, 2010

Safety0ff uploaded file culling.diff (0.3 KiB)

premature patch

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Feb 4, 2010

Safety0ff commented


Tiger bombards still flicker considerably on my machine, but I think it will have to be fixed somewhere else since there is too much intersection with the body.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Feb 4, 2010

Per changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Feb 4, 2010

Per set resolution to fixed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Feb 4, 2010

Per commented


(In [9628]) Fix truck texture glitches in trunk by turning on face culling. Patch by Safety0ff. Closes #1503

@wzdev-ci wzdev-ci closed this as completed Feb 4, 2010
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant