Not logged in, Join Here! or Log In Below:  
News Articles Search    

Submitted by Karpati Istvan, posted on January 17, 2001

Image Description, by Karpati Istvan

This is a Jelly Cube.
I used some code from It's using OpenGL for rendering.
It's a screensaver.
You can download it from
Hardware accelerated OpenGL rendering is hardly recommended.

Image of the Day Gallery


Message Center / Reader Comments: ( To Participate in the Discussion, Join the Community )
Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.

January 18, 2001, 06:27 AM

VERY nice code.
How many springs are you linking from each point?
Do you use an Euler solver or something of higher-order?
One slight problem: I get Z-fighting between the ground and shadow
polys. System is TNT2 running in 32bit mode so I'm not sure why.
Maybe add environment mapping as well as vertex lighting? :)
Good stuff.


Timothy Barnes

January 18, 2001, 06:38 AM

Jeez. I guess is really that helpful. (I learned how to do quadratic beziers and found out how dot/cross product works out in math...)


January 18, 2001, 06:46 AM

yeah, looks cool indeed.

however, there's a little bug. if the screensaver password
is activated, and you want to stop the screensaver, then the password
dialog pops up but is immediately overwritten by your screen saver.
i guess this is because you don't call ValidateRect() after rednering a frame in order to get a higher frame rate.
(i had the same problem once, but could only solve it by calling ValidateRect(), and then the frame rate goes down...)


January 18, 2001, 07:09 AM

Firstly i would like to congratulate Karpati Istvan on a beautiful display of non-rigid dynamics. I'm interested to know, is the cube stable or does it show the possibility to collapse (and go bannanas)?

Secondly i would like to thank Kurt Miller for re-opening this iotd message board. It gives the iotd alot of purpose if people can discusss what they see.


February 02, 2001, 12:31 PM

Hát, ez tök frankó, végre egy magyar srácra leltem. Azt hittem, hogy csak én olvasom ezt az oldalt Mo-ról.

A stuff egész kúlul néz ki. Így tovább!


This thread contains 5 messages.
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.