dev.gamez.lv Forum Index dev.gamez.lv
Latvian Game Developers Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 

Šeideru linkošanas kļūda

 
dev.gamez.lv Forum Index -> OpenGL
View previous topic :: View next topic  
Author Message
anggelus



Joined: 23 Feb 2005
Posts: 383
Location: Rīga (LV)

PostPosted: Fri Nov 11, 2005 12:03 am    Post subject: Šeideru linkošanas kļūda

Uzinstalēju Forceware 81.85 un tagad mēģinot linkot šeideri, izmetās šād akļūda

"Vertex info
-----------
(0) : error C9999: symbol "@TMP1" already in table"

uz vecākajiem draiveriem nekā tāda nebija.

Code:

uniform mat4   GBlendMatrices[30];

uniform float   numBones;

attribute vec2   dcl_textureCoord;
attribute vec3   dcl_normal;
attribute vec4   dcl_weights;
attribute vec4   dcl_indices;
attribute vec3   dcl_tangent;

void main()
{
    vec4 transformedPosition;
   
    vec4 curIndex = dcl_indices;
    vec4 curWeight = dcl_weights;


    for (int i = 0; i < int(numBones); i++)
    {

        transformedPosition = transformedPosition + curWeight.x * vec4((GBlendMatrices[int(curIndex.x)] * gl_Vertex).xyz, 1.0);

         ....
    }


pie visa vainīga šī te rindiņa:

Code:
transformedPosition = transformedPosition + curWeight.x * vec4((GBlendMatrices[int(curIndex.x)] * gl_Vertex).xyz, 1.0);


varbūt kāds zin kas par vainu vai arī kā to citādāk uzrakstīt, lai viss būtu ok Smile
_________________
No comprendo lo que dice.
Back to top
View user's profile Send e-mail
EDDY



Joined: 07 Oct 2005
Posts: 1610
Location: Dzimtā zeme, Latvija

PostPosted: Sat Nov 12, 2005 1:07 pm    Post subject:

Anggelus, tieši to es gribēju tev teikt!
Tagad gan jaunais Nature Scene no nVidia iet bez gļukiem, zāle rullē.
_________________
Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday
Back to top
View user's profile
Display posts from previous:   
dev.gamez.lv Forum Index -> OpenGL All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group