Thread: UNRBS Modelling with C. (No OGL)

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    3

    Question UNRBS Modelling with C. (No OGL)

    Hallo
    I need to learn how to display objects modelled by uniform non-rational B-Spline patches without OpenGL surface modelling functions. I writting in C. Anyone knows where I can find a tutorial or some example source code?

    Thanks

  2. #2
    Registered User
    Join Date
    May 2003
    Posts
    3

    Unhappy

    This is a part of a programming assignment I have.
    1. I can't use OGL or any other library because thats what the assignment brief says...

    2. I cant find anything relevant...I have made a lot of web searches....

    thanks anyway
    Last edited by alkolas; 05-21-2003 at 03:55 AM.

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Originally posted by Salem
    > I can't use OGL or any other library because thats what the assignment brief says...
    Well that's gonna make it tough!
    What are you supposed to do - code your own graphics library starting with drawPixel() and work your way up to a usable API?
    Code:
    void putpixel( unsigned int x, unsigned int y )
    {
        gotoxy( x, y );
        putchar( '*' );
    }
    This of course would require a Borland DOS based compiler, but it seems like most of the people show up here using the Turbo C compiler anyway...

    I'll leave the rest as an exercise for the reader...

    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    Registered User
    Join Date
    May 2003
    Posts
    3
    well, the purpose is to make a 3D graphics modelling system.

    We can use OGL only for viewing transformations, lighting, texturing, camera etc....

    To be honest I have no idea (yet) what kind of functions I have to write in order to model something with UNRBS. I need to find some source code or a tutorial...(I'm a newby in Graphics Programming)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Aircraft Modelling Reference?
    By SMurf in forum Game Programming
    Replies: 4
    Last Post: 01-21-2009, 03:44 PM
  2. Free 3D Modelling Programs
    By Vikstar in forum Game Programming
    Replies: 3
    Last Post: 07-09-2003, 10:18 PM
  3. 3D Modelling + Graphics Cards
    By MethodMan in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 10-17-2002, 10:29 PM
  4. 3D Modelling
    By Ruski in forum C++ Programming
    Replies: 2
    Last Post: 07-25-2002, 02:56 AM
  5. 3D Modelling Software
    By Ruski in forum C++ Programming
    Replies: 0
    Last Post: 06-27-2002, 01:59 AM