Results 1 to 2 of 2

Thread: Programing the compound 3d object (grain sorter)

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2014

    Programing the compound 3d object (grain sorter)

    So I need program it. There should 4 open boxes for sorting different size with it rectagon basis. So I have idea to draw this part by rect faces. But How I can define coordinates if the the origin is at lower left (So I can to pre-calculate). Then in the middle part there should be the animation of grain than is falling vertically and then slides horizontally to sorting boxes. So the next important task it to create the particles. It is about creation the bunch of grain parttickes at the origin of some kind of methal box with unsorted grain than they move vertically (let it be without gravity acceleration) and reach sliding plane with constant speed so I need cue for such animation (exceopt grain in boxes should be also visible as the heap). Then this flying looping plane should be rotating and slides on two cylinders on right and left (So how to create cylinder as predefinder or with trygonometry I know but how to define its coordinates--as default is 0.0). Should it be done by gltranslate but it is ppalicable to the vertex but how to whole cylinder. Then this sliding plane is like extruded (cut-out) rounded rectangle--so I do not know algorith for its creation (especially if to take into account it should be moving--but I drop it). So here is the issues of rounded rectangle extruded and its coordinates--it cound be one semi-cylinder at right and to olaes in the middle and another semi-cylinder at left. So what could you advise. Is it possible to in Opengl especialaly animation and cylindrical bodies.

  2. #2
    Junior Member Newbie
    Join Date
    Apr 2014


    So the first thing I want to know. How to program the extruded curvy rectangle. So it is like the extruded football stadium? Can anyone refer to the formula. As for the front and back facets -the curved rectange itself and the other sides of such objects. Despite the question for cylinder is also important now.

Similar Threads

  1. Compound shadows
    By kuba15 in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 11-16-2017, 09:06 AM
  2. Compound shadows
    By d_a_heitbrink in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 07-25-2017, 02:01 PM
  3. Replies: 1
    Last Post: 04-06-2015, 05:08 PM
  4. Film Grain in OpenGL
    By mmeyer in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 02-02-2001, 02:50 PM
  5. Generating 2D textures from a 3D matrix (against the grain)
    By PeterK in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 10-30-2000, 05:15 PM

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