# assignment3 question 4a,2

Posted by Anonymous User
Announcements Last Post
: Programming Students at UNISA School of Computing 06/19/2019 02:01PM
SoC Curricula 09/30/2017 01:08PM
Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
School of Computing Short Learning Programmes 11/24/2014 08:37AM
Unisa contact information 07/28/2011 01:28PM
 Anonymous User assignment3 question 4a,2 June 21, 2006 12:08PM IP/Host: ---.saix.net Rating: 0
When they mean quadrilaterals do they mean use

etc or

the example on page 55 of the book?
 Re: assignment3 question 4a,2 July 10, 2006 10:02PM IP/Host: 198.54.202.--- Registered: 14 years ago Posts: 78 Rating: 0
I imagine any method that draws a sphere with quadrilaterals will be accepted. A quadrilateral is any shape with four sides - a planar, convex quadrilateral is a quadrilateral with all four points in the same plane that forms a convex polygon. I imagine the use of planar, convex quadrilaters are what is expected. glutWireSphere draws spheres with quadrilaterals.
 Re: assignment3 question 4a,2 July 11, 2006 09:06AM IP/Host: ---.johncom.co.za Registered: 14 years ago Posts: 111 Rating: 0
Yes, but how do you texture map if you're using a "black box" routine? The texture mapping thing is really worrying me. In my understanding, you have to specify your texture coordinates for each vertex as you build the object. If you're using a "black box" routine to draw the sphere, you can't do that because you don't have the vertex building code.
 Anonymous User Re: assignment3 question 4a,2 July 11, 2006 10:49AM IP/Host: ---.saix.net Rating: 0

glEnable(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2D, texture[0]);
gluSphere(q, 0.4f, 12, 12);
 Re: assignment3 question 4a,2 July 12, 2006 09:12AM IP/Host: ---.johncom.co.za Registered: 14 years ago Posts: 111 Rating: 0
Thanks I also found similar info here: http://www.cs.ubc.ca/~alex/FASTRAK/node43.html
 Anonymous User Re: assignment3 question 4a,2 July 12, 2006 10:10AM IP/Host: ---.saix.net Rating: 0
hey sirius if you get the time before the due date for cos351 (this saturday) can you compare your answer with mine

thanks.

 Re: assignment3 question 4a,2 July 12, 2006 11:34AM IP/Host: ---.johncom.co.za Registered: 14 years ago Posts: 111 Rating: 0
I can. I've already submitted the assignment, can you email me your answer and I'll look into it probably tonight if I get a chance. Not to say my answer is correct though
 Anonymous User Re: assignment3 question 4a,2 July 12, 2006 02:17PM IP/Host: ---.saix.net Rating: 0
thanks its much appreciated
 Re: assignment3 question 4a,2 July 15, 2006 12:32PM IP/Host: 198.54.202.--- Registered: 14 years ago Posts: 78 Rating: 0