Problem: generating .ptu format in Performer

New Message Reply Date view Thread view Subject view Author view

Shahram Shiri (ron++at++miniator.gsfc.nasa.gov)
Wed, 3 Aug 1994 12:56:37 -0400


        I am new to Performer and trying to generate a terrain model from two
images. One image is the terrain elevation and the other is the image of the
location. Chapter 9 of Performer Programming Guide exlpains the .ptu format
for this purpose, but there is no examples of the file in the book or Performer
source codes. Based on the book's description of the .ptu file I generated the
following terrain.ptu file :

terrain
2
5 5
1 1
terrain.bw 255 255
land.bw

        Also, I followed the suggestions on the Makefile and regenerated the
perfly application by linking the ImageVision libraries and uncommented the
GETTILE for libpfsgi such that it reads the ilgettile.c file. When I run the
following command
        perfly terrain.ptu
I get these messages:

        Performer Info (9): All 1 processors available on this machine.
Performer Warning (9): ilgettile: PTU requires perfly linked with IL. This
requires
Performer Warning (9): that the ImageVision Library be installed, that the
definition of
Performer Warning (9): GETTILE in the Makefile for libpfsgi be changed to
ilgettile.c,
Performer Warning (9): and that you uncomment the lines defining 'LIBIL' and
'LIBCIL'
Performer Warning (9): in the Makefile for perfly
Performer Warning (9): WARNING: Default Texture being used
Performer Info (9): ITILE(0,0): <0.000 0.000> to <-1.000 -1.000> at <1 1>

        It repeates itself for each node. At the end, just a white plane
appears on the Performer perfly window. My image file is 255x255 and terrain
data is another image file by the same dimensions.

        I will apprecaite any suggestions and help on getting this problem
resolved.

-Thanks,

Ron

-- 
-------------------------------------------------------------------------
|Shahram Shiri/ ron++at++leaf.gsfc.nasa.gov		Tel: 301-286-9985	|
|NCCS/Scientific Visualization Studio		Fax: 301-286-1634	|
|NASA/Goddard Space Flight Center, Hughes/STX				|
|Greenbelt, Maryland 20771						|
-------------------------------------------------------------------------

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:26 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.