comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » texture_coord
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
texture_coord [message #27755] Thu, 01 November 2001 04:20
Harald von der Osten-[1] is currently offline  Harald von der Osten-[1]
Messages: 21
Registered: December 1999
Junior Member
Hi,

maybe it's easier than I feel, but I don't came along with it:

I would like to map a jpeg-file onto a small part of a 3D-surface. It
works fine if I consider the entire surface. But this is not what I want
to have. The problem seems to be the array texture_coord.

If the surface is of an arry of - lets say - 1000 x 1200, how could I
map a jpeg-file onto this surface with the subsurface-grid-coordinates
[100, 50], [200,50], [200,300], [100,300]? And: I hope that the
jpeg-file can have a higher resolution than [100 x 250] pixels for this
example?

Whatever I try - I get the error-message "number of vertices, normals,
and texture coordinates do not match". Concerning to the online-help
"TEXTURE_COORD property defines how individual data points within the
image data are mapped...". I don't hope that each pixel in the jpeg-file
must be referenced by corresponding coordinates....

Thanks for each encouraging hint...

Harald




--
Harald von der Osten-Woldenburg
Geophysical Prospection of Archaeological Sites
Landesdenkmalamt Baden-Wuerttemberg
Silberburgstrasse 193
D-70178 Stuttgart
Fax Office: +49-(0)711-1694-707
Fax Private: +49-(0)180 50 52 55 22 10 05
http://www.lb.netic.de/hvdosten : Geomagnetics, Geoelectrics, Radar, EMI
[Message index]
 
Read Message
Previous Topic: Application Development with IDL
Next Topic: Creating pointer in structure

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 02:49:39 PDT 2025

Total time taken to generate the page: 0.23520 seconds