FunkyGlMaterial

On 07/09/2016 at 05:07, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R16+ 
Platform:   Windows  ;   Mac OSX  ; 
Language(s) :     C++  ;

---------
Hi all,

i'm working on the FunkyGlMaterial sdk example.
But after i compiled it, i see black object.

This in Enanched OGL, when in the other way it show the bmp generated in the InitGLImage.

the Source tell:
// example how to use GLSL materials and callback functions to generate a cube map
// it creates an OpenGL preview image with alpha channel if enhanced OpenGL is not active

Does anyone run successfully this example?

On 08/09/2016 at 08:48, xxxxxxxx wrote:

Hi Renato,

I can reproduce your issue in R17. We are looking into it.

On 08/09/2016 at 11:24, xxxxxxxx wrote:

Thanks :)

Seem that the texture is not processed correctly in the GL part of code.
If i assign a vec3 to ocolor.rgb it work.

ps. would be cool an example of Glsl code that take in account also one light. :)

On 23/09/2016 at 12:23, xxxxxxxx wrote:

Hi

Do you have any news?

On 26/09/2016 at 13:03, xxxxxxxx wrote:

No, unfortunately not, yet. Sorry. But I'll ask again, tomorrow.

On 26/09/2016 at 13:12, xxxxxxxx wrote:

Thanks