Post

 Resources 

Console


RE: Problems with D3DIM Noah Adler (0 replies, 0 views) (2000-Aug-3)
-
Well, I don't know if you just mistyped it, but it seems like that would give an error since MyMesh doesn't have members called Center or Radius...I guess you meant MyMesh.ManyMeshGroups(i), which of course you could just leave out, considering the With...but you already knew that... On a side note, while I don't have too much experience with ComputeSphereVisibility, wouldn't using D3DSTATUS_CLIPINTERSECTIONALL cause it not to be drawn even if it's still partially visible? Seems like you would want D3DSTATUS_CLIPUNIONALL, though it appears to be the same judging from the Enum listing in the docs, but maybe it's just listed wrong there...I calculate it to be 4095, but maybe I'm missing something... It looks like it would work, the pseudocode here looks alright. I don't know why you would have the problem you described, but it's probably a just typo somewhere...sorry I can't be of more help. Noah Adler


-
Up One Level | Back to Forum


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 89 visitors within the last 20 minutes
RSS News Feed