Solved

# HELP-FAST: Need 3d coordinates for polyhedron with 60 verticies (C60 atom)

Posted on 2004-09-18
Medium Priority
260 Views
Hi all,
I'm working on a graphics program in OpenGL to display an atom of C60 that is commonly refered to as a "Bucky Ball."  I've searched around the net and can't seem to find the 3d coordinates necessary to draw the spheres in OpenGL.  I'm planning on using the solid sphere object in the GLUT library and simply need to know the (x,y,z) locations of each sphere.  I'm using a simple graphics modeler called Wings3D, but it doesn't seem to have the functionality to build a polyhedron of x vertices, it only has certain predefined polys to render.  In any case, I would greatly appreciate all the help I can get on this!!  Thanks...

jitjester
0
Question by:jitjester
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2

LVL 55

Accepted Solution

Jaime Olivares earned 600 total points
ID: 12094045
http://members.ozemail.com.au/~llan/mpol.html
Hope to be what you want.

faces{
/*0*/ {22,2,0},
/*1*/ {0,2,52},
/*2*/ {43,22,0},
/*3*/ {0,25,50},
/*4*/ {52,25,0},
/*5*/ {50,43,0},
/*6*/ {1,5,7},
/*7*/ {59,5,1},
/*8*/ {1,7,15},
/*9*/ {1,15,39},
/*10*/ {39,27,1},
/*11*/ {1,27,59},
/*12*/ {2,22,53},
/*13*/ {2,24,44},
/*14*/ {53,24,2},
/*15*/ {2,44,52},
/*16*/ {3,8,30},
/*17*/ {49,8,3},
/*18*/ {3,12,13},
/*19*/ {30,12,3},
/*20*/ {3,13,14},
/*21*/ {3,14,49},
/*22*/ {4,21,37},
/*23*/ {38,21,4},
/*24*/ {37,27,4},
/*25*/ {4,27,39},
/*26*/ {56,38,4},
/*27*/ {4,39,56},
/*28*/ {23,7,5},
/*29*/ {32,23,5},
/*30*/ {34,32,5},
/*31*/ {59,34,5},
/*32*/ {36,34,6},
/*33*/ {6,34,57},
/*34*/ {6,35,36},
/*35*/ {51,35,6},
/*36*/ {58,51,6},
/*37*/ {6,57,58},
/*38*/ {40,15,7},
/*39*/ {23,19,7},
/*40*/ {7,19,40},
/*41*/ {8,26,30},
/*42*/ {54,26,8},
/*43*/ {8,49,54},
/*44*/ {9,19,23},
/*45*/ {48,19,9},
/*46*/ {9,20,42},
/*47*/ {45,20,9},
/*48*/ {9,23,45},
/*49*/ {9,42,48},
/*50*/ {28,16,10},
/*51*/ {10,16,55},
/*52*/ {10,25,52},
/*53*/ {55,25,10},
/*54*/ {44,28,10},
/*55*/ {52,44,10},
/*56*/ {47,14,11},
/*57*/ {11,14,55},
/*58*/ {11,16,33},
/*59*/ {55,16,11},
/*60*/ {11,33,47},
/*61*/ {50,13,12},
/*62*/ {30,17,12},
/*63*/ {12,17,43},
/*64*/ {12,43,50},
/*65*/ {55,14,13},
/*66*/ {50,25,13},
/*67*/ {13,25,55},
/*68*/ {14,47,49},
/*69*/ {15,29,39},
/*70*/ {40,29,15},
/*71*/ {28,18,16},
/*72*/ {16,18,33},
/*73*/ {17,30,41},
/*74*/ {17,41,48},
/*75*/ {17,42,43},
/*76*/ {48,42,17},
/*77*/ {18,28,51},
/*78*/ {18,31,33},
/*79*/ {58,31,18},
/*80*/ {18,51,58},
/*81*/ {41,40,19},
/*82*/ {48,41,19},
/*83*/ {20,22,42},
/*84*/ {53,22,20},
/*85*/ {20,45,53},
/*86*/ {33,31,21},
/*87*/ {21,31,37},
/*88*/ {47,33,21},
/*89*/ {21,38,47},
/*90*/ {43,42,22},
/*91*/ {23,32,45},
/*92*/ {36,35,24},
/*93*/ {24,35,44},
/*94*/ {46,36,24},
/*95*/ {53,46,24},
/*96*/ {26,29,40},
/*97*/ {54,29,26},
/*98*/ {41,30,26},
/*99*/ {26,40,41},
/*100*/ {27,37,57},
/*101*/ {27,57,59},
/*102*/ {44,35,28},
/*103*/ {28,35,51},
/*104*/ {56,39,29},
/*105*/ {29,54,56},
/*106*/ {58,37,31},
/*107*/ {32,34,36},
/*108*/ {32,36,46},
/*109*/ {46,45,32},
/*110*/ {59,57,34},
/*111*/ {58,57,37},
/*112*/ {49,47,38},
/*113*/ {54,49,38},
/*114*/ {56,54,38},
/*115*/ {45,46,53}}
points{
/*0*/{-0.9671657425604818,-0.1397091239885532,-0.21230117072635943},
/*1*/{0.9348205528143476,-0.35511995537759056,-5.927296986226707E-4},
/*2*/{-0.7283721049655494,-0.14782203268154728,-0.6690461294723634},
/*3*/{-0.5465274929231432,0.13777947671080143,0.8260293670787023},
/*4*/{0.8215034297220628,0.45844615891356755,0.3390563881307701},
/*5*/{0.7226462953398206,-0.5680802794273055,-0.39378563706339914},
/*6*/{0.4399737336589737,0.32949332105316975,-0.8353785160461904},
/*7*/{0.6485027852699489,-0.758515053282387,0.06402383494555972},
/*8*/{-0.15435423483498198,-0.023084502717871037,0.9877458559380423},
/*9*/{-0.05050675349448591,-0.9888610112846578,-0.1400106003577274},
/*10*/{-0.6861092071187184,0.6546356623730684,-0.3173425679865493},
/*11*/{-0.33440314066246374,0.8819789432377727,0.3320958945850764},
/*12*/{-0.7543751807065135,-0.22703418742224102,0.6159330844138327},
/*13*/{-0.8099161872235257,0.3287345270874066,0.4857667962859606},
/*14*/{-0.4575480826093664,0.588373734701845,0.6666829084456084},
/*15*/{0.7604847535330206,-0.49292523837953656,0.42271461887696554},
/*16*/{-0.34751460098142006,0.9270852141346868,-0.1405226239349609},
/*17*/{-0.5672665239003972,-0.660056801450378,0.49247711593642224},
/*18*/{0.07565340105342133,0.9368317311945192,-0.3415009082508127},
/*19*/{0.2584037399252032,-0.9388777023307516,0.22745585782475758},
/*20*/{-0.39456941893589864,-0.8243062468800227,-0.40599776476620947},
/*21*/{0.49369744027207313,0.782795841574806,0.3788053693943554},
/*22*/{-0.7718850408434144,-0.5332167502569336,-0.346227354447328},
/*23*/{0.37711901016315363,-0.8751572870750011,-0.3031187474457617},
/*24*/{-0.33413243988624286,-0.06860358635077142,-0.9400260956779225},
/*25*/{-0.9419030873795596,0.3356317907052059,-0.013033612425982784},
/*26*/{0.14497916969249788,-0.39134212123388673,0.9087532032974827},
/*27*/{0.9880705547469073,0.14775222221291306,-0.04342648585005153},
/*28*/{-0.322132266512498,0.7290370045752451,-0.6039336460501892},
/*29*/{0.5793954843165566,-0.25933173389570613,0.7726887630529057},
/*30*/{-0.37291122722854103,-0.3963811684961956,0.8389393219229231},
/*31*/{0.47479290742898966,0.8771809503302109,-0.07159102899745665},
/*32*/{0.4176967082818102,-0.5352725406054555,-0.734174888677297},
/*33*/{0.08167694925715348,0.9852090364340099,0.15063874165968694},
/*34*/{0.6161521319155701,-0.12216837913783037,-0.7780947483916939},
/*35*/{-0.08436860552050947,0.33480099268770874,-0.9385042534255504},
/*36*/{0.19474014943150492,-0.04866237392254908,-0.9796470015080009},
/*37*/{0.8131686844709403,0.5719796411919142,-0.10768463519820047},
/*38*/{0.38923594636986764,0.5295101074392637,0.7537336559907702},
/*39*/{0.9237351787766636,-0.046040526708370486,0.3802546375665406},
/*40*/{0.3852173152026004,-0.702598616929429,0.5982999277594425},
/*41*/{-0.07849055008591964,-0.7355429637274601,0.6729158803730478},
/*42*/{-0.5690585876315986,-0.8220719580683519,0.01923589354295683},
/*43*/{-0.8622383959082422,-0.4834406616986284,0.15109624494994453},
/*44*/{-0.5292592092137826,0.34593305972204796,-0.7747354436539894},
/*45*/{0.027666692550214447,-0.7947685263124389,-0.6062817362468428},
/*46*/{-0.0145140128315643,-0.43511394989924046,-0.900258404034423},
/*47*/{0.036644392033299125,0.7960786269727933,0.6040827825800218},
/*48*/{-0.21179235657956993,-0.9318695739490443,0.29455575846093834},
/*49*/{-0.08357480913315846,0.43313263166396415,0.8974471431043753},
/*50*/{-0.9651123423000268,-0.04498520937952511,0.25794281861923646},
/*51*/{0.12091231519675362,0.6757228621466176,-0.7271717992373908},
/*52*/{-0.8492694749268294,0.24778356809417562,-0.46620238345596904},
/*53*/{-0.4429434291646292,-0.5110282715817632,-0.7366486436585863},
/*54*/{0.2928100587552431,0.0958556213376176,0.9513537561547388},
/*55*/{-0.7059830508838384,0.6861860493425164,0.17531867428331027},
/*56*/{0.6932723256552646,0.19313013713914617,0.6943156577588867},
/*57*/{0.8023093557818695,0.30061961362840867,-0.5156816319462891},
/*58*/{0.5248624557527432,0.689563051104557,-0.49902124312755836},
/*59*/{0.8975185186996385,-0.1390835550974811,-0.41846896335648687}}
0

LVL 55

Expert Comment

ID: 12115623
jitjester,
Is this what you are looking for?
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
In this tutorial viewers will learn how to create blended and gradiated shapes in Illustrator using the blend tool Draw two shapes, one of them in a different color: Select both and create a blend by going to Object > Blend > Make: Blends can also b…
In this Micro Tutorial viewers will learn how to remove an unwanted object using Photoshop’s feature known as content-aware fill.
###### Suggested Courses
Course of the Month9 days, 21 hours left to enroll