home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!skule.ecf!yewhin
- From: yewhin@ecf.toronto.edu (YEW HIN Jimmy)
- Subject: Help on SunPhigs
- Message-ID: <Btno9H.Enn@ecf.toronto.edu>
- Organization: University of Toronto, Engineering Computing Facility
- Date: Thu, 27 Aug 1992 18:48:52 GMT
- Lines: 34
-
- I am new to computer graphics and I just learned about SunPhigs(1.3)
- by myself and wrote a simple program to display and move a robotic arm
- on the screen. However it doesn't work: the program just opens a
- blank window. I don't have a clue why it doesn't work and I would
- really appreciate if you could suggest any possible reason where the
- problem is. Here is a summary of my program structure and the problem:
-
-
- PROGRAM STRUCTURE:
-
- There are seven structures and they execute each other with EXECUTE
- STRUCTURE elements.
- After the structures are defined and the root structure posted,
- the structures are edited in a loop in which the structures are
- opened and edited one at a time.
- The only editing that is done is replacing the LOCAL TRANSFORMATION
- element after calculating a rotation or a translation matrix which is
- passed as a parameter to SET LOCAL TRANSFORMATION. The modification and
- deferral mode used is NIVE and WAIT and the structures are redrawn at
- the end of the loop with REDRAW ALL STRUCTURES. The values for evaluating
- the rotation and translation matrices are read from tables.
-
-
- PROBLEM:
-
- All the structures except one have the following problem:
- when they are edited they don't seem to be able to exectute the structure
- they are supposed to execute. The one structure that can still execute
- it's subsequent structure is EXACTLY identical to two others except for
- its name id.
-
- PLEEEEEEAASE HEEEELLP !!!!!!!!!!
-
- Jimmy Yew Hin @ University of Toronto (Engineering Faculty).
-