6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood),
1,268
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: strange thing. maybe i forgot something
[Re: Matt_Aufderheide]
#74242
05/15/06 14:10
05/15/06 14:10
|
Joined: Oct 2002
Posts: 8,939 planet.earth
ello
OP
Senior Expert
|
OP
Senior Expert
Joined: Oct 2002
Posts: 8,939
planet.earth
|
i am using sm2_0, i went down to sm1_1 i but the results are the same. i dont want to have any lighting. just the normals in correct worldspace. plus i remember that it once worked. i dunno.
it must be something dumb obvious thing i believe
Last edited by ello; 05/15/06 14:13.
|
|
|
Re: strange thing. maybe i forgot something
[Re: Matt_Aufderheide]
#74244
05/15/06 16:38
05/15/06 16:38
|
Joined: Mar 2001
Posts: 3,298 Beverly, Massachusetts
Rhuarc
Expert
|
Expert
Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
|
mul-ing the normals by the world matrix is going to not only transform the orientation, but also the position, which you don't want- this is causing the overreaction. Maybe it's just me... but I think you want the untransformed normals just raw, maybe normalized...
EDIT: ok.. I see what you mean, reading through again.. You should probably set up your own matrix that doesn't have the translation multiplied in. Or you could mulitply the world transform matrix by an inverse translation for the objects world position...
-Rhuarc
Last edited by Rhuarc; 05/15/06 16:41.
|
|
|
|