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

Home » Public Forums » archive » Re: Is it possible to use wire mesh and display the surface as a solid at the same time?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Is it possible to use wire mesh and display the surface as a solid at the same time? [message #50720 is a reply to message #50715] Wed, 11 October 2006 18:03 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
yy writes:

> I'm trying to use IDLgrSurface to map a colored image onto an
> elevation data set. I want to show both the wire mesh such that
> I can see the curvature of the surface and the solid image data.
> In other words, I want to use both the image when STYLE=1
> and the image when STYLE=2 as TEXTURE_MAP. But an
> IDLgrSurface object cannot have two STYLE properties. How
> can I realize that?

Just as a quick test, I took TEXTURE_SURFACE from my
web page, and added another surface to the model (I
called it thatSurface). I performed the same scaling
to thatSurface that I did to thisSurface. I also set
the keyword DEPTH_TEST_DISABLE on the model, and I
added thatSurface to the model AFTER thisSurface.

It worked great, although the grid was a little too fine to
see the texture very well. Another way I could have done
this would be to combine a texture image and "grid" image
with some kind of image blending (see IMAGE_BLEND on my
web page). Then use this blended image as the texture
map of the surface. This would allow me to "dial in" the
grid, as I needed.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Map parameters for Eta/NAM model
Next Topic: Re: Map parameters for Eta/NAM model

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

Current Time: Thu Oct 09 23:02:22 PDT 2025

Total time taken to generate the page: 0.56074 seconds