Re: [info-performer] 3D texturing

Date view Thread view Subject view Author view

From: Praveen Bhaniramka (praveenb++at++sgi.com)
Date: 11/26/2003 23:47:06


Hi Lawrence,

3D textures should work just fine with Performer 3.0 AND 2.5. I am not so
sure about the volume demo however.

Alternatively, you can either write the code yourself using OpenGL or use
the OpenGL Volumizer loader that ships with Performer (libpfvz). The latter
requires you to simply specify your 3D texture data and takes care of all
the volume rendering for you using Volumizer.

Cheers,
Praveen

----- Original Message -----
From: "Lawrence E Bertoldi" <lberto++at++adelphia.net>
To: <info-performer++at++sgi.com>
Sent: Wednesday, November 26, 2003 9:51 AM
Subject: [info-performer] 3D texturing

> I'm building a wave model and I am trying to use 3d texturing.
>
> After having little success, I tried to check out the volume demo in
> Performer/src/pguide/libpf/C++
> Looking at the image file they build, I have concluded that it dose not
> work because all I see
> is the white cube, no black or gray.
> So I built a 512 x 1024 texture, load it, do a getImage on it.
> The returned image is as expected,
> cmp = 4
> sx = 512
> sy = 1024
> sz = 1
> Now I do a setImage setting sx = 512, sy = 512, sz = 2
> No matter what I set the texGen planes to the texture wont show up!
> If i set sz = 1 the texture shows up no matter how I have the texgen
> set!
> I have tried this on 2.5.1 and 3.0 Linux with gforce 4 and fx2000/3000
> So my question is::
> Dose 3d texturing under Performer 2.5.1 or 3.0 work?
> Dose it work on 3.1 or should I go directly to OpenGL!
>
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
> I/ITSEC 2003 Friends of Performer Meeting:
> Wednesday December 03, 6:30-8:30pm, Peabody Hotel, Florida I Ballroom
> -----------------------------------------------------------------------
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Nov 25 2003 - 23:47:27 PST