World Wind Forums

Go Back   World Wind Forums > Community > WorldWind General

WorldWind General General WorldWind discussions.
Note: This is not a technical support forum. It is for World Wind topics that don't fit into other categories.

Reply
 
Thread Tools Display Modes
Old 02-05-2007, 09:40 AM   #21
adamhill
Senior Member
 
Join Date: Sep 2004
Posts: 148
Default

WW needs more *cowbell*.
__________________
Adam Hill - .NET and GIS Guy
Thregecy Inc. ::: TheBigPixel
Hack #24 - World Wind
adamhill is offline   Reply With Quote
Old 02-05-2007, 01:51 PM   #22
TomServo
God. Root. What is difference?
 
TomServo's Avatar
 
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,856
Default

Interestly enough,, that skit was on TV the other day.
__________________


Earth is Square blog

PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe.
TomServo is offline   Reply With Quote
Old 02-09-2007, 05:57 PM   #23
jp09
Senior Member
 
Join Date: Jun 2005
Location: France
Posts: 166
Default

Hi,
I did not find the post where what_nick offered a reward for animating a car over the Golden Gate Bridge, so I'll post there :
i haven't the car, but someone told me an imperial shuttle was heading to Toulouse, France
He recorded a short sequence (flash, 8.6 Mb): http://www.ige.fr/3d/WW/MoveYourX/MoveYourX.en.php

I used a quickly made plugin to do this. It's not really finished, but I'm not sure i'll have time to polish it. Maybe i'll give the code "as is"...

Last edited by jp09; 02-09-2007 at 05:59 PM.
jp09 is offline   Reply With Quote
Old 02-09-2007, 06:10 PM   #24
TomServo
God. Root. What is difference?
 
TomServo's Avatar
 
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,856
Default

Wow, that is pretty damn cool
__________________


Earth is Square blog

PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe.
TomServo is offline   Reply With Quote
Old 02-09-2007, 06:16 PM   #25
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
Default

Nice.

A model animator plugin could just be the movie recorder with the code that moves/orients the camera replaced with code that moves/orients the model.
withak is offline   Reply With Quote
Old 02-09-2007, 11:17 PM   #26
jp09
Senior Member
 
Join Date: Jun 2005
Location: France
Posts: 166
Default

Yes, Withak, that's it !
Except that you have to change some things : you may want the model to do things the camera cannot, for example heading upwards. But basically, that's the idea. for the moment, I did it very basci, and i'm not sure i'll have time to improve it. But if someone wants the code....


By the way, i noticed an overflow risk for the Z value (float), l. 120 (aprox.) : drawArgs.device.Transform.World *= Matrix.Translation(0,0,(float)drawArgs.W orldCamera.WorldRadius + (currentElevation * Convert.ToInt16(isElevationRelative2Grou nd) + Altitude)*vertExaggeration);
Multiplying the currentElevation by vertExaggeration can lead to float overflow, that has to be managed. The basic solution I porpose is :
float MyZ;
if ( drawArgs.WorldCamera.WorldRadius + (currentElevation * Convert.ToInt16(isElevationRelative2Grou nd) + Altitude)*vertExaggeration > float.MaxValue)
MyZ = float.MaxValue;
else
MyZ = (float)drawArgs.WorldCamera.WorldRadius + (currentElevation * Convert.ToInt16(isElevationRelative2Grou nd) + Altitude)*vertExaggeration;
drawArgs.device.Transform.World *= Matrix.Translation(0,0,MyZ);
jp09 is offline   Reply With Quote
Old 02-10-2007, 12:34 AM   #27
what_nick
Worldwind Developer
 
Join Date: Jan 2006
Location: Adelaide
Posts: 417
Default

A full .cs file will be handier for the merge. How would you like the movemensts coded into the model via worldwind XML ? Suggestions are welcome otherwise i am suggesting a simple lat,lon,alt + orientation list instead of a single position.
what_nick is offline   Reply With Quote
Old 02-10-2007, 09:40 PM   #28
jp09
Senior Member
 
Join Date: Jun 2005
Location: France
Posts: 166
Default

The movements, xia XML ? Wow, didn't think about it...
I was more thinking of a plugin, just like movie recorder (it's possible to use both at the same time).
what i was beginning to do is just as withak said, starting from the movie recorder basis (Mashi, where are you ?! Can't you come back I miss you !!! ;o)
And customizing to model behaviour : i kept the same sc scripts as a basis (sequence of WW uri), because it was easy to generate, copy-pasting positions in WW (but a linear path, shapefile-like would be great for further use), with a separate altitude control, orientation being customisable just as offset, but moderated by direction (set by the path way). and maybe the possibility to attach the camera to the object, just in order to be able to follow the object
I believe it would not represent much work to do it. I may contribute, but not much, as I'm doing it partly on working time.
A possibility to bind the model's displacement with the movie recorder would be great to generate nice movies, but i don't see exactly how it should work...
jp09 is offline   Reply With Quote
Old 03-15-2007, 12:07 AM   #29
demmith
Junior Member
 
Join Date: Jan 2007
Location: Virginia
Posts: 17
Default

Quote:
Originally Posted by what_nick View Post
My offer for the moving model prize is still open. Use the satellite tracker plugin to see how to do it.
Okay, I'm ready to take the dive. What file am I looking for when the UI prompts for a plugin file to browse to? I checked the Satellite Tracker checkbox but I don't know the type nor the name of the file that I am supposed to enter.
demmith is offline   Reply With Quote
Old 03-15-2007, 03:03 AM   #30
5of0
Dabbling Geek
 
5of0's Avatar
 
Join Date: Jan 2005
Location: Washington State, USA
Posts: 1,624
Default

Assuming you're trying to hit the "Install" button, you don't have to - if it's in the list, it's already installed. There should be a Satellite Tracker item in the Layer Manager (assuming you've loaded it) where you can check which Satellites you'd like displayed.
__________________
Note: The above statement is probably an educated guess, derived from much forum reading, IRC chatting, general curiosity, etc. Use at your own risk.
Before asking, check the FAQ or search, and Ask a good question.

Having problems? Make sure you have Managed DirectX and .NET Framework.
Then check the Video Card Compatibility List


5of0 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WorldMapper - new visualization radhock Community Chat 5 07-02-2006 11:42 PM
Problem in texture or terrain visualization gabrio Technical Support 5 05-27-2006 01:34 AM
WW mentioned in article KoS WorldWind General 5 01-18-2006 05:23 PM
Bug in Scientific Visualization Studio acejg Bug Reports 2 07-18-2005 01:03 PM
3D visualization *very* unstable Danny Bug Reports 4 04-28-2005 05:49 PM


All times are GMT +1. The time now is 04:35 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.