Michael Raab | 8 Jun 2012 10:51
Picon
Picon

OpenSG1.8 - Problem with BlendChunk

Hi all,

we have a problem with the OpenSG Blendchunk implementation. We are trying to render a geometry that has
blend equation set to FUNC_ADD. The graphic chip is either onBoard Intel or ATI. It seems that GL extension
glBlendEquationEXT is not supported by these chips. OpenSG throws a warning that indicates that the
extension is not supported. However I'm not sure if this extension is necessary when using FUNC_ADD.
Please find attached a test geometry..

Thanks,
Michael
--

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Attachment (box.osb): application/octet-stream, 7762 bytes
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Opensg-users mailing list
Opensg-users@...
https://lists.sourceforge.net/lists/listinfo/opensg-users
Carsten Neumann | 8 Jun 2012 16:08
Picon

Re: OpenSG1.8 - Problem with BlendChunk

	Hello Michael,

On 06/08/2012 03:51 AM, Michael Raab wrote:
> we have a problem with the OpenSG Blendchunk implementation. We are trying to render a geometry that has
blend equation set to FUNC_ADD. The graphic chip is either onBoard Intel or ATI. It seems that GL extension
glBlendEquationEXT is not supported by these chips. OpenSG throws a warning that indicates that the
extension is not supported. However I'm not sure if this extension is necessary when using FUNC_ADD.

as far as I can tell glBlendEquationEXT is introduced by
http://www.opengl.org/registry/specs/EXT/blend_minmax.txt
With subsequent extensions
  - http://www.opengl.org/registry/specs/EXT/blend_subtract.txt
  - http://www.opengl.org/registry/specs/EXT/blend_logic_op.txt

adding additional blending equations (GL_FUNC_ADD is just the OpenGL 
default blending equation: C' = clamp((Cs * S) + (Cd * D), 0.0, 1.0).

If you need additive blending you can leave _sfBlendEquation set to 
GL_NONE (which is functionally equivalent to GL_FUNC_ADD anyway) and set 
_sfSrcFactor = GL_ONE and _sfDestFactor = GL_ONE.

	Cheers,
		Carsten

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
(Continue reading)


Gmane