If I want to fill a uniform array of structures, do I have no choice but to retrieve the location of each variable within each structure of the array? (so I can submit the uniform values individually...
Type: Posts; User: bardackx
If I want to fill a uniform array of structures, do I have no choice but to retrieve the location of each variable within each structure of the array? (so I can submit the uniform values individually...
I see an interesting thing, that matrix (wich looks like mine) is column mayor or row mayor?
11 12 13 14?
11 21 31 41?
Maybe there is my trouble
THAT WAS FAST
Thankyou very much!
All my...
okay, here is the problem.
I have a trackball rotation clas wich works great with gluLookAt, since gluLookAt is not usable anymore due to deprecation I tryed to program it myself and is not...
I heared that is a great book for learning about shaders in OpenGL but I have also heared that the examples in the book are old in comparison to version 330 core+.
It still worth buying it? (lack...
Thanks for your fast reply, they helped a lot
I am starting with glsl and OpenGL 3.30 and so far I have implemented rotation, traslation and perspective (like in OpenGL 2.0).
My question is this. Should I calculate the vertex transformation...
duplicate the necesary vertices, looks like the solution
You mean you want boolean operations?
http://thebuildingcoder.typepad.com/blog/2009/02/boolean-operations-for-2d-polygons.html
that link may help you
Thank you for your fast repply.
Well, in that case, and being a litle off-topic, in programs like 3dMax, how you define the UV texture coordinates to fit opengl requisites?
So far I have understood that an element can have TexCoords, Color, Position, etc. But only one index for all those values.
I want to render my 3dMax models on OpenGL, but this texture isue is...