Results 1 to 2 of 2

Thread: Help with splitting mesh

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    13

    Help with splitting mesh

    I need help with splitting a 3d mesh.

    I have a 3d object thats displayed using triangles. What Id like to do is split my mesh
    into a new mesh but it should be halved with the
    hole left by the splitting now closed when rendering. The object is centered at 0,0,0
    and orientated at the correct position.
    Is the an OpenGL function that can do this or do
    I have to do it manually. If the latter is true id like some help aswell. Appreciate it.

    CIAO

  2. #2
    Guest

    Re: Help with splitting mesh

    What Id like to do is split my mesh
    into a new mesh but it should be halved with the
    hole left by the splitting now closed when rendering.
    Do you mean you want to split an arbitrary mesh (possibly nonconvex) in half, so that each part after the split is sealed?

    Opengl has no such functions for this task, but it does have user clip planes. I don't think that's what you want. And just to cover my arse, there may be a convoluted way of doing this with some fancy shader stuff, but I'm not going there. And there is some CSG stuff that is possible, but I'm not going there either.

    I think you probably want to post this question in the math & algos forum. This is very doable and not all that difficult depending on what you are dealing with.

Similar Threads

  1. Splitting a Mesh into multiple parts
    By devdept in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-20-2010, 02:07 AM
  2. splitting a sphere
    By nick800 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-27-2003, 12:08 PM
  3. Splitting the screen
    By in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 09-17-2001, 08:40 AM
  4. Splitting up a Block
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 07-24-2001, 09:47 AM
  5. Splitting textures
    By DaViper in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-18-2001, 01:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean