<?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>27</bug_id>
          
          <creation_ts>2003-07-20 05:27:35 +0200</creation_ts>
          <short_desc>convenient usage of jogl from a jdk perspective</short_desc>
          <delta_ts>2015-09-27 03:15:03 +0200</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1057623983;start=15</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:45:39 +0100</bug_when>
    <thetext>


---- Reported by thebohemian 2003-07-20 17:27:35 ----

On Java.net forums I once saw a post about adding methods like glColor
(java.awt.Color) to jogl. At the given thread I wanted to know about the latest 
opinion regarding this feature is and had given the following example of why such a 
feature should be usefull:

The current implementation needs the following code to get an AWT-Color-object 
to OpenGL:

float[] rgb = color.getRGBComponents(null); 
gl.glClearColor3f(rgb[0], rgb[1], rgb[2]); 

It would be possible to write a wrapper for such but it would speedup development 
with jogl in conjunction with the JDK to have convenient methods ready. There 
may be more situations like this.

I know that including such methods to the GL class might be a design break so one 
could implement as a helper class/package similar to the SwingUtilities.



---- Additional Comments From kbr 2005-01-28 18:11:20 ----

This won&apos;t be fixed in the core JOGL package. JOGL exposes pure OpenGL; wrapper
classes could be created to make it more convenient to use. The community would
have to contribute these utility classes.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:45 EDT  ---

This bug was previously known as _bug_ 27 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=27
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>