go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Closed REQ 6230]: texure question


  • To: software@geom.umn.edu
  • Subject: Re: [Closed REQ 6230]: texure question
  • From: daemon
  • Date: Wed, 25 Jun 1997 00:11:52 -0500 (CDT)

Hmm, doesn't the Maximum Impact have hardware texture-mapping?
I thought that of the Impact series, only the Solid Impact didn't.
Still, that doesn't matter, so long as OpenGL supports texture mapping
(as it must), whether in hardware or software.

Anyway, the problem in your example is that Geomview doesn't
automatically decide how to apply the texture map; texture-mapping
is only effective for objects where you've explicitly defined
texture coordinates.

Actually, for QUAD files, there's no way to specify texture coordinates.
However, you can texture-map OFF and MESH objects.  The following may do
what you intend (so long as you have "tifftopnm" in the search path somewhere,
as it's needed to read .tiff images):

{ appearance
   {
      -edge
      +texturing
      texture {
         clamp st
         apply modulate
         file test.tiff
      }
   }
   LIST {
	STCOFF
	12 3 0	# 12 vertices, 3 faces, don't-care-how-many edges
          0  0  0   0.5 0.5 0.5 1	0  0
         10  0  0   0.5 0.5 0.5 1	1  0
         10 10  0   0.5 0.5 0.5 1	1  1
          0 10  0   0.5 0.5 0.5 1	0  1
          0  0  0   0.5 0.5 0.5 1	0  0
         10  0  0   0.5 0.5 0.5 1	1  0
         10  0 10   0.5 0.5 0.5 1	1  1
          0  0 10   0.5 0.5 0.5 1	0  1
          0  0  0   0.5 0.5 0.5 1	0  0
          0 10  0   0.5 0.5 0.5 1	1  0
          0 10 10   0.5 0.5 0.5 1	1  1
          0  0 10   0.5 0.5 0.5 1	0  1

	4  0 1 2 3
	4  4 5 6 7
	4  8 9 10 11
   }
}


 --
  Stuart Levy


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo