Re: Cutting a mesh

Tech-Archive recommends: Fix windows errors by optimizing your registry



I found that there is a SetClipPlane() method in the C++ API, but
could not find a corresponding method in the MDX API.

Is there a way to call the unmanaged code from the managed code?

James

> For the first one see:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_m/directx/ref/ns/microsoft.directx.direct3d/c/renderstatemanager/p/clipping.asp?frame=true
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_m/directx/ref/ns/microsoft.directx.direct3d/s/clipstatus/clipstatus.asp?frame=true
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_m/directx/ref/ns/microsoft.directx.direct3d/e/clipstatusflags/clipstatusflags.asp?frame=true
> There are 6 appliction defined clipping planes.
> I've never used this but it seems like its what you want. The really odd
> thing is that I can't find the API to actually set the user defined
> clipping planes. I'm sure I'm just overlooking it and someone else will
> chime in.
>
> For the second one, nothing in DirectX - do some searches for CSG
> operations - there are probbly some libraries out there that can help.
>
> --
> Zman (mailto:zman@xxxxxxxxxxxxxx)
> http://www.thezbuffer.com
> News and Resources for Managed DirectX


.



Relevant Pages

  • Re: Cutting a mesh
    ... > could not find a corresponding method in the MDX API. ... >> There are 6 appliction defined clipping planes. ... >> News and Resources for Managed DirectX ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: ActiveX.exe and RaiseEvent
    ... I've gone through the code and also done some research on the COM Interop ... With every transition from managed code to unmanaged code (and vice ... marshaling stubs. ... When a Win32 API is not exposed by the .NET framework you must manually ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Replacement for CDO/MAPI
    ... better API story for .Net. ... concerning MAPI and CDO with .Net. ... > trying to support .NET. ... > does work with managed code. ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Consuming a string from an unmanaged C++ DLL
    ... API, and exposes for example normal char array to managed code? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Consuming a string from an unmanaged C++ DLL
    ... API, and exposes for example normal char array to managed code? ...
    (microsoft.public.dotnet.framework.compactframework)