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

Home » Public Forums » archive » Re: 3D array from surfaces?
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: 3D array from surfaces? [message #60389 is a reply to message #60386] Tue, 13 May 2008 16:52 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Mike wrote:
> On May 13, 1:00 pm, David Fanning wrote:
>
>> Maybe you can get some inspiration from this article:
>>
>> http://www.dfanning.com/graphics_tips/mesh.html
>
> Yep - That is just the opposite of what I want to do. What I'm
> looking for is the inverse of Shade_Volume. I suppose this really
> boils down to finding the intersection of a plane and a mesh
> surface... I'll mull it over tonight and see what comes up...

I have to admit that I am a bit confused as to what exactly you need but
you'll probably want to look here:

http://www.realtimerendering.com/int/

My guess is that you'll want to sweep a plane orthogonal to the z axis
from min(z) to max(z) testing for tri/plane intersections. Looking at
that page, the code for tri/plane intersection testing isn't online but
there are at least a few for tri/tri so you could simply use one of
those and make the one tri really big.

HTH's

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: varimax rotation
Next Topic: Re: how to "check" checkbox state?

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

Current Time: Fri Oct 10 19:26:14 PDT 2025

Total time taken to generate the page: 0.48163 seconds