View Single Post
Old Feb 28, 2002, 12:46 AM   #2
orrimarrko
Radeon R600
 
Join Date: Dec 2000
Location: United Kingdom The Shires
Posts: 623
orrimarrko is still being judged by the masses


Default

Is this Pixel shader code?

I honestly no 0.1% on pixel shader info when it gets down to it. but more than the average person whould know.

I think im completely wrong here, but could Dot 3&4 maybe be alternative info or options methods.

Its hard to explain, but Ill try too. Lets say we have a flat square. that wont roate in 3d space, and has only a x,y coordinate system. There is no Z ( tryin to explain best i can maybe )

Since all things are nromaly broken down into triangles. Ther are some instances, where it cant be broken into 3. Possibly Dot 4 is the relative angle coordinate or info that is directly relative to the last angle info. Dot 3 could be relative to angle 3 in a normal poly or 3 sided thing. And Dot 4, could be relative to your point of origin. Ill try and draw a diagram.


`````````````````````1
````````````````````/`\
```````````````````/```\
``````````````````/`````\
`````````````````/```````\
````````````````3________2

Ok, the triangle would not need a Dot 3 since all angles are calculated once 2 are.

...........1------2
........../````````\
........./``````````\
......../````````````\
......./``````````````\
......5````````````````3
.......\``````````````/
........\````````````/
.........\``````````/
..........\````````/
...........\``````/
............\````/
.............\``/
..............\/
..............4

here, we have something complex, but lets say we wanted the angle 5,1,2

Normaly, if it were a 3 S poly, youd get the info, and wed be on our way. But since this is 5 sides. My theory is that in order to compute this porperly, angles would be needed in absolute or relative coords to the angle 5,1,2.
Result I think would be 4,5,1 which would report a absoulte coordinate relative to angle @5,1,2 and not from the 0,0..
And Dot 4 would be likewise the other vertice which made your original angle, showing the rel/ abs coord of 1,2,3, @1,2,3 off the 5,1,2


Im trying to interpet what your saying, and I can only think of this as a use, and function for it. Ofcourse i could be out in left field, and i wish i was better at explaining things.

Hopefuly NitroGL or Humus will drop in, cause I myself would like to know, and I can only theorize what it could be with never using, or knowing much info on the subject anyhow.
orrimarrko is offline   Reply With Quote