Pointer Textures?

Oh, I forgot that the hardware skinning was added in a dev build, not 1.9 and now that I think of it… maybe so was buffer texture support…
If you want to try a never build yourself look for something here:
panda3d.org/download.php?sdk&version=devel

All I know about “GeomEnums. UH_static” is that it’s a “usage hint” I think rdb is needed to explain how it works with texture buffers.

‘struct’ is a Python module to pack data into a C thingy (‘struct’ it’s called for all I know), there’s more here:
docs.python.org/2/library/struct.html
“fff” here means the next 3 arguments will be floats

I’m not sure if it’s the only or best way to pack/send data, but it worked for me.

Thanks, I’ll add 1.10. to the others and will test this then.

:display:gsg:glgsg(error): An error occurred while compiling GLSL shader morph_f
.glsl:
morph_f.glsl(27) : error C7616: global variable gl_LightSource is removed after
version 140
morph_f.glsl(27) : error C7616: global variable position is removed after versio
n 140
morph_f.glsl(31) : error C7616: global variable diffuse is removed after version
 140
morph_f.glsl(33) : warning C7533: global variable gl_FragData is deprecated afte
r version 120

With this error message I’m wondering how you got it to work …

Must be a driver issue. Most of the time ATI/AMD gives problems and Nvidia drivers eat all errors and just work… I found it’s exactly the opposite for me (except on linux, AMD/ATI drivers there are a abomination).

Just made a commit with a fix.

I’m using nvidia. After two notebooks and a desktop ATI card, over the course of ten years, I have stopped accepting that my driver BOMBS without me doing anything.
And that hasn’t changed. In over a decade at least. No change. Seriously. The only reason my nvidia drivers ever bombed was because I had endless loops running in shaders.
The ATI drivers otoh bomb just because they can. Sheesh, I sound like I hold a grudge against them… cough

I’ll check it out later, first I’ll have to test the opengl callback stuff…

OMG THIS REALLY WORKS! PROPER SINGLE-VERTEX PARTICLES WOOHOO! :smiley:

Just so you know, it still spits out error messages.

morph_f.glsl(7) : error C7616: global type gl_LightSourceParameters is removed a
fter version 140
morph_f.glsl(29) : error C7616: global variable position is removed after versio
n 140
morph_f.glsl(33) : error C7616: global variable diffuse is removed after version
 140

Not sure you fixed it yet, but I wanted to tell you that the (for me) important part of your gpu_morph works
and I’m already trying to abuse it somehow. Thanks, helps me a ton! :slight_smile: