HDTenEightyP/NetNews huggingface dataset:
From: alain@paris.asd.sgi.com (Alain Dumesny)
Newsgroups: comp.sys.sgi.graphics
Subject: Re: Q:  Cylinders in Inventor vs. Explorer...
Keywords: Inventor Explorer cylinders rotations
Date: 26 Jan 93 05:08:01 GMT
Reply-To: alain@sgi.com
Distribution: usa
Organization: Silicon Graphics Inc.
NNTP-Posting-Host: paris.asd.sgi.com

In article <1993Jan12.231214.24518@uc.msc.edu>, danw@uh.msc.edu (Dan Waylonis) writes:
|> Hi,
|> 
|> In Explorer, a cylinder is defined by a beginning point, an ending point,
|> and a radius.
|> 
|> In Inventor, only the height and radius are specified.
|> 
|> How do I emulate the action of the Explorer function call via Inventor?
|> SoTransform with a translation and a rotation?
|> 

Yes. The translation will be the midpoint (center of cylinder) and for the
rotation use SbRotation(fromVec, toVec) where fromVec = (0,1,0) and toVec =
ending - beginning point.

-------------------------------------------------------------------------
Alain Dumesny	alain@sgi.com	(415)390-5250	    Silicon Graphics Inc.
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi.graphics
Subject: Re: IRIX time
Date: 23 Jan 93 19:40:11 GMT
Distribution: na
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1993Jan22.144157.3002@vela.acs.oakland.edu> sglanger@vela.acs.oakland.edu (LANGER STEVEN C) writes:

| I'm using an Indigo with IRIX 4.0
| 
| the code
| 		buf = ctime ((const time_t *) time);
| 		printf ("buf=%s\n", buf);
| 
| always prints, no matter how often I call it, something like;
| 
| 	Sat. Jan. 10, 1989 12:43:01
| 
| (this may be the wrong order of data as I'm typeing this from 
| memory). The point is, typeing "date"

As typed, the code is bogus.  First, the variable 'time' will conflict
with the system call, probably giving link errors.  Since you don't
show us how 'time' was initialized, we can't help you much more, but
it seems very likely that either it was never initialized, or done
incorrectly.

Something more like this is what you want:
	time_t t;
	time(&t); (or t = time(NULL);)
	buf = ctime(&t);
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
From: pstatcw@psy.gatech.edu (Christopher Whaley)
Newsgroups: comp.sys.sgi.graphics
Subject: Request for information
Date: 25 Jan 1993 18:52:24 GMT
Organization: Georgia Institute of Technology
NNTP-Posting-Host: psy.gatech.edu
X-Newsreader: TIN [version 1.1 PL8]


[I apologize in advance for those of you who read the related (but
 distinct) groups to which I have cross-posted]

I am conducting a research project which requires the use of 
full-motion video and/or animation.  The problem is to simulate the 
output from video cameras that overlook roads and highways.  The system 
operator would be able to control camera zoom and pan, and would need to 
be able to view traffic under at least hundreds of different conditions.
It is possible that we will consider using pre-recorded video to be 
displayed under computer control, but animated video techniques are 
also being considered.  I am specifically interested in information 
regarding:  

o Hardware for various platforms (SGI, Sun, Mac, PC)
o Software for animation and recommended platforms
o Storage devices best suited for storing large amounts of compressed video
o U.S. Companies which have animation production facilities

In addition to the above items, we would also be interested in hearing 
about any extremely high-end (supercomputer-based?) systems that might 
be used in the animation industry.  


Any experiences you would like to share about the above issues would 
be appreciated.  If a significant number of responses are received 
I will be glad to post a summary.

Please send email to pstatcw@psy.gatech.edu

Thank you,

Chris Whaley
pstatcw@psy.gatech.edu


Newsgroups: comp.sys.sgi.graphics
From: alan@cgl.citri.edu.au (Alan Dorin)
Subject: RE concave polys
Keywords: RE concave polys
Organization: Collaborative Information Technology Research Institute
Date: 26 Jan 93 00:14:47 GMT

When drawing polys on the Reality Engine using concave(TRUE)
I get a few polys that appear to be missed out. (Ie. some
convex polys become invisible) The polys _are_ visible on
PI's and Indigo's though so the problem appears to be with
the RE.

If I turn concave polys off, obviously the RE (and other machines)
screws up the truly concave polys. Anyone know of a bug that
would cause this and how to overcome it? (apart from removing the
concave polys)


					Thanks,
					Alan Dorin
					(alan@godzilla.cgl.citri.edu.au)
From: shreiner@arioch.clubfed.sgi.com (Dave Shreiner)
Newsgroups: comp.sys.sgi.graphics
Subject: Re: motif and pipes
Date: 22 Jan 93 19:19:50 GMT
Distribution: usa
Organization: Silicon Graphics, Inc.

In article <1992Dec31.234241.11797@vela.acs.oakland.edu>, sglanger@vela.acs.oakland.edu (LANGER STEVEN C) writes:
> Hi all;
>   Ihave 2 questions which I hope will not be that hard to answer.
> 
> 1. How do I attach a callback functon to the close button of a dialog win?
> 
>   ie XtAddCallback (dialog, XmN..., myfunction, NULL)
> 
> what goes in the ...?

   That depends on the type of dialog widget that your using.  If it happens
to be an XmMessageDialog ( or some variation ) then you might check out the
XmNokCallback.

> 
> 2. I have a forground Motif application which must launch and establish
> 2-way communcation with a non-graphic background application. I have the
> source for both and thus can make any modifications necessary.
> My man pages have holes where socket, pipe and socketpair are supposed to be.
> A code fragment showing both sides of the pipes would be highly appreciated.
> 

   I know this isn't exactly what you're looking for, but if you're for a
simple solution, you might check out an IRIX arena.  Check out the man page
for 'arena'.

> 
> --thanks in advance, steve
> .

Thanx,
Dave

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

   Dave Shreiner                                        <shreiner@sgi.com>
   Silicon Graphics, Inc.                                (415) 390 - 5063

  "There's never time to say all the things we need to say" - Fates Warning
Newsgroups: comp.sys.sgi.graphics
From: moses@i5.arc.umn.edu (Matthew E. Moses)
Subject: using Overlay planes with the GlxMDraw Widget
Organization: Army High Performance Computer Research Center
Date: Sat, 23 Jan 1993 23:22:06 GMT

I am using the GL Widget in combination with motif.  I want to use the 
overlay plane for rubber-banding.  I've looked at the sample overlay.c from 
the 4Dgifts examples but it doesn't provide any insight.  I draw an image in 
the normal plane and then based on mouse input use the following code to do the rubber banding from an input callback:

	  XtVaGetValues(w, GlxNoverlayWindow, &over, NULL);

	  err = GLXwinset(XtDisplay(w), over);
	  fprintf(stdout, "\n overlay window: %d, err: %d", over, err); 
	  fflush(stdout);

	  c3i(Black); /* erase old band */
	  rect(oldX, oldY, oldX1, oldY1);

	  c3i(Blue); /* draw new band */
	  rect(mouseDownX, mouseDownY, newX, newY);
	  
	  gflush();

The GLXwinset call is returning 0 (no error) but the drawing rect call doesn't show up in the overlay plane.

Does anyone know if there is a special way you have to initialize the overlay planes of the widget?  The following is how I am initializing the widget:

static GLXconfig glxConfig [] = 
{
    { GLX_NORMAL, GLX_RGB, TRUE },
    { GLX_OVERLAY,  GLX_BUFSIZE, 2},
    { GLX_OVERLAY, GLX_RGB, TRUE },
    { 0, 0, 0 }
};

...

     XtSetArg(args[i], GlxNglxConfig, glxConfig); i++;
     XtSetArg(args[i], GlxNuseOverlay, True); i++;
     gGLWidget = XtCreateManagedWidget("glwidget", glxMDrawWidgetClass,
				       frame, args, i);
     XtAddCallback(gGLWidget, GlxNoverlayExposeCallback, OverlayDrawSceneCB, 
		   (XtPointer) NULL);
     XtAddCallback(gGLWidget, GlxNinputCallback, HandleInputCB, 
		   (XtPointer) NULL);
     XtAddCallback(gGLWidget, GlxNexposeCallback, DrawSceneCB, 
		   (XtPointer) NULL);
     XtAddCallback(gGLWidget, GlxNresizeCallback, ResizeScreenCB, 
		   (XtPointer) NULL);
     XtAddCallback(gGLWidget, GlxNginitCallback, InitializeGLCB, 
		   (XtPointer) NULL);

Any help or pointers to information would be appreciated.


*------------------*-----------------------*-----------------------------*
* Matthew E. Moses * AHPCRC Systems Staff  * moses@ahpcrc.umn.edu        *
*                  * CIS Consultant        * moses@mermaid.micro.umn.edu *
*  U of Minnesota  *-----------------------*-----------------------------*   
*                  * Office: (612)626-8136 * Home: (612)624-0126         *
*------------------*-----------------------*-----------------------------*
From: smith@icat.larc.nasa.gov (Steven L. Smith)
Newsgroups: comp.sys.sgi.graphics
Subject: printing images
Date: 28 Jan 1993 19:21:29 GMT
Organization: NASA Langley Research Center, Hampton, VA  USA
Distribution: world
NNTP-Posting-Host: icat.larc.nasa.gov
Originator: smith@icat.larc.nasa.gov



Is there a way to get a high quality printout of
an image without jagged lines. I tried capturing the
image with x-view and saving it as a color postscript.
I'm printing on a QMS 100 Colorscript printer  but
the output is unsatisfactory. The screen displays at
100dpi and the printer is capable of 300dpi's. I tried
using "tocolps <image.rgb> -p 300" but the image comes
out tiny. Any help would be appreciated. Thanks.

-- 
*******************************************************************************
Steve Smith                          | Internet: smith@icat.larc.nasa.gov
NASA Langley Research Center         |           s.l.smith@larc.nasa.gov
M/S 152                              | Voice: (804) 864-2004
From: phil@venus.engr.ucdavis.edu (Phillip W. Wong)
Newsgroups: comp.sys.sgi
Subject: battlezone!
Date: 22 Jan 93 23:56:10 GMT
Distribution: usa
Organization: UC Davis

Newsgroups: comp.sys.sgi
Subject: Battlezone question
Summary: 
Followup-To: 
Distribution: usa
Organization: UC Davis
Keywords: 


23 Jan 93

Hi everyone!

I recently ftp'd 'bz' from sgi.com and am trying to play on the
network. However, I'm getting an error message:

setsockopt ADD: Can't assign requested address

What does this mean and how would I fix the situation.

General Information:
sgi 4d/80gt
iris 4.0.5

thanks

-phil
(phil@venus.engr.ucdavis.edu)
From: pal@xanadu.wpd.sgi.com (Anil Pal)
Newsgroups: comp.sys.sgi
Subject: Re: ? for make gurus
Date: 26 Jan 93 23:55:46 GMT
Reply-To: pal@wpd.sgi.com
Organization: Silicon Graphics, Inc.
Cc: rg3h@uvacs.cs.Virginia.EDU

In article <1993Jan26.192554.15037@murdoch.acc.Virginia.EDU>, rg3h@uvacs.cs.Virginia.EDU (Rich Gossweiler) writes:
|> I'd like to put all my .o files in a separate subdirectory.  On the
|> suns, I use a macro as shown below:
|> 
|> 
|> #
|> # all the object files to be created
|> #
|> VR_OBJS		= dynarray.o	sock.o		vr_comm.o	\
|> 		timing.o	vr_init.o	vr_draw.o	\
|> 
|> #
|> # Rule substitution -- prepend the .o files with subdirectory "sunobj/"
|> #
|> VR_OBJECTS	= $(VR_OBJS:%=sunobj/%)

On the SGI, you can use smake, an enhanced make variant, which will do similar
substitutions (although with a slightly different syntax)

Thus,

	VR_OBJS = dynarray.o    sock.o          vr_comm.o       \
		  timing.o      vr_init.o       vr_draw.o 

	VR_OBJECTS = $(OBJS:S/^/sgiobj\//g)

THe man page for smake describes other possible substitutions, and
other features that you may find useful.

-- 
Anil A. Pal
pal@sgi.com	(415)-390-5279
From: story@sgi.com (David (Duis) Story)
Newsgroups: comp.sys.sgi
Subject: Re: troff and nroff
Date: 26 Jan 93 19:19:07 GMT
Organization: Silicon Graphics, Inc.

In article <35154@adm.brl.mil> blbates@aero36.larc.nasa.gov (Brent L. Bates ViGYAN AAD/TAB) writes:
>
>[...] Do NOT put dps_dev or DPS in the Laser
>Printer Support package. I have a VERY hard time trying to justify buying LPS.

I don't blame you.

>With IRIX 4.0.X, SGI is suppose to be shipping a utility to convert regular
>text to PostScript (I can't remember the name of the utility at the momemnt),

/usr/lib/print/lptops is the free equivalent to enscript.

>and LPS is essentialy just Transcript, I really can't see the need for LPS.

LPS *is* Transcript.  As you say, there is no need to give Adobe
royalties for something which can be included in the base O/S for
free, with the advanced features included in Impressario.

>[...]  It would be nice if DWB was part of the
>normal/standard system and not an added cost.  It would be great if the people
>in California would make things more clear as to what comes with the standard
>system and what comes with each package.  Even our sales reps. have problems
>with this because they get conflicting information from California.

Ever play 'telephone'?  I agree, DWB (and a number of other packages)
should be free and bundled, but we have to pay royalties on a number
of them.  That brings the base price of our systems up, which hits
everyone regardless of whether they actually use the royalty-laden
products.  

The only real solution is to find or build free versions.  Both take
time which is often considered better spent getting the latest and
greatest out, rather than solving old problems.

I think all this is a perennial problem of all companies.  There
simply aren't enough hands to keep every need fulfilled.  

I hope that we are doing a good job prioritizing the needs.  If you
really consider having DWB for free a top priority over new compilers,
graphics, hardware, O/S fixes, etc., please let us know.  And please
do continue to tell us what you want, in any event.  We do listen!

Cheers,

David Story                        	        Silicon Graphics, Inc.
story@bent.wpd.sgi.com				Mountain View, California

I've changed my name, so duis@sgi.com may bounce, please use story@sgi.com.
From: andersen@marvin.ama.ttu.edu (Kim Andersen)
Newsgroups: comp.sys.sgi
Subject: (none)
Date: 27 Jan 93 15:50:19 GMT

I have a problem with one of my 4D20s.  It will occasionally crash with
a memory error (PANIC: IRIX killed due to memory error at physical address
0xXXXXXX).  It will do this about 4 times over a couple of days, and then
it's fine for a month or more.  Then it does it again.

The problem is that the error is not always in the same place -- not even
in the same bank.  And when I run IDE diagnostics, it says there's 
nothing wrong with the machine at all.

Any suggestions will be most welcome.
From: jsin@smogland.janet.ucla.edu (John Sin)
Newsgroups: comp.sys.sgi
Subject: interminttent pauses
Date: 22 Jan 93 20:37:58 GMT
Organization: University of California at Los Angeles, EE Dept. -- JANET


Hi,
We have a SGI Indigo with 48MB.  Every once in a while, the machine seems
to pause/halt briefly.  For example, while you're typing away in a vi
session, it would stop responding for anywhere from 1 sec upto several minutes
before continuing.  There are no CPU intensive processes running, nor is there 
any out-of-control processes.  This machine is used by single person, and
he usally has a few windows open to do latex, read mail, preview
postscript, etc.   Is there any known problem with the OS or hardware that
will exhibit this kind of behavior?  If not, what tools/methods can I
employ to track down the cause?  I'm mostly SunOS person and have little
experience with tools available for SGI machines.

uname -a gives:
IRIX pegasus 4.0.5 06151813 IP12

Any help would be appreciated.
--
John Sin       <jsin@janet.ucla.edu>  ...!(uunet,ucbvax)!janet.ucla.edu!jsin
UCLA EE Dept.  53-109 Engineering IV, Los Angeles,  CA 90024   (310)206-7983
From: rose@baby.swmed.utexas.edu (Rose Oguz)
Newsgroups: comp.sys.sgi
Subject: Compressed backups
Date: 22 Jan 93 14:12:21 GMT

It seems to me that I can compress data before backing up by using -Z in 
the bru command.  I have not figured out how to restore compressed files.
Can someone please tell me what I need to do.

Rose

!!!!!!!!!!@@@@@@@@@@##########$$$$$$$$$$%%%%%%%%%%^^^^^^^^^^&&&&&&&&&&

Rose Oguz
The University of Texas Southwestern Medical Center at Dallas
rose@baby.swmed.utexas.edu

Newsgroups: comp.sys.sgi
From: ssmith@eos.arc.nasa.gov (Stephen Smith)
Subject: Logical volumes as swap
Summary: Can logical volumes be used as swap?
Keywords: lv logical-volumes efs
Organization: NASA Ames Research Center
Distribution: usa
Date: Mon, 25 Jan 1993 22:54:15 GMT

Hi,
	Has anyone used logical volumes for swap under IRIX 4.05x?
We've an interest in combining two smaller devices into one large swap
area.

-Thanks,
	-Steve
-- 
-----------------------------------------------------------------
ssmith@eos.arc.nasa.gov                  (415) 604-1381  
NASA Ames Research Center                Moffett Field, Ca. 94035
From: pj@sam.wpd.sgi.com (Paul Jackson)
Newsgroups: comp.sys.sgi
Subject: Re: Inst issue
Date: 23 Jan 93 02:14:11 GMT
Reply-To: pj@sgi.com
Distribution: na
Organization: Silicon Graphics, Research & Development
NNTP-Posting-Host: sam.wpd.sgi.com

In article <1993Jan22.150642.1476@biome.bio.ns.ca>, silvert@biome.bio.ns.ca (Bill Silvert) writes:
|> It would be nice if one could get inst to ask before making these kinds
|> of changes [to some /usr/local/bin files] ...

I can imagine having inst be able to (1) tell you any existing
file that would be changed if the currently selected products are
installed, and, more interesting perhaps, (2) tell you any file
that would be changed where the current contents of that file is
not the result of inst'ing a product/version that is being
replaced by one of the product/versions selected for installation
-- that is the product/version about to be installed will alter a
file already present that wasn't inst'd, or was modified since
inst'ing, or was inst'ed from an apparently unrelated package.

We have a ways to go before we can realize such capabilities, but
we are aggressively putting in place the underlying apparatus
required to support such.

-- 

				I won't rest till it's the best ...
				Software Production Engineer
				Paul Jackson (pj@sgi.com), x1373
Newsgroups: comp.sys.sgi
From: jamison@yuma.ACNS.ColoState.EDU (Jamie Gulden)
Subject: Onyx
Date: Tue, 26 Jan 1993 17:11:24 GMT
Organization: Colorado State University, Fort Collins, CO  80523


I want a 24 processor Onyx with RE2.

Any chance someone would want to donate one :)

Jamie
CSU Computer Visualization Lab
From: davea@quasar.mti.sgi.com (David B.Anderson)
Newsgroups: comp.sys.sgi
Subject: Re: strange compiler behavior
Date: 23 Jan 93 22:33:28 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In article <1993Jan23.043404.20003@Princeton.EDU> igor@fine.Princeton.EDU (Igor Rivin) writes:
>
>Why is it that if you declare an uninitialized global array,
>three times as much virtual space as necessary gets allocated?

Well it should really be twice as much plus alignment (which can, in unusual
cases lead to 3X, I admit).

I call this the 'bss bloat' (and it's my fault...). This is ONLY in
.bss, not in other sections.

The linker is rounding things in bss to page boundaries.  It knows that
at least 2 things there are used as file buffers.  By guaranteeing that
these are on page boundaries the kernel can page-flip the data into
your running program rather than copying byte-by-byte.

In your release it is rounding everything in bss (individually)
rather than being selective.

Since it cannot really know all that is in bss, it is forced to
*duplicate* all the stuff of interest.    The extra VM is never
referenced so is never allocated in swap (depending on
availsmem_accounting in a file in /usr/sysgen/master.d, of course)

**In the 3.10-IDO linker for 4.0.5 ONLY two things are aligned so
the bss bloat (all but a little of it) goes away.**

You can turn this off completely with -Xnobsschange (see the ld man page).

In your own programs doing open(2)/read(2)/write(2), do i/o in page
multiples from page-aligned addresses on disk into page-aligned memory
and you will, normally, get faster i/o!

Hope this makes some sense.
[ David B. Anderson             (415)390-4263             davea@sgi.com ]
From: meg5184@hertz.njit.edu (Starman)
Newsgroups: comp.sys.sgi
Subject: * NEEDED: Mac tape drive compatable with SGI format
Date: 27 Jan 93 13:26:57 GMT
Distribution: usa
Organization: New Jersey Institute of Technology, Newark, N.J.

Howdy,

	Apparently my cross-posting didn't work so I apologize if this
came up several times.
	I have a Mac IIcx with which I'm creating frames for animations
which I need to send to videotape thru an SGI Iris 4D/70GT and a
minivas. Since the two machines are not connected, or even CLOSE to each
other, I figured that the easiest way to get the frames tothe SGI is
through a tape drive. I was wondering if a 1/4" tape drive exists for
the Mac which writes tapes sompatable (readable) by the SGI's tape
drive. I have TAR and UUENCODE for the Mac so placing the files in a
UNIX-compatable format shouldn't be a problem. If anyone can tell me of
a drive that WILL work, please let me know via e-mail. Right now I'm
looking at the $499 tape drives that handle 160 MB/tape, but I'm not
sure of the SGI's limitations in terms of tape length.

=============================== Mike Gaines ============================
= WHAT is your name?............................Captain Jean-Luc Picard=
= WHAT is your quest?.............................I seek the Holy Grail=
= WHAT is the average velocity of a Bird of Prey?...Romulan or Klingon?=
=                        I.....I don't know AAAAAHHHHH!                =
========================== meg5184@hertz.njit.edu ======================
                            AOL: Graphix@AOL.COM
Newsgroups: comp.sys.sgi
From: "alan kennedy" <alan.kennedy@canrem.com>
Subject: scsi disk install proble
Reply-To: "alan kennedy" <alan.kennedy@canrem.com>
Organization: Canada Remote Systems
Distribution: comp
Date: 23 Jan 93 14:48:09 EST

I had to rebuild one of our machines from scratch this week, and 
everything is fine but one thing. 

I reinstalled a SCSI drive in both the mtab and fstab;

fstab and mtab additions were;
/dev/dsk/dks0d4s7   /usr8   efs   rw,raw=/dev/rdsk/dks0d4s7  0  0

The drive seems to work fine, but when I launched the SystemChest and ran 
System Manager, Disktools, I got the following warning;

"These following entries are invalid or inconsistent:"
"File Sys: /dev/dsk/dks0d4s7  Mount dir: /usr8  File: /etc/mtab"

Did I do something wrong with the mtab? Like I said the drive seems to be 
operation just fine. I have looked at data that was there prior to the 
rebuild, moved stuff, etc. and no problems. I didn't get that warning 
before, so I must have screwed something up.

FYI, I am still running 3.3.2

Thanks for ANY help you can offer.

Alan Kennedy
Image Group Canada Ltd.
Toronto, Ontario

Alan Kennedy - alan.kennedy@canrem.com - Toronto, Ontario, Canada - COPY2





---
  WinQwk 2.0b#0  Unregistered Evaluation Copy
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
From: cmarrin@fred.esd.sgi.com (Chris Marrin)
Newsgroups: comp.sys.sgi
Subject: Re: Showcase Bugs?
Date: 23 Jan 93 21:02:20 GMT
Followup-To: comp.sys.sgi
Organization: Silicon Graphics, Inc.  Mountain View, CA


In article <wellsj-200193091323@phym47.phy.ornl.gov>, wellsj@orph14.phy.ornl.gov writes:
> alt-a pushes my showcase window to the back of my screen.
> It should select all objects on the page.
> Does anybody else see this behovior?
> 

You must have your window manager taking over this key.  Showcase has no
control over that.

-----
   __          __    //          *            //  chris marrin
  /__\        // \  //              _        //  Silicon Graphics, Inc.
 //  \\_//   //    //-,  //~,  //  //\  /   //  cmarrin@esd.sgi.com
      \_/   ((____// /__//  __//__//_)_/   //  (415) 390-5367