Tapered square shape

Home Forums Problems and solutions in GDL Object design Tapered square shape

Viewing 1 reply thread
  • Author
    Posts
    • #4345
      James Murray
      Participant

      Is there a shape that can build a tapered square profile that renders correctly in OpenGL?

      As far as I can tell, all the shapes with 0, 1 status (PYRAMID, SWEEP, TUBE, etc) render like it is assumed the shape is rounded. Same for MASS and HPRISM_.

      The attached image is a SWEEP on top of a PRISM_. The tapered portion should have square corners like the base, not be ‘smoothed’ or whatever.

      James M

    • #4347
      Péter Baksa
      Keymaster

      Hi,

      pyramid works for me:

      addz 5
      cutplane
      del 1
      
      pyramid 4, 10, 1 + 4 + 16,
      		-1, -1, 0,
      		 1, -1, 0,
      		 1,  1, 0,
      		-1,  1, 0
      
      cutend

      Péter Baksa
      Library Platform, Software Engineer
      GRAPHISOFT SE

Viewing 1 reply thread
  • The forum ‘Object design’ is closed to new topics and replies.