#190 open
lindsay.kay (at xeolabs)

State change bug - enableBlend for selected render not working

Reported by lindsay.kay (at xeolabs) | November 1st, 2010 @ 03:49 AM

In Subgraph Config on Pick Demo we have a row of teapots, each with their own renderer node.

Select teapot 8 and enable blending, all the teapots are blended.

Seems to a problem with the default renderer blend not re-enabling?

SceneJS.withNode("teapot8").bind("picked",
        function(event) {
            SceneJS.withNode("teapot8-renderer").set({

                enableBlend: true,

                blendFunc: {
                    sfactor: "srcAlpha",
                    dfactor: "one"
                }
            });
        });

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

SceneJS provides easy access to WebGL through a simple and declarative JavaScript API. The SceneJS API is functional, which enables its scene definitions to be really compact and expressive, while hooking into other JavaScript code just that little bit more smoothly.

Shared Ticket Bins

People watching this ticket

Pages