Article View: comp.graphics.api.opengl
Article #58PROG: kurbik's cube (variable size rubik's cube)
From: P�nk�l� Janne
Date: Tue, 16 Mar 1999 00:00
Date: Tue, 16 Mar 1999 00:00
39 lines
1921 bytes
1921 bytes
Started as a school assigment. Now freetime hobby GOALS: To make it easily pluggable to any application so that user just calls for rubik_init(x,y,z,size) at start , rubik_draw() at Idle function and rubik_mouse(x,y,state) at mousefunc() (not sure if this is doable since I have been doing OpenGL for < 3 weeks now) compile it as a library as well as a executable. make mirror object (don't know if there are many of these around?) like mirror(float point1[3], float point2[3], float point3[3], reflectivity); Make user interface intuitive (select works, but doesn't do anything yet but recognized the cubes) There are other goals as well like adding textures to cube etc. SCREENSHOTS: If you wish to check what I have come up with i have 2 screenshots at http://www.hut.fi/~epankala/kurbik/2x2cube.gif http://www.hut.fi/~epankala/kurbik/5x5cube.gif tried it up to 10x10x10 size, but it was a bit laggish there. USEFUL INFO? Written in Linux with Mesa 3.1beta DOWNLOAD http://www.hut.fi/~epankala/kurbik/scalable_kurbik_0.3.tar.gz PS. 1st crosspost I'll ever make so I wish it works. (doesn't go everywhere) -- Janne P�nk�l� (epankala@cc.hut.fi)
Technical Details
Message-ID:
<m3zp5d78ff.fsf@soulless.own.fi>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f65bb,169bf70add77a127,start X-Google-Attributes: gidf65bb,public X-Google-Thread: 100291,169bf70add77a127,start X-Google-Attributes: gid100291,public From: epa@soulless.own.fi (P�nk�l� Janne) Subject: PROG: kurbik's cube (variable size rubik's cube) Date: 1999/03/16 Message-ID: <m3zp5d78ff.fsf@soulless.own.fi> X-Deja-AN: 455650657 X-Complaints-To: usenet@nntp.hut.fi X-Trace: nntp.hut.fi 921598615 4403 130.233.25.27 (16 Mar 1999 15:36:55 GMT) Organization: Helsinki University of Technology NNTP-Posting-Date: 16 Mar 1999 15:36:55 GMT Newsgroups: comp.graphics.api.opengl,3dfx.opengl