Inventor Manips and Examiner Viewer

Inventor Manips and Examiner Viewer

Post by Will Duquet » Tue, 25 Apr 1995 04:00:00



Howdy!

Is it possible to use Manipulators and Draggers within the
SoXtExaminerViewer in OpenInventor?  I created a scenegraph file
with a TrackballManip in it, and displayed it using ivview, which
uses the ExaminerViewer.  There was no sign of the manipulator.
What's the deal?
--
--------------------------------------------------------------------------


for myself.         | It's amazing what you can do with the right tools.

 
 
 

Inventor Manips and Examiner Viewer

Post by Bruce Bail » Fri, 28 Apr 1995 04:00:00



|> Howdy!
|>
|> Is it possible to use Manipulators and Draggers within the
|> SoXtExaminerViewer in OpenInventor?  I created a scenegraph file

Yes.

|> with a TrackballManip in it, and displayed it using ivview, which
|> uses the ExaminerViewer.  There was no sign of the manipulator.
|> What's the deal?

Could be that it is too small to see with whatever its default
size is.  

Perhaps you could post an example file that exhibits this behavior?

--
-------------------------------------------------------------------

Systems Engineer                     tel: (303) 796-0022
Silicon Graphics                     fax: (303) 796-0438
4600 South Ulster Street, #820       vmail box:   5-8403
Denver, CO  80237
-------------------------------------------------------------------

 
 
 

Inventor Manips and Examiner Viewer

Post by Will Duquet » Thu, 04 May 1995 04:00:00


   |> with a TrackballManip in it, and displayed it using ivview, which
   |> uses the ExaminerViewer.  There was no sign of the manipulator.
   |> What's the deal?

   Could be that it is too small to see with whatever its default
   size is.  

   Perhaps you could post an example file that exhibits this behavior?

Here 'tis:

#Inventor V2.0 ascii
#
# Scenegraph contains a sphere and an arrow pointing at the sphere.
# The arrow should be surrounded by a trackball manipulator allowing
# its direction to be adjusted.

Separator {
    Sphere { radius 100 }

    Separator {
        TrackballManip {
            translation 0 0 102
        }
        Scale {
            scaleFactor 10 10 10
        }
        Separator {
            Material { shininess 1.0 }

            Translation { translation 0 0 -0.5 }

            Separator { # Gaze Line
                RotationXYZ {
                    axis X
                    angle -1.5708 # -90 degrees
                }
                Cylinder {
                    radius 0.01
                    height 1.0
                }
            }

            Separator { # Arrowhead
                Translation { translation 0 0 -.55 }
                RotationXYZ {    
                    axis X
                    angle -1.5708 # -90 degrees
                }
                Cone {
                    bottomRadius 0.02
                    height 0.1
                }
            }
        }
    }

Quote:}

--
--------------------------------------------------------------------------


for myself.         | It's amazing what you can do with the right tools.
 
 
 

Inventor Manips and Examiner Viewer

Post by Bruce Bail » Thu, 04 May 1995 04:00:00



|>    |> with a TrackballManip in it, and displayed it using ivview, which
|>    |> uses the ExaminerViewer.  There was no sign of the manipulator.
|>    |> What's the deal?
|>


|>
|>
|>    Could be that it is too small to see with whatever its default
|>    size is.  
|>
|>    Perhaps you could post an example file that exhibits this behavior?
|>
|> Here 'tis:
|>
|> #Inventor V2.0 ascii
|> #
|> # Scenegraph contains a sphere and an arrow pointing at the sphere.
|> # The arrow should be surrounded by a trackball manipulator allowing
|> # its direction to be adjusted.
|>
|> Separator {
|>     Sphere { radius 100 }
|>    
|>     Separator {
|>         TrackballManip {
|>             translation 0 0 102
|>         }
|>         Scale {
|>             scaleFactor 10 10 10
|>         }
|>         Separator {
|>             Material { shininess 1.0 }
|>
|>             Translation { translation 0 0 -0.5 }
|>
|>             Separator { # Gaze Line
|>                 RotationXYZ {
|>                     axis X
|>                     angle -1.5708 # -90 degrees
|>                 }
|>                 Cylinder {
|>                     radius 0.01
|>                     height 1.0
|>                 }
|>             }
|>
|>             Separator { # Arrowhead
|>                 Translation { translation 0 0 -.55 }
|>                 RotationXYZ {    
|>                     axis X
|>                     angle -1.5708 # -90 degrees
|>                 }
|>                 Cone {
|>                     bottomRadius 0.02
|>                     height 0.1
|>                 }
|>             }
|>         }
|>     }
|> }
|> --
|>
--------------------------------------------------------------------------


|> for myself.         | It's amazing what you can do with the right
|> tools.

When I pull this up in ivview I see a very small trackball in the
very front of the big sphere.  The trackball is half-embedded in the
sphere.  Try using a larger scale factor perhaps?

One thing that may help is to try using "gview" to display your
model.  You have to make sure to load inventor_eoe.demo first.
Then, you can read your file into gview and try playing with
different scale factors and so on.

Hope this helps!

--
-------------------------------------------------------------------

Systems Engineer                     tel: (303) 796-0022
Silicon Graphics                     fax: (303) 796-0438
4600 South Ulster Street, #820       vmail box:   5-8403
Denver, CO  80237
-------------------------------------------------------------------

 
 
 

Inventor Manips and Examiner Viewer

Post by Will Duquet » Thu, 04 May 1995 04:00:00


   When I pull this up in ivview I see a very small trackball in the
   very front of the big sphere.  The trackball is half-embedded in the
   sphere.  Try using a larger scale factor perhaps?

   One thing that may help is to try using "gview" to display your
   model.  You have to make sure to load inventor_eoe.demo first.
   Then, you can read your file into gview and try playing with
   different scale factors and so on.

   Hope this helps!

Hmmm.  I just read the man page for gview...I'm going to have to
compile it, but I think it will prove *quite* helpful.  Thanks much!

--
--------------------------------------------------------------------------


for myself.         | It's amazing what you can do with the right tools.

 
 
 

Inventor Manips and Examiner Viewer

Post by Bruce Bail » Thu, 04 May 1995 04:00:00





|>
|>    When I pull this up in ivview I see a very small trackball in the
|>    very front of the big sphere.  The trackball is half-embedded in the
|>    sphere.  Try using a larger scale factor perhaps?
|>
|>    One thing that may help is to try using "gview" to display your
|>    model.  You have to make sure to load inventor_eoe.demo first.
|>    Then, you can read your file into gview and try playing with
|>    different scale factors and so on.
|>
|>    Hope this helps!
|>
|> Hmmm.  I just read the man page for gview...I'm going to have to
|> compile it, but I think it will prove *quite* helpful.  Thanks much!
|>
|>

... or simply load "inventor_eoe.demo" off of your IRIX 5.3 CD,
for example.  This will install a running version of gview into
/usr/demos/Inventor

--
-------------------------------------------------------------------

Systems Engineer                     tel: (303) 796-0022
Silicon Graphics                     fax: (303) 796-0438
4600 South Ulster Street, #820       vmail box:   5-8403
Denver, CO  80237
-------------------------------------------------------------------

 
 
 

1. Inventor Examiner Viewer

I have created a UI in RapidApp that contains an
Inventor Examiner Viewer.

When I first create my scene graph, I set the viewer's
scene graph to the root of my created scene graph, and it displays fine.

But when the scene graph is modified during run-time, the
Examiner Viewer doesn't show the new graph.

Is there something I am missing here?

--Adam

2. Spatial Data Structures

3. ViewKit/Inventor Examiner Viewer

4. Bitmap support for Gnuplot

5. tap-tap sound

6. Inventor Q's: Manips and XForm Sliders

7. Canvas 5.0.3 a huge improvement (still having probs) (Chris Rutledge , Thu 12:25)

8. Examiner viewer problem

9. OpenInventor: Cameras and Examiner Viewer

10. Examiner viewer

11. Examiner Viewer destruction bug

12. TGS Examiner Viewer in ActiveX Control