From: MLM Veraart (veraart++at++fel.tno.nl)
Date: 12/05/2000 03:11:40
Yves GAUVIN wrote:
>
> Hello,
>
> For intersection testing, you can use the chapter 13 of the getting started
> guide (intersection tetsing) or the chapter 4 of the programmer's guide.
> If you need more real code, you can contact me.
>
> Cheers,
>
> Yves GAUVIN
> FRENCH RAILROAD
> ----- Message d'origine -----
> De : Daniel Gauch <czgda++at++ocag.ch>
> À : <info-performer++at++sgi.com>
> Envoyé : mercredi 22 novembre 2000 11:27
> Objet : Get Image/Scene Informations ...
>
> Hi,
> i have two question for the perfomer GURUS,on getting Image
> Informations.
>
> 1. How can i get the color/brightness of a pixel in the outputwindow ?
> (maybe by graficcontext or by window ..?)
You can use the glReadPixels function.
Look at the source code in the library that is used by the perfly code that makes
a screendump (key 'x')
Mario
>
> 2. I would like to set a "unvisible virtual beam" from a position into a
> certain direction and
> would like to know which objects are hit by the beam ?
> (via Intersectiontesting ...? )
>
> thanks for your tips
>
> Daniel
This archive was generated by hypermail 2b29 : Tue Dec 05 2000 - 03:12:30 PST