Sean Meighan
Software => Bugs in xLights/Nutcracker => Topic started by: thekameleon on September 06, 2019, 07:29:38 PM
-
Not sure if this is intended behavior. However it appears that the Square Style of a pixel will change its orientation to match the users perspective as the user moves the "camera" around. If this is intended then please ignore this
-
Ignoring.
-
"Square" is just the default way OpenGL renders a pixel when you tell it to render a glPoint of a given size. However your graphics card renders it is how it's rendered. Square is certainly the fastest as no shaders or anything get run for it.
The other optional all require a bit more processing. Smooth uses a shader to turn the square/cube into a sphere. It's still a single point, but uses shaders. Circle and blended circle require us to create a bunch of triangles that are sent to the card (so a lot more points/memory) and have the shaders process.
-
Ok that makes sense. My only question is, why do the other pixel styles such as circle which keeps its position no matter what the user's perspective is. If it's an OpenGL thing, then that's fine.
Thanks much for the insight