drawing NURBS curves on a 2D Image

  • Follow


Hi, I am trying to create NURBS curves and I want these curves to be
drawn on a 2D image this image is loaded from an existing file and the
curves represents edges of objects on the image. Please can anyone
help?

Thank you in advance.

Alex
0
Reply Alex 3/5/2008 11:43:39 AM

On Mar 5, 12:43 pm, Alex <abrayb...@gmail.com> wrote:
> Hi, I am trying to create NURBS curves and I want these curves to be
> drawn on a 2D image this image is loaded from an existing file and the
> curves represents edges of objects on the image. Please can anyone
> help?
>

First you need to decide what language, what operating system,
what window API, etc. you're going to use.

Than, for simple 2D stuff like this OpenGL might not be the dest
choice.

--
<\___/>
/ O O \
\_____/  FTB.     Remove my socks for email address.

0
Reply fungus 3/5/2008 3:05:12 PM


On Mar 5, 5:05=A0pm, fungus <openglMYSO...@artlum.com> wrote:
> On Mar 5, 12:43 pm, Alex <abrayb...@gmail.com> wrote:
>
> > Hi, I am trying to create NURBS curves and I want these curves to be
> > drawn on a 2D image this image is loaded from an existing file and the
> > curves represents edges of objects on the image. Please can anyone
> > help?
>
> First you need to decide what language, what operating system,
> what window API, etc. you're going to use.
>
> Than, for simple 2D stuff like this OpenGL might not be the dest
> choice.
>
> --
> <\___/>
> / O O \
> \_____/ =A0FTB. =A0 =A0 Remove my socks for email address.

I am using C++ Borland Builder  and MS XP Windows. OpenGL has an
important facility to draw NURBS, however I don't know how can anyone
fit these curves on a 2D image. The problem is that these curves are
drawn but they take the color of the image (if B&W or white if
colored). In addition, if the image is scaled or rotated these curves
remain the same.

I am usnig the following technique:
create a texture for the image
create NURBS and store them in lists (the same applies for the image)
later a call the list content.

Thank you for your help.
0
Reply Alex 3/6/2008 6:55:57 AM

2 Replies
384 Views

(page loaded in 0.043 seconds)

Similiar Articles:













7/15/2012 3:03:39 AM


Reply: