View Full Version : A problem with cubes...
CyBBe
03-15-2000, 01:07 AM
I've done a "worm" that U control with the arrow-keys, but between the cubes (glutSolidCube) I get a "crack", and it dosn't look good at all, what can I do about this, some kind of smooth or something, anyone???
why don't implement something like an arc fillet ?
Dolo/\/\ightY
CyBBe
03-15-2000, 09:03 AM
Arc fillet, what's that?
suppose you have two unconnected lines:
/ \
/ \
/ \
/ \
you can create an arc fillet by joining these two lines:
______
/ \
/ \
/ \
/ \
or maybe with more than one segment, to make it appear smoother:
__
.' '.
/ \
/ \
/ \
/ \
the revenge of ascii art http://www.opengl.org/discussion_boards/ubb/smile.gif
with your cubes, you can extend the concept to surfaces easily: you just have to retrieve the needed vertices, and connect them with strips.
Dolo/\/\ightY
[This message has been edited by dmy (edited 03-16-2000).]
[This message has been edited by dmy (edited 03-16-2000).]
CyBBe
03-16-2000, 09:45 AM
And how do I do that??? Any example or piece of code???
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.