Issue #24 new

SoTrackballManip does not work

Anonymous avatarAnonymous created an issue

The SoTrackballManip manipulator does not work. The console has this:

Coin read error: Unknown reference "TRACKBALL_INACTIVE_MATERIAL" Occurred at line 23 in <memory> Coin error in SoInteractionKit::readDefaultParts(): Dragger default parts not available. Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballRotator not found Coin warning in SoBaseKit::setPart(): Attempted to set part rotator'' to wrong type. ExpectedSeparator'', got Text2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballRotatorActive not found Coin warning in SoBaseKit::setPart(): Attempted to set partrotatorActive'' to wrong type. Expected Separator'', gotText2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballXRotator not found Coin warning in SoBaseKit::setPart(): Attempted to set part XRotator'' to wrong type. ExpectedSeparator'', got Text2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballXRotatorActive not found Coin warning in SoBaseKit::setPart(): Attempted to set partXRotatorActive'' to wrong type. Expected Separator'', gotText2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballYRotator not found Coin warning in SoBaseKit::setPart(): Attempted to set part YRotator'' to wrong type. ExpectedSeparator'', got Text2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballYRotatorActive not found Coin warning in SoBaseKit::setPart(): Attempted to set partYRotatorActive'' to wrong type. Expected Separator'', gotText2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballZRotator not found Coin warning in SoBaseKit::setPart(): Attempted to set part ZRotator'' to wrong type. ExpectedSeparator'', got Text2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballZRotatorActive not found Coin warning in SoBaseKit::setPart(): Attempted to set partZRotatorActive'' to wrong type. Expected Separator'', gotText2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballUserAxis not found Coin warning in SoBaseKit::setPart(): Attempted to set part userAxis'' to wrong type. ExpectedSeparator'', got Text2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballUserAxisActive not found Coin warning in SoBaseKit::setPart(): Attempted to set partuserAxisActive'' to wrong type. Expected Separator'', gotText2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballUserRotator not found Coin warning in SoBaseKit::setPart(): Attempted to set part userRotator'' to wrong type. ExpectedSeparator'', got Text2'' Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballUserRotatorActive not found Coin warning in SoBaseKit::setPart(): Attempted to set partuserRotatorActive'' to wrong type. Expected Separator'', gotText2''

Code that replicates this problem can be found at the doc for SoTrackballManip: http://doc.coin3d.org/Coin/classSoTrackballManip.html#_details

I am using OS X 10.8, Xcode 4.5, and Coin 4.x.

Comments (3)

  1. antiomiae

    I am the submitter for the above bug. The debug output got messed up. Here it is formatted properly:

    Coin read error: Unknown reference "TRACKBALL_INACTIVE_MATERIAL"
        Occurred at line  23 in <memory>
    Coin error in SoInteractionKit::readDefaultParts(): Dragger default parts not available.
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballRotator not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "rotator" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballRotatorActive not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "rotatorActive" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballXRotator not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "XRotator" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballXRotatorActive not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "XRotatorActive" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballYRotator not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "YRotator" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballYRotatorActive not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "YRotatorActive" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballZRotator not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "ZRotator" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballZRotatorActive not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "ZRotatorActive" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballUserAxis not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "userAxis" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballUserAxisActive not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "userAxisActive" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballUserRotator not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "userRotator" to wrong type. Expected "Separator", got "Text2"
    Coin info in SoInteractionKit::setAnyPartAsDefault(): nodename trackballUserRotatorActive not found
    Coin warning in SoBaseKit::setPart(): Attempted to set part "userRotatorActive" to wrong type. Expected "Separator", got "Text2"
    

    The problem is identical for the current 3.1.3 release.

  2. Gerhard R

    Hi,

    This seems to be a general problem with the DEF/USE functionality. It looks broken :/

    A work around is to set the following environment variable before running your program.

    COIN_SOINPUT_SEARCH_GLOBAL_DICT=1

    This allows Coin3D to use the global name dictionary to resolve a USE reference. However, this may have unwanted side effects because global names are not unique.

    cheers, Gerhard

  3. Roy Walmsley

    Hi,

    This may be associated with issue #28 which I have fixed and resolved. I have the Trackball manipulator working OK. Please try to implement the above fix and see if the problem is resolved.

  4. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.