Click here to Skip to main content
16,005,162 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: Drawing a Sphere in 3D Pin
Avion854-Jun-09 10:04
Avion854-Jun-09 10:04 
GeneralRe: Drawing a Sphere in 3D Pin
yoghurt14-Jun-09 22:27
yoghurt14-Jun-09 22:27 
GeneralRe: Drawing a Sphere in 3D Pin
Avion855-Jun-09 2:52
Avion855-Jun-09 2:52 
Questionhelp in building a color lookup table Pin
mesho17-May-09 23:41
mesho17-May-09 23:41 
AnswerRe: help in building a color lookup table Pin
Tim Craig18-May-09 18:27
Tim Craig18-May-09 18:27 
GeneralRe: help in building a color lookup table Pin
mesho19-May-09 12:23
mesho19-May-09 12:23 
GeneralRe: help in building a color lookup table Pin
Tim Craig19-May-09 12:51
Tim Craig19-May-09 12:51 
GeneralRe: help in building a color lookup table Pin
mesho20-May-09 14:00
mesho20-May-09 14:00 
thanks, i solved the problem of th table

but i have another question pls
i implement this function to render the face normal of the mesh but when i debug
i found that the program doesn't enter the loop at all and i get this in the watch of the debug when
i type i: i CXX0017: Error: symbol "i" not found


inline void CMesh::RenderFaceNormals()
{
float t=0.5;
CVector v0,v1;

for(int i=0 ; i<get_numoffaces();i++)
{
="" v0="(verts[faces[i]-">get_v0()]->get_gp()+ verts[faces[i]->get_v1()]->get_gp()+ verts[faces[i]->get_v2()]->get_gp() )/3;
v1 = t * faces[i]->get_normal();

glBegin(GL_LINES);
glVertex3f(v0.X(), v0.Y(), v0.Z()); // origin of the line
glVertex3f(v1.X(), v1.Y(), v1.Z()); // ending point of the line
glEnd();
}
}


it seems that my program doesn't see i??
can anyone help me?? Cry | :((
GeneralRe: help in building a color lookup table Pin
Tim Craig20-May-09 14:44
Tim Craig20-May-09 14:44 
GeneralRe: help in building a color lookup table Pin
mesho21-May-09 2:12
mesho21-May-09 2:12 
GeneralRe: help in building a color lookup table Pin
Tim Craig21-May-09 7:45
Tim Craig21-May-09 7:45 
GeneralRe: help in building a color lookup table Pin
mesho21-May-09 22:48
mesho21-May-09 22:48 
GeneralRe: help in building a color lookup table Pin
Tim Craig22-May-09 13:31
Tim Craig22-May-09 13:31 
GeneralRe: help in building a color lookup table Pin
mesho28-May-09 2:51
mesho28-May-09 2:51 
GeneralRe: help in building a color lookup table Pin
Tim Craig29-May-09 9:00
Tim Craig29-May-09 9:00 
GeneralRe: help in building a color lookup table Pin
Luc Pattyn29-May-09 9:21
sitebuilderLuc Pattyn29-May-09 9:21 
Questionviewport to window mapping Pin
suvigna13-May-09 17:54
suvigna13-May-09 17:54 
QuestionLibrary or Tools for GUI development on Linux Pin
sheeri manik10-May-09 18:33
sheeri manik10-May-09 18:33 
JokeRe: Library or Tools for GUI development on Linux Pin
Soundman32.213-May-09 3:52
Soundman32.213-May-09 3:52 
GeneralRe: Library or Tools for GUI development on Linux Pin
sheeri manik13-May-09 12:52
sheeri manik13-May-09 12:52 
GeneralRe: Library or Tools for GUI development on Linux Pin
Soundman32.213-May-09 21:37
Soundman32.213-May-09 21:37 
QuestionEnable / Disable ClearType font rendering via system call? Pin
Tony Teveris6-May-09 1:56
Tony Teveris6-May-09 1:56 
AnswerRe: Enable / Disable ClearType font rendering via system call? Pin
Henry Minute6-May-09 2:43
Henry Minute6-May-09 2:43 
QuestionDifference in rendering in OpegGL Pin
Gastello5-May-09 3:23
Gastello5-May-09 3:23 
QuestionCreating GUI Pin
Xeqtr3-May-09 6:52
Xeqtr3-May-09 6:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.