Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  GL_FUNC_ADD  (Read 1305 times)
0 Members and 1 Guest are viewing this topic.
Offline anarchotron

Junior Member




...precious bodily fluids.


« Posted 2005-09-20 05:05:36 »

Howdy.

I'm doing some simple blending.

According to the Red Book, the valid operands for glBlendEquation() are GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.

As such I would expect to find all those constants defined in GL11.

However, GL_FUNC_ADD, GL_FUNC_SUBTRACT, and GL_FUNC_REVERSE_SUBTRACT are all found in ARBImaging.  GL_FUNC_ADD of course is the most commonly used blend operand.

Can you explain to me why these constants live in ARBImaging and not GL11?

Am I somehow smoking crack and not realizing it?!

Thanks!
Offline anarchotron

Junior Member




...precious bodily fluids.


« Reply #1 - Posted 2005-09-20 07:37:44 »

Heh, nevermind.

I see that it is indeed part of the ARBImaging extension.  Funny I never realized that before.  Under C++ there is was never any indication that it was an optional part of the language, although I did finally find mention of it in the Red Book.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (26 views)
2014-07-23 16:59:36

Riven (25 views)
2014-07-23 12:16:32

Riven (19 views)
2014-07-23 12:07:15

Riven (22 views)
2014-07-23 11:56:16

ctomni231 (51 views)
2014-07-17 21:55:21

Zero Volt (46 views)
2014-07-17 14:47:54

danieldean (37 views)
2014-07-17 14:41:23

MustardPeter (40 views)
2014-07-16 14:30:00

Cero (56 views)
2014-07-15 15:42:17

Riven (55 views)
2014-07-14 09:02:53
HotSpot Options
by dleskov
2014-07-07 18:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-13 15:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-13 15:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 02:13:37

HotSpot Options
by Roquen
2014-05-15 00:59:54

HotSpot Options
by Roquen
2014-05-06 06:03:10

Escape Analysis
by Roquen
2014-04-29 13:16:43

Experimental Toys
by Roquen
2014-04-28 04:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!