| Poster | : daver | | Posts | : 1 | | Country | : Hungary | | City | : Budapest |
| | | | Posted by daver on 06/01/2010 at 18:17:29
| | I made a basic flightsim based on the flightsim and hlsl tutorial on this page. I got this image:

The terrain is a trianglelist, like in the first tutorial.
First question: why are some of the triangles shaded wrong?
Second question: what is the noise stripe in the middle of my light?
thanks for any help
dave | |
|
|
| |
| |
| Poster | : Archenon | | Posts | : 428 | | Country | : Romania | | City | : Oradea |
| | | | Posted by Archenon on 07/01/2010 at 01:44:58
| | Are you absolutely sure you build your indexbuffer up correctly? Maybe the graphics card thinks that those triangles are facing to the other side therefore it is black.
PS: Udv a site-on es szep jo napot. | |
|
|
| |
| |
| Poster | : Archenon | | Posts | : 428 | | Country | : Romania | | City | : Oradea |
| | | | Posted by Archenon on 07/01/2010 at 01:46:41
| | | Maybe if you post some pixel shader code we can help more. | |
|
|
| |
| |
| Poster | : Duallity | | Posts | : 289 | | Country | : | | City | : |
| | | | Posted by Duallity on 07/01/2010 at 01:47:03
| | Hi,
there are a few things that could be wrong, but with such a result it's most likly that there's a problem witht he lights view-matrix (check the Up-Vector).
Greez
Duallity | |
|
|
| |
| |
| Poster | : Archenon | | Posts | : 428 | | Country | : Romania | | City | : Oradea |
| | | | Posted by Archenon on 07/01/2010 at 02:07:03
| | You could turn off lighting and check if these things still appear.
Duality as i see if there would be a problem with the view matrix that would affect even the unlit terrain. Which i cannot see if there is a problem or not with it. | |
|
|
| |
| |
| Poster | : Duallity | | Posts | : 289 | | Country | : | | City | : |
| | | | Posted by Duallity on 07/01/2010 at 02:18:02
| | | I don't mean the cameras view-matrix. The light has one of it's own which only affects the light/shadow. | |
|
|
| |
| |
| Poster | : Anonymous | | Posts | : | | Country | : | | City | : |
| | | | Posted by Anonymous on 20/06/2012 at 10:29:45
| | | Some of (always good to be reminded of eacltxy what happened):"Without warning a line of riot police started moving towards us, and while running away, I was shot twice with rubber bullets, then arrested and incarcerated for 30 hours. I have been charged with obstruction of a peace officer." | |
|
|