World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 08-18-2012, 10:41 PM   #1
robotfire
Member
 
Join Date: Feb 2011
Posts: 46
robotfire is on a distinguished road
Default Cones: heading and tilt

Hi,

I'm trying to get a cone to rotate in such a way that the pointy top part stays in the same position, but the heading and tilt change the rest of the cone. I'm trying to represent a radar. You can sort of think of my problem like a flashlight being lit from the ground. The flashlight stays in the same place, but it can be pointed at any direction in the sky with any length, radius, tilt, and heading.

We've been really struggling with this problem for a while, and it's really important for our project. We tried to just do a calculation offset, but that proved fruitless. We really appreciate any help you guys can provide!
robotfire is offline   Reply With Quote
Old 08-20-2012, 03:35 PM   #2
zaknixon
Member
 
Join Date: Mar 2008
Posts: 91
zaknixon is on a distinguished road
Default

I have some code that does this, but it is not using WWJ cones, but custom OpenGL rendering. It also calculates the intersections between the earth and the cone to show some interesting shapes. I will try to post some soon to help you out.
zaknixon is offline   Reply With Quote
Old 08-21-2012, 03:27 AM   #3
robotfire
Member
 
Join Date: Feb 2011
Posts: 46
robotfire is on a distinguished road
Default

That'd be great. Thanks a lot!
robotfire 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
Plugin: My favorite Icons - Add Icons/Favorite canosso Add-ons & Scripts 26 03-02-2010 03:06 AM
WW 1.3.2-Plugin: Skripter canosso Add-ons & Scripts 33 03-22-2007 02:06 PM
WW1.3.2-Plugin: WWKontrol - A Control Interface canosso Add-ons & Scripts 33 02-05-2007 03:53 AM
Controlling Heading with script James_In_Utah WorldWind General 0 07-19-2006 06:33 AM


All times are GMT +1. The time now is 05:54 AM.


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