Hi Peter,

Sorry for the delay, I've now merged and submitted your changes to SVN.

One merging I had to do a lot of work on changing the
indentation/coding style to be consistent with the rest of the OSG.
This  type of normalization is essential for keeping the whole code
base readable, as the alternative would be several hundred different
code styles populating the OSG code base which would be nightmare for
myself to maintain, as well as anybody else trying to work with the
code.   In future submission could you try to fit in with how the rest
of the OSG is indented etc.

As I've had to make quite a many line changes that is change that I
might have broken something, in theory the changes are just white
spaces and line breaks but there is always a chance when making so
many changes that something gone astray.  Could you please test what
is now in SVN to make sure that things are still working sweetly.

Cheers,
Robert.

On Oct 30, 2007 8:02 AM, Peter Hrenka <[EMAIL PROTECTED]> wrote:
> Hi Robert,
>
> Due to popular demand I would like to submit this
> enhanced version of PolytopeIntersector.
>
>
> New features of PolytopeIntersector :
>
> * Dimension mask: The user may specify the dimensions of the
>     primitives to be tested. Checking polytope-triangle and
>     polytope-quad intersections is rather slow so this can
>     be turned off.
> * Reference plane: The resulting intersections are sorted
>     by the distance to this plane.
>
> New memebers of PolytopeIntersector::Intersection :
>
> * distance: Distance of localIntersectionPoint to the reference plane
> * maxDistance: Maximum distance of all intersectionPoints to the
>     reference plane.
> * intersectionPoints: The points intersecting the planes of the polytope
>     or points completely inside the polytope.
> * localIntersectionPoint: arithmetic mean of all intersection points
> * primitiveIndex: Index of the primitive that intersected
>
>
> I added some more output to the example osgkeyboardmouse.
>
>
> Cheers
>
> Peter
>
> --
> ________________________________creating IT solutions
> Peter Hrenka                    science + computing ag
> Software Solutions              Hagellocher Weg 73
> phone +49 7071 9457 263         72070 Tuebingen, Germany
> fax   +49 7071 9457 511
> [EMAIL PROTECTED]   www.science-computing.de
>
> --
> Vorstand/Board of Management:
> Dr. Bernd Finkbeiner, Dr. Florian Geyer,
> Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
> Vorsitzender des Aufsichtsrats/
> Chairman of the Supervisory Board:
> Prof. Dr. Hanns Ruder
> Sitz/Registered Office: Tuebingen
> Registergericht/Registration Court: Stuttgart
> Registernummer/Commercial Register No.: HRB 382196
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to