Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Using High-level API or plain OpenGL

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2012
    Posts
    3

    Using High-level API or plain OpenGL

    Hi!
    I'm struggling with the following problem and need to decide what technology I should use to do that.
    The problem is to create a 3D model of a vascular system. So, as you can figure out, the model is complicated and irregular. To be specific it should consist of generalized cylinders connected to each other. The junktions are also irregular. This forms a tree that should look more or less like this
    I really don't want to reinvent a circle . I would like to work at a maximum high level of abstraction (if possible). So my question is: do I need to use plain OpenGL and draw cylinders (where top and down ellipes are not parallel, of course) and take care of everything on my own? Or can I use a already existing API that will help me with e.x. meshing such a cylinder? If yes, what API? I'd like to start a discussion here what is the best and easiest way to do that.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,580

    Re: Using High-level API or plain OpenGL

    What is not clear in your post is whether you create the tree procedurally, or from a specific modeller, or measured from an actual vascular system.
    This is important to help decide how to mesh it.

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2012
    Posts
    3

    Re: Using High-level API or plain OpenGL

    I want to create in, using a modification of a method described here: http://alturl.com/rx8zf
    The whole algorythm for meshing is described there. But, I want to make my work as simple as it can get so, e.x. would be convenient if I could use a function for drawing a generalized cylinder instead of writing such on my own.
    As far as I know glut provides some of the functionality that I may use, but still, I don't want to write everything from scratch (if that is possible, of course).

Posting Permissions

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