Hi Can,

Thanks for the tip.  It worked out just fine. 

Keith
  ----- Original Message ----- 
  From: Can T. Oguz 
  To: OpenSceneGraph Users 
  Sent: Tuesday, May 12, 2009 8:47 AM
  Subject: Re: [osg-users] Using hints


  Hi,

  Geode* geode = new Geode;
  Cylinder* cylinder = new Cylinder;
  TessellationHints* toplessBottomLess = new TessellationHints;

  toplessBottomLess->setCreateTop(false);
  toplessBottomLess->setCreateBottom(false);
  geode->addDrawable(new ShapeDrawable(cylinder, toplessBottomLess));

  Good luck with the magnifying glass,

  Can


  2009/5/12 Keith Steffen <[email protected]>

    Hi,

    I am looking for the correct procedure to draw a ShapeDrawable cylinder 
that produces the body but does not attempt to draw the top or the bottom of 
the cylinder.  I know it involves Hints, but I have not figured it out. I have 
a kind of magnifying glass effect and I want to use two cylinders to represent 
the inner and outer radius of the effect just using flat color on the cylinders 
that barely stick up from a HeightField. I'm using a Texture Matrix to move the 
data underneath this

                   ____
                 /         \
           ___            ___

    Keith


    ----- Original Message ----- From: "Stephan Posch" <[email protected]>
    To: <[email protected]>
    Sent: Tuesday, May 12, 2009 7:51 AM
    Subject: Re: [osg-users] txp database issue



      Robert,

      Thanks for the ideas.  I've been thinking about the expiry scheme change 
as a possibility, so I'll look into that a bit more (though things have been 
mostly better for me since the change).  Now if I can only find those 2.6 
binaries I have laying around somewhere...

      Thanks again!

      Steve P.

      ------------------
      Read this topic online here:
      http://forum.openscenegraph.org/viewtopic.php?p=11901#11901





      _______________________________________________
      osg-users mailing list
      [email protected]
      http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





    _______________________________________________
    osg-users mailing list
    [email protected]
    http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





------------------------------------------------------------------------------


  _______________________________________________
  osg-users mailing list
  [email protected]
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to