Question regarding mesh.tessellateNPatch

11 views
Skip to first unread message

Hui

unread,
Oct 12, 2011, 1:30:48 PM10/12/11
to slimdx-devel
Hi, guys,

I found this email group, and maybe it's the place to ask some
questions. I used SlimDX on my project and it works great until these
days I was stuck with DX9.Mesh.TessellateNPatch function, which always
throw D3DERR_INVALIDCALL exception. Any idea about this? My call is
relative simple like below. The mesh should be fine because I can draw
the mesh without issue.

Mesh^ amesh = Mesh::TessellateNPatches(nmesh, 1.0, false);

I still use March release. Any help is great appreciated.

Thanks,
Hui

xnaguide.com

unread,
Oct 13, 2011, 12:01:38 PM10/13/11
to slimdx-devel
I have started a project on SlimDx. I been working on xna and
developed few small games as part of course. Can you suggest me some
good tutorial sites where I can learn this framework easily as you
look better than me in this framework. I am building kind of 3D graph
building app. based on given data. Direct3D 11 will be used I
suppose.

Any help is great appreciated. :P
Thanks,
xna guide

Mike Popoloski

unread,
Oct 15, 2011, 5:32:58 PM10/15/11
to slimdx...@googlegroups.com
@Hui:
 
Tessellation requires adjacency information in the mesh. You need to call GenerateAdjacency first before calling any functions that require adjacency.


--
You received this message because you are subscribed to the Google Groups "slimdx-devel" group.
To post to this group, send email to slimdx...@googlegroups.com.
To unsubscribe from this group, send email to slimdx-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/slimdx-devel?hl=en.


Mike Popoloski

unread,
Oct 15, 2011, 5:33:58 PM10/15/11
to slimdx...@googlegroups.com
 
This list is not a good medium for introductory information. Please stop posting questions asking for tutorials. There are plenty to be found online.

Reply all
Reply to author
Forward
0 new messages