Re: Hello World

Gerald de Jong <[email protected]> Fri, 23 Jul 2004 20:27:16 +0200
Newsgroups gmane.comp.graphics.fluidiom
Organization Beautiful Code BV
Message-ID <[email protected]>
On Friday 23 July 2004 04:54, [email protected] wrote:
> I am considering using Fluidiom in my research but there is quite a
> bit of customization I need to make to the current code. I have been
> trying to get a simple HelloWorld example to work where I create a
> cube and set down a plane but the code seems to be fairly coupled. I
> figured I would then play around this getting the intervals to flex.
>
> I have the cube but I am unable to get the Floor to show up. Any ideas?

the _cube_?  what do you want with a cube.  that's got to be the most 
hackneyed shape of all, and it's not even stable!  make it out of intervals 
and joints and it flops down flacid on the table.  boo...ring.  :)

to get the floor to show up you just set the gravityOn attribute of the 
physics to true.

> Two files are included:
> MyFabricFactory.java & HellowWorld.java
>
> MyFabicFactory just builds a fabric object consisting of 8 verticies
> and 12 elastics.
>
> Oh, one more thing, when I was running this, why did only two of the
> verticies have "balls" for the joints?

those are to mark where _you_ the viewer are.  you are effectively holding on 
to the the interval between the balls (don't misinterpret), and that interval 
is oriented vertically to determine your axis of rotation around the fabric, 
and kept central to your view.

> //HelloWorld.java
>...
> ========================
> Rob Leclerc
> Yale University
> email: [email protected]
> email: [email protected]
> webpage: www.cpsc.ucalgary.ca/~leclerc
> ========================
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Fluidiom-code mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fluidiom-code

-- 
Gerald de Jong
Beautiful Code BV
Rotterdam, NL



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click