Skip to content

Integration with Trackball Control in WebGL renderer? #32

@ghost

Description

Hi, thanks for this fantastic project.

I am looking into the feature where I can control the camera with mouse, such as this:
http://www.guoshihui.net/webglcontrol/control.html

I tried by several ways, the closest attempt is to edit the WebglBase.coffee file like the following:
http://jsfiddle.net/SyYDQ/

But there is one important line missing, that's
@controls.addEventListener "change", render

If I add this, it will say "render" is not defined, but I am a bit loss which render function to call. Can you give me some hints on this issue? Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions