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

Home » Public Forums » archive » Texture image on a 3d curve: cgsurface and xobjview problems
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: Texture image on a 3d curve: cgsurface and xobjview problems [message #85894 is a reply to message #85889] Mon, 16 September 2013 11:31 Go to previous messageGo to previous message
Steve Daal is currently offline  Steve Daal
Messages: 13
Registered: October 2011
Junior Member
On Monday, September 16, 2013 1:20:13 PM UTC-5, steve...@gmail.com wrote:
> On Monday, September 16, 2013 1:06:15 PM UTC-5, David Fanning wrote:
>
>> steve.daal@gmail.com writes:
>
>>
>
>>
>
>>
>
>>>
>
>>
>
>>> Hi all,
>
>>
>
>>>
>
>>
>
>>> I have a 2D array (mountain elevation) and an image (trees,rocks,...) corresponding ot it. I need to overlap the image on the elevation information, along with the axis information and the capability of moving it around by the mouse in 3D.
>
>>
>
>>>
>
>>
>
>>> Cgsurface (coyote's magic) seems to work well, however, I can't do anything with the mouse, nor rotating the axes from within the code (strange why this is not allowed). I am running a IDL 7.1, XQuarts 7.2.4, and already tried few terminal command remidies with no success fixing the cursor issue.
>
>>
>
>>
>
>>
>
>> Really!? This command certainly rotates around in my IDL 7 version!
>
>>
>
>>
>
>>
>
>> cgSurface, cgDemoData(2), ZScale=0.5, Texture_Image=cgDemoData(7), $
>
>>
>
>> CTable=1, /Brewer, /Reverse, Title='2D Image as Texture'
>
>>
>
>>
>
>>
>
>> Cheers,
>
>>
>
>>
>
>>
>
>> David
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> --
>
>>
>
>> David Fanning, Ph.D.
>
>>
>
>> Fanning Software Consulting, Inc.
>
>>
>
>> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
>>
>
>> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
>
>
>
> Hmmmm, here's an update:
>
>
>
> When I run the command line you sent from the terminal window, it works well. We I paste it into the idl interface and run from there, the mouse cursor does not work!
>
> could it be something in the IDL preferences, strange....
>
>
>
> Steve






UPDATE:

Very strange, but I found the issue. I have a breakpoint after the cgsurface command. When I remove that, it works. I though IDL works on a line by line basis. Oh man, little confusing...

Steve
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Count duplicate elements in an array but keep their order!
Next Topic: Different charsize for axis title and labels?

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

Current Time: Fri Oct 10 09:08:48 PDT 2025

Total time taken to generate the page: 0.40169 seconds