hybr wrote:
> Seems like you mess up sampler uniforms setup. You unit declared as unsigned
> int, and osg uses different gl functions to set uniform with int and unsigned
> values (which is right thing), and samplers uniforms must be set with signed
> int version. So just cast it to int when us
Jason Daly wrote:
>
> What hardware are you running on? It's almost as if you don't have
> enough texture units (i.e.: more than one) to handle the operation...
>
I'm running a NVidia GeForce GTX 460 on my i7 machine, I've done plenty of
other shader stuff before with multiple textures, for
One more point to add onto the problem is that I guess the actual problem is
that in the debugger I receive the message:
Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..)
Is there any way to actually working out what is causing this error, it only
every occurs if i
Hi Jason,
Yeah I had tried that combination too. I have just tried increasing the units
of the uniforms to use 1 and 2 instead of 0 and 1
Code:
unsigned int unit = 1;
it actually seems to make the calculation "work", but the diffuse color now
being black instead of the should be sampled tex
Hi,
I have a problem that I have got my mind stuck at working out what is going
wrong. I have a simple vertex and fragment shader I am trying to test. which
look as follows:
vertex:
Code:
varying vec3 normal, eyeVec, reflectVec;
void main()
{
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position
Running any of the debug programs through dependencywalker comes up with the
error that
MSVCP80D.DLL Error Opening File. The System cannot find the specified file ( 2).
But the file can be located here:
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c
t
Hi,
I understand the concept of matricies, Vectors and Points in 3d Space. I have
learnt this at University.
I have an issue trying to understand the concept of OpenSceneGraphs use of
Quaternions and "attitude".
I do not really get what Attitude is, I'm used to the concepts of
Translate,Rotat
I've downloaded and run the Redistributable, tried DependecyWalker.exe
OSG example debug versions are missing:
MSVCP80D.dll
MSVCR80D.dll
and both the examples and my debug version of my program are missing:
EFSADU.dll
IESHIMS.sll
WER.dll
So obviously I need these DLL's. Are they just things I
I have realised that it works fine if i select release build in VS 2005. So I
guess my problem technically must lie in the fact that I cannot get the debug
binaries to work:
openscenegraph-all-2.8.0-win32-x86-vc80sp1-Debug.tar.gz
I uncompressed these in exactly the same way that I have the rele
Hi,
I have only just installed OSG and got everything configured and the demo
programs running.
I have been going through the tutorials on openscenegraph.org and I am
currently stuck on the pyramid texture tutorial:
http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/Textures
I
10 matches
Mail list logo