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

Home » Public Forums » archive » Re: ...and planet textures ...
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: ...and planet textures ... [message #40307 is a reply to message #40306] Tue, 03 August 2004 10:39 Go to previous messageGo to previous message
Ralf Schaa is currently offline  Ralf Schaa
Messages: 37
Registered: June 2001
Member
Rick Towler wrote:
> Ralf Schaa wrote:
>
>> Yet another question:
>>
>> I found that one can add a jpeg as a texture for a sphere, so i added
>> an image from Mars (http://maps.jpl.nasa.gov/mars.html) as a texture,
>> which is beautiful ...
>>
>> But how can I rotate that texture, so that the 'planet' is showing the
>> right front/up/down to me ? ( when looking from Earth at a specific
>> epoch...)
>
>
> Easiest is to rotate your texture in an image editing program.
>
> If you want to rotate it an arbitrary amount "on the fly" then you can
> modify the Texture_Coords. I posted about this a while back:
>
> http://tinyurl.com/3nkw2
>
> -Rick


Thanks Rick,

the rotating would have to be on the fly, and for this your link was
very helpfull.
Actually, since it is a sphere , i only rotate that, and not the texture:

model -> rotate, [0,0,1], 30.

et voila ... :-)

-Ralf
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Object Graphics: Combine 2d with 3d
Next Topic: tvrd(true = 1) Odd behavior in Windows versus Linux

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

Current Time: Sat Oct 11 04:25:52 PDT 2025

Total time taken to generate the page: 1.21665 seconds