×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    May 2004
    Location
    Mumbai
    Posts
    58

    How to implement Bezier Curve ?

    Hi All,

    I have created an applet that displays Bezier curve. Now i m tyring to implement the curve using j2me.

    I m trying the stuff for past 2 days but as midp1.0 does not support floating pnts i m not able to get the result.

    Wat is get is straigth lines and no curve.

    can nebody guide me on drwaing a bezier cuve using midp1.0 or or..

    can nebody guide me on how to use Fixed Point Math for the implementing bezier curve. If required i can provide my code for drawing the bezier code.

    Thanking in Advace
    --Gaurav.

  2. #2
    Registered User
    Join Date
    Jun 2004
    Posts
    12

    solution

    Hi Gaurav,

    If your problem is fix point integer then you can use, ready made class available on
    http://www.jscience.net

    It is available for 32 bits as well as 64 bit for j2me.

    Parag

  3. #3
    Regular Contributor
    Join Date
    May 2004
    Location
    Mumbai
    Posts
    58
    Hi
    Parag. Thanx for replying.

    It have already downloaded the Mathfp api from jscience.net and implemented in my code. The only thiing is its not working or rather giving me the result as it gives in j2se(applet).

    I m looking for some other way or some code snipett to implemnt a bezier curve in J2me.

    Ne way thanx for replying.

    --Gaurav.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×