waashk/20ng huggingface dataset:
I have a group of GIF images that each contain 6 small images in  the same place on all the images. I need a program to crop out the small images to a new GIF file. All the programs I can find make me use the mouse or keyboard to define the cropping coordinates. Is there a program out there for a PC that can take the crop coordinates on the command line?
asecchia@cs.uct.ac.za (Adrian Secchia) writes: | When an incident ray (I) strikes an object at point P ...  The reflected | ray (R) and the transmitted ray (T) is calculated from the formulae. |  | Calling the routine recursively on R and T will return the colours  | along the rays (R and T) as rCol and tCol. Each object has its own | colour oCol and each light source has liCol (1 <= i <= n). |  | The question is:  |   How do you combine rCol, tCol, oCol and all the liCol's to get |   the correct resulting colour to return along the I ray?      First of all (this is NOT a snide response), if you're confused about this issue, you will stumble over a lot of other things as well.  I suggest that the weakness is your reference material.  Get "An Introduction to Ray Tracing" by Andrew Glassner for very good coverage of the raytracing algorithm.  You could also refer to the 2nd edition of Foley & Van Dam.      On to the question.  The simple answer is that you just keep adding up all the contributions and then clamping at the maximum intensity.  For example, if your intensity values range from 0.0 to 1.0, then keep adding up and clamp the resultant values to 1.0 (you might have to clamp the lower bound to 0.0 if you have dark bulbs, but that's another issue =^).  So, you get some illumination equation like this:          I = Lambient + Ldiffuse(light[n]) + Lreflected + Ltransparent      The contribution due to reflection is just summed with the light intensity, as is the light due to transparency.  Now, a slightly less hand-waving illumination equation is this:          I = KaLa + KdLd(light[n]) + KrLr + KtLt      That is, each component of the illumination equation is governed by the material constants Ka, Kd, Kr and Kt.  So the maximum you can get from transparency for a given object, for example, might be [0.4, 0.1, 0.5] for a purple-colored glass object.      Hopefully this answers your question.  I'll forward my "illumination equation sermon" to you also.
Hi all,    I am looking for a recommandation on a good royalty free graphics library package for C and C++ program.  This is mainly use to write children games and education software.  I heard someone mentioned Genus and also GFX ?  Are they any good?  Please pardon me if my question sounds a little strange, I am asking this question for a friend.  Thanks in advance!
In article <C6BAB1.LLt@vcd.hp.com> edmoore@vcd.hp.com (Ed Moore) writes: >: I've only had the computer for about 21 months.  Is that a reasonable life >: cycle for a LCD display? > >My Toshiba T1100+ LCD (CGA, 1986) died in 11 months.  Replaced under the 12 >month warranty, fortunately.  When it died, it died instantly and completely.  I worked in support for a while at a company and we had problems with several Toshiba 1600's in a short space of time. They were all around 2 years old. Some screens went completely (as above), others were just "dodgy".  This happened to about 5 or 6 out of, maybe 100. They were fairly reliable up to then and I don't think it was a special problem with Tosh's (no link to the company). So I would think that 21 months may not be unreasonable - just unlucky!  Regards,  Kate.  :)|
> From: bolson@carson.u.washington.edu (Edward Bolson)  > Given 4 points (non coplanar), how does one find the sphere, that is, > cnter and radius, exactly fitting those points?  The equation of the sphere through the 4 points (x1,y1,z1),...,(x4,y4,z4) is   | x^2+y^2+z^2  x1^2+y1^2+z1^2  ...  x4^2+y4^2+z4^2 |   |      x             x1        ...        x4       |   |      y             y1        ...        y4       | = 0   |      z             z1        ...        z4       |   |      1             1         ...        1        | When this 5 by 5 determininant is expanded on its first column you get the equation in the form   A(x^2+y^2+z^2) + Bx + Cy + Dz + E = 0 If you need the center and radius, jyst divide through by A (it cannot be zero if the 4 given points form a non-degenerate tetrahedron) and complete the square on x, y, and z to obtain   (x-xc)^2 + (y-yc)^2 + (z-zc)^2 = r^2
In article <1r1iv3$cba@cc.tut.fi>, jk87377@lehtori.cc.tut.fi (Kouhia Juhana) writes:  >Recent discussion about XV's problems were held in some newsgroup. >Here is some text users of XV might find interesting.  >(I have also minor ideas for 24bit XV, e-mail me for them.)  [Deleted for space; basically complaints that xv is an 8 bit program and that making several modifications to the RGB sliders is slow because of screen updates.]  In reverse order:  1) Try clicking in the auto-apply box to switch it off. Then make your mods. Then click on apply. There is no problem as stated; it has already been solved if you look carefully.  2) Yes XV is an 8 bit program. This is not a bug. You can edit individual pallette entries or do global colour changes; crop, scale etc. Clearly the program must save out the *altered* image else all your work would be thrown away. So yes it saves out 8 bit images - of course!  XV can import 24 bit images and quantises them down to 8 bits. This is a handy facility, not a bug.  How would you suggest doing colour editing on a 24 bit file? How would you group 'related' colours to edit them together? Only global changes could be done unless the software were very different and much more complicated.  If you want to do colour editing on a 24 bit image, you need much more powerfull software - which is readily available commercially.  And lastly, JPEG is a compression algorithm. It can be applied to any image of arbitrary bit depth. Again, this is not a bug. It is a way of saving disk space ;-)  Later,  -- Chris Lilley ---------------------------------------------------------------------------- Technical Author, ITTI Computer Graphics and Visualisation Training Project Computer Graphics Unit, Manchester Computing Centre, Oxford Road,  Manchester, UK.  M13 9PL                        Internet: C.C.Lilley@mcc.ac.uk  Voice: +44 (0)61 275 6045  Fax: +44 (0)61 275 6040 Janet: C.C.Lilley@uk.ac.mcc
You'll probably have to set the palette up before you try drawing in the new colours.  Use the bios interrupt calls to set the r g & b values (in the range from 0-63 for most cards) for a particular palette colour (in the range from 0-255 for 256 colour modes).  Then you should be able to draw pixels in those palette values and the result should be ok.  You might have to do a bit of colourmap compressing if you have more than 256 unique rgb triplets, for a 256 colour mode.
|> Hi ... Recently I found XV for MS-DOS in a subdirectory of GNU-CC (GNUISH). I  |> use frequently XV on a Sun Spark Station 1 and I never had problems, but when I |> start it on my computer with -h option, it display the help menu and when I |> start it with a GIF-File my Hard disk turns 2 or 3 seconds and the prompt come |> back. |>  |> My computer is a little 386/25 with copro, 4 Mega rams, Tseng 4000 (1M) running |> MS-DOS 5.0 with HIMEM.SYS and no EMM386.SYS. I had the GO32.EXE too... but no |> driver who run with it. |>  |> Do somenone know the solution to run XV ??? any help would be apprecied.. |> 		  You probably need an X server running on top of MS DOS.  I use Desqview/X but any MS-DOS X server should do.  --
Could anybody tell me if exists any program to convert AUTOCAD graphics to another format (GIF, TIFF, BMP, PCX ...) and where to get it?  	Thanks in advance
kazsato@twics.co.jp writes: >I'd like to know if there is any system (CPU + HD array + framebuffer) >which can play and record HDTV quality moving picture in realtime. > >HDTV has about 6MB/frame, so recording/playing moving picture will need >about 180MB/sec bandwidth. I'm thinking to treat the raw data.. not >compressed.   	Actually, for digital HDTV systems that's far higher bandwidth than you need, unless there's some reason you must work in fully-uncompressed HDTV.  Also, my calculations is that each frame should be well under 6MB, even using 24 bits/pixel (which is more bits than you actually need - 15 or 18 should be enough for a moving picture).  1600x1100x16bits is 3.5MB (I'm guessing at HDTV resolution - it may be a bit wider than 1600, I'm fairly sure of the 1100 number for most of the digital proposals).  	I hope you have a very fast memory system as well - 180MB/s while displaying will require a heavily interleaved VRAM system.  	Unless you have a _very_ compelling reason, I'd advise trying to use at least somewhat compressed data.  You don't have to go to full compression to get to a level where the data IO requirements are much cheaper and easier to deal with.  --  GNU Emacs is a LISP operating system disguised as a word processor.  - Doug Mohney, in comp.arch
Appsoft Image is available for NeXTStep. It is a image processing program similar to Adobe Photoshop. It is reviewed in the April '93 issue of Publish! Magazine.
rgc3679@bcstec.ca.boeing.com (Robert G. Carpenter) writes:  > Hi Netters, >  > I'm building a CAD package and need a 3D graphics library that can handle > some rudimentry tasks, such as hidden line removal, shading, animation, etc. >  > Can you please offer some recommendations?  It's really not that hard to do.  There are books out there which explain everything, and the basic 3D functions, translation, rotation, shading, and hidden line removal are pretty easy.  I wrote a program in a few weeks witht he help of a book, and would be happy to give you my source. 	Also, Quickdraw has a lot of 3D functions built in, and Think pascal can access them, and I would expect that THINK C could as well.  If you can find out how to use the Quickdraw graphics library, it would be an excellent choice, since it has a lot of stuff, and is built into the Mac, so should be fast.  Libertarian, atheist, semi-anarchal Techno-Rat.
In article <1993Apr23.033843.26854@spartan.ac.BrockU.CA>, tmc@spartan.ac.BrockU.CA (Tim Ciceran) writes: > There is a program called Graphic Workshop you can FTP from > wuarchive.  The file is in the msdos/graphics directory and > is called "grfwk61t.zip."  This program should od everthing > you need. >  > --  >  > TMC > (tmc@spartan.ac.BrockU.ca)   THANKS!  It did work, and it is just what I needed thanks...
Due to a number of bugs in GKS4.1 under SUNOS 4.1.3, I installed patches 100533-15 and 100755-01. Patch 100533-15 appears to work fine and has fixed a number of problems. Patch 100755-01, however, which is required to fix a number of other annoying bugs, breaks with our applications.  Is there a more recent revision of patch 10075?  Any other ideas?
Boy, this will be embarassing if it is trivial or an FAQ:  Given 4 points (non coplanar), how does one find the sphere, that is, center and radius, exactly fitting those points?  I know how to do it for a circle (from 3 points), but do not immediately see a  straightforward way to do it in 3-D.  I have checked some geometry books, Graphics Gems, and Farin, but am still at a loss? Please have mercy on me and provide the solution?    Thanks, Ed
In article <1qukk7INNd4l@no-names.nerdc.ufl.edu> lioness@maple.circa.ufl.edu   writes: > However, that is almost overkill.  Something more like this would probably > make EVERYONE a lot happier: >  > comp.graphics.programmer > comp.graphics.hardware > comp.graphics.apps > comp.graphics.misc  That's closer, but I dislike "apps".  "software" (vs. "hardware") would be better.  Would that engulf alt.graphics.pixutils?  Or would that be "programmer"?  I don't know if traffic is really heavy enough to warrant a newsgroup split.  Look how busy comp.graphics.research is (not).  It's true that a lot of the traffic here is rehashing FAQs and discussing things that would probably be better diverted to system-specific groups, but I don't know whether a split would help or hurt that cause.  Maybe we need a comp.graphics.RTFB for all those people who can't be bothered to read the fine books out there.  Right, Dr. Rogers? :-)
In article <1qu36i$kh7@dux.dundee.ac.uk>, dwestner@cardhu.mcs.dundee.ac.uk (Dominik Westner) writes: |> Hi,  |>  |> the subject says it all. Is there a PD viewer for gl files (for X)? |>  |> Thanks |>  |>  |> Dominik |>   Dominik,  	Have you tried xgrasp?  It's out there on several ftp sites.(not sure which, but archie can find it, I'm sure.)  It works ok but it lacks an interface.
element analysis, radiosity, distributed processing  Hi,  	I'm looking for references to parallel algorithms on:  		octrees 		adaptive subdivision 		adaptive meshing 		finite element meshing/analysis 		radiosity  	Any help will be greatly appreciated.  E-mail replies to
kintur@scorch.apana.org.au (Kingsley Turner) writes:  >        Some time ago (about 1 month) there was a bit of discussion >        about a universal VESA driver for > 8bit cards.  It was in >        the file uvesa32.zip.  Well i can't find it, does anyone know >        where it is (gorilla.something.something.au), and what sort >        of cards it works for ?  >        Also would it be pushing my luck to ask for someone to post >        it to some appropriate group.  >                                                        Kingsley Turner >                                                        NSW Australia   Host swdsrv.edvz.univie.ac.at      Location: /pc/dos/graphics            FILE -rw-r--r--      21525  Mar  7 18:00  uvesa31.zip  Host plaza.aarnet.edu.au      Location: /micros/pc/garbo/pc/screen            FILE -r--r--r--      21795  Apr  4 00:00  uvesa31.zip     Location: /micros/pc/oak/graphics            FILE -r--r--r--      21525  Mar  7 19:00  uvesa31.zip  Host godzilla.cgl.rmit.oz.au      Location: /kjb/MGL            FILE -rw-r--r--      22887  Mar 29 15:03  uvesa32.zip  Host nic.switch.ch      Location: /mirror/msdos/graphics            FILE -rw-rw-r--      21525  Mar  7 20:00  uvesa31.zip     Location: /software/pc/simtel20/graphics            FILE -rw-rw-r--      21525  Mar  7 20:00  uvesa31.zip  Host ipc1.rvs.uni-hannover.de      Location: /pub/msdos-koeln/graphics/egavga            FILE -rw-r--r--      21525  Apr  4 17:08  uvesa31.zip  Host sun0.urz.uni-heidelberg.de      Location: /pub/msdos/simtel/graphics            FILE -rw-rw-r--      21525  Mar  7 19:00  uvesa31.zip  Host athene.uni-paderborn.de      Location: /pcsoft/msdos/graphics            FILE -rw-r--r--      21525  Mar  7 18:00  uvesa31.zip  Host compute1.cc.ncsu.edu      Location: /mirrors/wustl/mirrors/msdos/graphics            FILE -rw-r--r--      21525  Mar  7 19:00  uvesa31.zip  Host rigel.acs.oakland.edu      Location: /pub/msdos/graphics            FILE -rw-r--r--      21525  Mar  7 19:00  uvesa31.zip  Host pc.usl.edu      Location: /pub/msdos/video.and.graphics            FILE -rw-r--r--      21525  Mar 11 10:41  uvesa31.zip  Host isfs.kuis.kyoto-u.ac.jp      Location: /mirrors/simtel20.msdos/graphics            FILE -rw-rw-r--      11425  Mar 13 16:41  uvesa10.zip            FILE -rw-rw-r--      21525  Mar  8 12:00  uvesa31.zip  Host ftp.uu.net      Location: /systems/ibmpc/msdos/simtel20/graphics            FILE -rw-rw-r--      21525  Mar  7 14:00  uvesa31.zip --
Jasen Mabus RPI student  	I am looking for a hman brain in any CAD (.dxf,.cad,.iges,.cgm,etc.) or picture (.gif,.jpg,.ras,etc.) format for an animation demonstration. If any has or knows of a location please reply by e-mail to mabusj@rpi.edu.
Sketch:  Rotate so cylinder axis is || Z axis.  Intersect X/Y projection of line with projected cylinder (similar to, but easier than, sphere intersection).  Result: no intersection, one intersection, or two intersections, parameterized along line by t0 and t1.  Now look at Z, and compute intersections of line with top and bottom planes of cylinder.  This gives t0' and t1'.  The interval of intersection is then the bit of the line from [t0,t1] INTERSECT [t0',t1'].  Details left as an exercise for the reader.  =S
The file and contents listings for:  Knowledge Media Resource Library: Graphics 1 Knowledge Media Resource Library: Audio 1
In article <1r6v3a$rj2@fg1.plk.af.mil>, ridout@bink.plk.af.mil (Brian S.  Ridout) writes: |> In article <1993Apr15.134802.21995@mfltd.co.uk>, sts@mfltd.co.uk (Steve Sherwood (x5543)) writes: |> |> Has anyone got multiverse to work ? |> |>  |> |> I have built it on 486 svr4, mips svr4s and Sun SparcStation. |> |>  |> |> There seems to be many bugs in it.  The 'dogfight' and 'dactyl' simply do nothing |> |> (After fixing a bug where a variable is defined twice in two different modules - One needed |> |> setting to static - else the client core-dumped) |> |>  |> |> Steve |> |> --  |> |>  |> |>          Extn 5543, sts@mfltd.co.uk, !uunet!mfocus!sts |> |> +-----------------------------------+------------------------+ Micro Focus |> |> | Just like Pariah, I have no name, |    rm -rf *            | 26 West Street |> |> | Living in a blaze of obscurity,   |      "rum ruff splat"  | Newbury |> |> | Need courage to survive the day.  |                        | Berkshire |> |> +-----------------------------------+------------------------+ England |> |>          (A)bort (R)etry (I)nfluence with large hammer |> I built it on a rs6000 (my only Motif machine) works fine.  I added some objects |> into dogfight so I could get used to flying.  This was very easy.  |> All in all Cool!.   |> Brian  The RS6000 compiler is so forgiving, I think that if you mixed COBOL & pascal the C compiler still wouldn't complain. :-)  Steve --
Mark A. Cartwright (markc@emx.utexas.edu) wrote: : Well, :  : 42 is 101010 binary, and who would forget that its the : answer to the Question of "Life, the Universe, and Everything else." : That is to quote Douglas Adams in a round about way. :  : Of course the Question has not yet been discovered... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ But it WAS discovered (sort of).  The question was "What is 7 times 8?" When Arthur Dent objected that this was, unfortunately, factually inaccurate, the effort to discover the question was begun all over. This last effort was, I believe, likely to take far longer than the lifespan of the universe, in fact several lifespans of same! -- ------------------------------------------------------------------------------- Mark Wilson, Online Computer Systems.  1-800-922-9204 or 1-301-601-2215 (Try email address mark@ocsmd.ocs.com....) This file .disclaims everything signed with my .signature, I .mean it!
Hi, I'm just getting into PoVRay and I was wondering if there is a graphic package that outputs .POV files.  Any help would be appreciated. Thanks.  Later'ish Craig
niko@iastate.edu (Nikolaus E Schuessler) writes:  >In article <matess.735934793@gsusgi1.gsu.edu> matess@gsusgi1.gsu.edu (Eliza Strickler) writes: >>I just donwloaded a *.bin file from a unix machine which is >>supposed to be converted to a MAC format. Does anyone know  >>what I need to do to this file to get it into any Dos, Mac >>or Unix readable format. Someone mentioned fetch on the unix >>machine - is this correct? Could someone explain the .bin >>format a little? >>  >This is almost certainly a MacBinary file which is an encoded version >of a mac file so the Resource fork and Data fork get preserved. >You need a program that converts this to a regular file. If this is a >macbinary file, you may have downloaded it in Text mode and is probably >corrupt (if you did). If you're using FTP to transfer it at any point make sure >you type "binary" first.  >If you can open the file with a text editor and find >(This file must be converted with Bin.... >at the top, it is a BinHex file and can be decoded with >BinHex 4.0 (among other programs).  I opened the file with a text editor and it looks like:  ^Vnetwork storyboardpictPICT8BIM^E^......  I have already tried BinHex which does not seem to work.  Any other ideas?  >--  >Niko Schuessler                >Project Vincent Systems Manager              email: niko@iastate.edu >Iowa State University Computation Center     voice: (515) 294-1672 >Ames IA 50011                                snail: 291 Durham  --
Hi.  I'm looking for a 3D shark for use in a ray tracing rountine I'm doing.  I'll be using Vivid or POV, but it can be in any format.  Are there any  FTP sites with 3D objects or does anyone have a good 3D shark?  Thanks alot!  Chad
> My 8514/a VESA TSR supports this   Can You report CRT and other register state in this mode ?  Thank's.
I'm currently looking for a viewer for Computer Graphics Metafile (CGM) pictures. Please inform me about a SHAREWARE or FREEWARE version.  Thnx, Remco
I have posted a DOS MPEG decoder/player to alt.binaries.pictures.utilities.  Here is a short description and some technical information, taken from the accompanying documentation:                                 DMPEG V1.0                         Public Domain MPEG decoder                             by Stefan Eckart   0. Features ===========  DMPEG/DMPLAY is another MPEG decoder/player for the PC:    - decodes (nearly) the full MPEG video standard    (I,P,B frames, frame size up to at least 352x240 supported)   - saves decoded sequence in 8 or 24bit raw file for later display   - optional on-screen display during decoding (requires VGA)   - several dithering options: ordered dither, Floyd-Steinberg, grayscale   - color-space selection   - runs under DOS, 640KB RAM, no MS-Windows required   - very compact (small code / small data models, 16 bit arithmetic)   - real time display of the raw file by a separate player for    VGA and many Super-VGAs  ...  4. Technical information ========================  The player is a rather straightforward implementation of the MPEG spec [1]. The IDCT is based on the Chen-Wang 13 multiplication algorithm [2] (not quite the optimum, I know). Blocks with not more than eight non-zero coefficients use a non-separated direct multiply-accumulate 2D-IDCT (sounds great, doesn't it?), which turned out to be faster than a 'fast' algorithm in this (quite common) case. Dithering is pretty standard. Main difference to the Berkeley decoder (except for the fewer number of supported algorithms) is the use of 256 instead of 128 colors, the (default) option to use a restricted color-space and the implementation of a color saturation dominant ordered dither. This leads to a significantly superior quality of the dithered image (I claim, judge yourself).  Restricted color-space means that the U and V components are clipped to +/-0.25 (instead of +/-0.5) and the display color-space points are distributed over this restricted space. Since the distance between color-space points is thus reduced by a factor of two, the color resolution is doubled at the expense of not being able to represent fully saturated colors.  Saturation dominant ordered dither is a method by which a color, lying somewhere between the points of the display color space, is approximated by primarily alternating between two points of constant hue instead of constant saturation. This yields subjectivly better quality due to the lower sensitivity of the human viewing system to saturation changes than to hue changes (the same reasoning as used by the PAL TV standard to improve on NTSC). The improvement is particularly visible in dark brown or redish areas.  ...
Hi, this is my first msg to the Net (actually the 3rd copy of it, dam*ed VI!!).    Look for the new VPIC6.0, it comes with updated VESA 1.2 drivers for almost every known card. The VESA level is 1.2, and my Tseng4000 24-bit has a nice affair with the driver.     Hope it is useful!!
In article <13742@news.duke.edu>, seth@north6.acpub.duke.edu (Seth Wandersman) writes... >  >Keywords:  >  >I am looking for some morphing programs for DEC's or pc's. I looked for a program >called dmorph using archie but could not find it. I found a progrmam call >morpho but it only did grayscale images. Does anyone know where I should look?  Try searching for DMORF, I think it's located on wuarchive.wustl.edu in a mirror directory... I've used it before, & it was pretty good!