Hi all, for instanced rendering I want to give the instanced Geometry core an attribute that represents a per-instance position offset. I know how to set the usual indices and positions, but how do I add custom vertex attributes? I tried setting the property to binding location 1 using Snippet geo->setProperty(offsets, 1) but this causes the following warning: Snippet WARNING: GeoVectorProperty::activate: Non-Generic attribute nr. 1 unknown!
and this approach does not work (the instances are not rendered with an offset). I also tried misusing the colors property, but even though I set its divisor to 1 it seemed to be advancing per vertex, not per instance. Am I even on the right track here? Or do I have to set some properties in the GeoInstancer? Kind regards, Marcel --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users