doing Xray effect Blending

View: New views
2 Messages — Rating Filter:   Alert me  

doing Xray effect Blending

by BioEngAKhaled :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
 Dear all,
 I want to have an X-Ray blending mode effect, i was using these lines of code to take this effect with opengl and delphi(using the DGL library), i tried to use the same lines with the GLEW library but i encountered a linkage error, this is the lines:

 glClearColor(1.0,0.0,0.0,0.0);
 glBlendFunc(GL_CONSTANT_ALPHA_EXT, GL_ONE);//XRay
 glBlendColorEXT(1.0, 1.0, 1.0, 1.0/30);// this is the function that gives the error, when i get rid of this line i have no result.

i want to if there is an alternatives to these lines in the GLEW library , if not how can i achieve the required blending effect using the GLEW.

PS my Programming envrionment Windows Xpx64 , visual studio 2008 , VC++ 9, OpenGl, GLEW (x64 environment).
my VGA card is Quadro FX 4600
Best Regards,


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
glew-users mailing list
glew-users@...
https://lists.sourceforge.net/lists/listinfo/glew-users

Re: doing Xray effect Blending

by Nigel Stewart-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ahmed,

 > i tried to use the same lines with the GLEW library but i
 > encountered a linkage error, this is the lines:

Make sure the compilation unit is including GL/glew.h
rather than GL/gl.h

- Nigel

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
glew-users mailing list
glew-users@...
https://lists.sourceforge.net/lists/listinfo/glew-users