<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1485</bug_id>
          
          <creation_ts>2024-01-15 18:11:41 +0100</creation_ts>
          <short_desc>Graph: Support AABBox Clipping to [GL]Region</short_desc>
          <delta_ts>2024-01-20 05:26:42 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>graph</component>
          <version>2.6.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>805</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>sgothel</cc>
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>c87e89959e40ee8411cccc16fe0a5708f54a6c9f
f836fbd9201034010ecbf591348433f23920f527
bb11c498b7d4fe269e7273a1b164e46f3c7a3b50
335dd0a493fff1435cad1cd22e4ac5a20d7df03a
6363ae5fb6975a6f2e7c1093ce81f25b699e3e61</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7020</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2024-01-15 18:11:41 +0100</bug_when>
    <thetext>Pixel accurate clipping of the rendered Region is essential 
for GraphUI, allowing to pixel accurate cut-off an inner Region 
using its parent Group&apos;s AABBox (outside).

Object culling beforehand is possible to enhance performance (TODO) inside a Group,
this on top of frustum culling from the Scene.

- Graph GLSL functions.glsl: Complete overload vec2 and vec3 variants;
  Fix &apos;and&apos;/&apos;or&apos; semantic (swapped); Add EPSILON in clip_coord(..)
  and add is_inside(..) function
  commit c87e89959e40ee8411cccc16fe0a5708f54a6c9f

- Graph Clipping: GLSL: Add `USE_AABBOX_CLIPPING`, 
  i.e. clipping via AABBox min/max vec3 as convenient 
  using Graph/GraphUI produced AABBox
  commit f836fbd9201034010ecbf591348433f23920f527

- Graph Clipping: Initial Region impl of AABBox clipping 
  using GLSL shader (Convenient using Graph/GraphUI produced AABBox)
  commit bb11c498b7d4fe269e7273a1b164e46f3c7a3b50

- Graph Clipping: Add missing Modelview-Matrix (Mv) Multiplication / Consideration
  commit 335dd0a493fff1435cad1cd22e4ac5a20d7df03a

- Graph/GraphUI: Revise Graph Region ShaderMapping, 
  fix AABBox-Clipping for Pass2-AA, revise Pass2 AA Quality parameter ..
  commit 6363ae5fb6975a6f2e7c1093ce81f25b699e3e61</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7021</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2024-01-15 18:12:28 +0100</bug_when>
    <thetext>Implemented as described.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7046</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2024-01-20 05:26:42 +0100</bug_when>
    <thetext>Has been revised using Frustum planes by Bug 1487</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>