![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jul 2011
Location: Styria, Austria, European Union
Posts: 32
![]() |
Hello,
what is the best approach to perform a plane/terrain intersection to get the contour of the cutting plane? Thanks a lot. |
|
|
|
|
|
#2 |
|
Member
Join Date: Jul 2011
Location: Styria, Austria, European Union
Posts: 32
![]() |
By the way is an example for the HighResolutionTerrain class with the method intersectTriangle(Vec4[] triangleCoordinates, Position[] trianglePositions, List<Position[]> intersectPositionsOut) available? I did some experiments with it, but the results (NullPointerException) are not satisfying.
Thank you for your help. |
|
|
|
|
|
#3 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,041
![]() |
There are five examples that use HighResolutionTerrain; just examine those. Also look at the ContourLines example for another way of doing terrain intersections. See also WWMath.polytopeIntersect().
|
|
|
|
|
|
#4 |
|
Member
Join Date: Jul 2011
Location: Styria, Austria, European Union
Posts: 32
![]() |
Thank you for your hint. With ContourLine.java I was able to solve my problem.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sector intersection | CapDam | Development Help | 1 | 02-03-2012 12:56 PM |
| Frustum/Sphere intersection | NathanKronenfeld | Development Help | 1 | 05-04-2010 04:44 AM |
| Small Improvement to Cylinder/Frustum intersection | Shadre | Development Help | 2 | 05-28-2009 06:38 PM |
| GC distance and intermediate points | Hactic | Technical Support | 0 | 01-07-2009 06:55 PM |
| Intersection testing | slade | Development Help | 7 | 10-05-2007 09:49 PM |