World Wind Forums

Go Back   World Wind Forums > WorldWind .Net Development > Developers' Corner

Developers' Corner General World Wind development.

Reply
 
Thread Tools Display Modes
Old 04-20-2005, 03:00 AM   #1
adamhill
Senior Member
 
Join Date: Sep 2004
Posts: 147
adamhill
Default

Two new cool things to check out for the adventuresome developer:

Chris new translucent layers in v1.4 Alpha:
http://cvs.sourceforge.net/viewcvs.py/nasa..._4_DDH_20050418

Mashi's Scripting Engine
http://cvs.sourceforge.net/viewcvs.py/nasa..._SCRIPTCOMPILER

In 1.4 right click on a layer in Layer Manager and select Opacity to make it translucent. You need a modern graphics card with Vertex Shaders 1.0 to use it. I have verified it runs on somethig else than my dev box

Mashi's scripting engine is a simple CodeProvider compiler. So you write a plugin in C#, VB or JScript, implement the required interface from IScript and you are good to go. All Public objects and fields are free game.

Mashi has 4 examples in all 3 languages:
Clock - Simple date and time display. Show how to add a RenderableObject to the scene.
UDPReciever - Send Goto(lat, long) commands to WorldWind.
RangeFog - Add depth cued fog to the 3D views. Very cool.
TrailTracker - Make a path follow the camera.

Note that all the current engine does is let you add code to the running instance, there is no debugger other than VS.NET, but comple errors appear in the splash screen.

Have fun!
__________________
Adam Hill - .NET and GIS Guy
Thregecy Inc. ::: TheBigPixel
Hack #24 - World Wind
adamhill is offline   Reply With Quote
Old 04-20-2005, 03:05 AM   #2
5of0
Dabbling Geek
 
5of0's Avatar
 
Join Date: Jan 2005
Location: Washington State, USA
Posts: 1,623
5of0 is an unknown quantity at this point
Default

Quote:
Originally posted by adamhill@Apr 19 2005, 06:00 PM
Mashi's scripting engine is a simple CodeProvider compiler. So you write a plugin in C#, VB or JScript, implement the required interface from IScript and you are good to go. All Public objects and fields are free game.
Yes! VB! Is that classic (VB6) or just .NET?
__________________
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
Old 04-20-2005, 03:25 PM   #3
bull
Cosmic Overlord
 
bull's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
bull is an unknown quantity at this point
Default

Please note that the scripting feature is very powerful, so if you format your harddrive by mistake don't blame NASA.
bull is offline   Reply With Quote
Old 04-25-2005, 07:27 PM   #4
bull
Cosmic Overlord
 
bull's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
bull is an unknown quantity at this point
Default

Heres an example of the coolness of mashis work on scripting in WW, a realtime ISS tracker!

[attachmentid=653]
Attached Images
File Type: jpg issandfog.jpg (48.5 KB, 379 views)
bull 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
1.3.2 alpha 1 released Jessi Developers' Corner 25 06-13-2005 10:24 PM


All times are GMT +1. The time now is 08:50 AM.


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