16,017,261 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Jeremy Shin Woo (Top 38 by date)
Jeremy Shin Woo
6-Aug-12 14:39pm
View
javax.microedition.media.Media Exception.
this is the exception message shown in the alert.
Jeremy Shin Woo
5-Aug-12 3:41am
View
Thanks a lot Sandeep
Jeremy Shin Woo
13-Jun-12 0:42am
View
There are two table with same details. I want to update both label's value by a button click event in one table.
Jeremy Shin Woo
5-Jun-12 13:37pm
View
Thanks
Jeremy Shin Woo
17-May-12 15:10pm
View
Thank u.. There is an problem in video card. Again thanks
Jeremy Shin Woo
17-May-12 14:40pm
View
Anyway, Both machines are same family same version. Both are used same OS. User can change the directory of the texture folder. Is there any specified directory to add the Texture Folder
Jeremy Shin Woo
17-May-12 14:21pm
View
BOth are used same OpenGL GLUT libraries.
Jeremy Shin Woo
17-May-12 14:09pm
View
Absolutely. I copied the hole project with its texture files.
Yes, It is a hard coded path.
Yes. It does. It show the wire Sphere in 2nd machine
Jeremy Shin Woo
24-Apr-12 2:16am
View
I could draw a circle.
int i, j,k;
vertices = new float[3*(p+1)*(q+1)]; // Dynamic array allocation with new value of p and q.
glVertexPointer(3, GL_FLOAT, 0, vertices);
glClear(GL_COLOR_BUFFER_BIT);
glLoadIdentity();
gluLookAt (0.0, 0.0, 4.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
glColor3f(0.0, 0.0, 0.0);
// Rotate scene.
glRotatef(Zangle, 0.0, 0.0, 1.0);
glRotatef(Yangle, 0.0, 1.0, 0.0);
glRotatef(Xangle, 1.0, 0.0, 0.0);
// Fill the vertex array.
fillVertexArray();
// Make the approximating triangular mesh.
for(j = 0; j < q; j++)
{
float t = 0,h = 0; // Angle parameter.
int i;
for(i = 0; i <= p; i++)
{
glArrayElement( (j+1)*(p+1) + i );
glArrayElement( j*(p+1) + i );
}
glEnd();*/
glBegin(GL_LINE_LOOP);
for(i = 0; i < numVertices; ++i)
{
glVertex3f(X+ R * cos(t), Y + R * sin(t), 0);
t += 2 * PI / numVertices;
}
glEnd();
}
glutSwapBuffers();
This the code of its.But I can't draw a cylinder using this circle
Jeremy Shin Woo
24-Apr-12 1:21am
View
I know how draw a cylinder in openGL. But I want to draw it using only one circle
Jeremy Shin Woo
24-Apr-12 1:12am
View
yes. I'm using glut.h
Jeremy Shin Woo
18-Apr-12 6:42am
View
Thanx enhzflep... but I want to add some part to this code as it give as a sphere
void drawScene(void)
{
int i, j,k;
vertices = new float[3*(p+1)*(q+1)]; // Dynamic array allocation with new value of p and q.
glVertexPointer(3, GL_FLOAT, 0, vertices);
glClear(GL_COLOR_BUFFER_BIT);
glLoadIdentity();
gluLookAt (0.0, 0.0, 4.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
glColor3f(0.0, 0.0, 0.0);
// Rotate scene.
glRotatef(Zangle, 0.0, 0.0, 1.0);
glRotatef(Yangle, 0.0, 1.0, 0.0);
glRotatef(Xangle, 1.0, 0.0, 0.0);
// Fill the vertex array.
fillVertexArray();
// Make the approximating triangular mesh.
for(j = 0; j < q; j++)
{
float t = 0,h = 0; // Angle parameter.
int i;
/* glBegin(GL_TRIANGLE_STRIP);
for(i = 0; i <= p; i++)
{
glArrayElement( (j+1)*(p+1) + i );
glArrayElement( j*(p+1) + i );
}
glEnd();*/
glBegin(GL_LINE_LOOP);
/* for (k = 0; k < numCircles; ++k)
{*/
for(i = 0; i < numVertices; ++i)
{
// glColor3ub(rand()%256, rand()%256, rand()%256);
glVertex3f(X+ R * cos(t), Y + R * sin(t), 0);
t += 2 * PI / numVertices;
}
/*h += 0.2;
R -= 0.2;
}*/
glEnd();
}
glutSwapBuffers();
}
Jeremy Shin Woo
14-Sep-11 1:36am
View
Thanks a lot Suresh
Jeremy Shin Woo
13-Sep-11 0:00am
View
it doesn't work properly. thanx
Jeremy Shin Woo
12-Sep-11 23:53pm
View
ok..thanks for the advise :)
Jeremy Shin Woo
31-Aug-11 0:45am
View
@SA- Thanks. I'll try
Jeremy Shin Woo
29-Aug-11 7:10am
View
ok.. Thanks
Jeremy Shin Woo
24-Aug-11 1:23am
View
Thanks Simon..
Jeremy Shin Woo
24-Aug-11 1:22am
View
Already I have done it. :)
Jeremy Shin Woo
24-Aug-11 1:07am
View
Thanks for ur kindness. :)
Jeremy Shin Woo
18-Aug-11 7:22am
View
Can I do it by the code?
Jeremy Shin Woo
18-Aug-11 6:00am
View
Thanx.. but I don't work :'(
Jeremy Shin Woo
17-Aug-11 6:37am
View
I want get an png image as an input and want to resize its background image. And want to save the image
Jeremy Shin Woo
17-Aug-11 5:53am
View
I means, I want to resize the transparent background of png image. I think u got an idea
Jeremy Shin Woo
17-Aug-11 1:45am
View
But I haven,t a chance to change previous code and use to external reference file.. :(
Jeremy Shin Woo
16-Aug-11 0:36am
View
Thanx
Jeremy Shin Woo
16-Aug-11 0:36am
View
Thanx
Jeremy Shin Woo
14-Aug-11 23:22pm
View
because i want add some text before the extension. I think, u got the idea.
Jeremy Shin Woo
14-Aug-11 22:55pm
View
thanks a lot
Jeremy Shin Woo
12-Aug-11 5:31am
View
Thanks a lot Abhinav
Jeremy Shin Woo
12-Aug-11 0:40am
View
thanks a lotz
Jeremy Shin Woo
11-Aug-11 2:09am
View
How can I explain this. Really I know set parameters to a method. It is a basic thing. Their is two methods. I wanna combine them. I wanna give the image to ScaleByPercent() method from MergeImages() method. there are two images. can u see??
Jeremy Shin Woo
11-Aug-11 1:58am
View
Deleted
Thanks for ur advise. I want to give parameters to ScaleByPercent() method inside the MergeImages()method. Can u understand??
Jeremy Shin Woo
11-Aug-11 1:48am
View
Deleted
I want to give parameters to the ScaleByPercent() method. How can I do that???
Jeremy Shin Woo
11-Aug-11 1:41am
View
ex. take image name as.. apple.jpeg
I want to get only apple
there is no extension part.
Jeremy Shin Woo
10-Aug-11 23:02pm
View
Thanks a lot
Jeremy Shin Woo
10-Aug-11 22:53pm
View
If you can plz explain it by the code. because I'm not in fluent of constructors. thanx
Jeremy Shin Woo
10-Aug-11 6:27am
View
Thanks.. Haven't any method without using percentage??
Show More