Home
last modified time | relevance | path

Searched refs:mesh (Results 1 – 25 of 34) sorted by relevance

12

/reactos/dll/opengl/glu32/src/libnurbs/internals/
H A Dbackend.cc338 surfaceEvaluator.evalcoord2f( mesh[0][3], mesh[0][0], mesh[0][1] ); in tmeshvert()
340 surfaceEvaluator.evalpoint2i( (long) mesh[0][0], (long) mesh[0][1] ); in tmeshvert()
342 surfaceEvaluator.evalcoord2f( mesh[1][3], mesh[1][0], mesh[1][1] ); in tmeshvert()
344 surfaceEvaluator.evalpoint2i( (long) mesh[1][0], (long) mesh[1][1] ); in tmeshvert()
375 surfaceEvaluator.evalcoord2f( mesh[0][3], mesh[0][0], mesh[0][1] ); in tmeshvert()
377 surfaceEvaluator.evalpoint2i( (long) mesh[0][0], (long) mesh[0][1] ); in tmeshvert()
379 surfaceEvaluator.evalcoord2f( mesh[1][3], mesh[1][0], mesh[1][1] ); in tmeshvert()
381 surfaceEvaluator.evalpoint2i( (long) mesh[1][0], (long) mesh[1][1] ); in tmeshvert()
415 surfaceEvaluator.evalcoord2f( (long) mesh[0][3], mesh[0][0], mesh[0][1] ); in tmeshvert()
417 surfaceEvaluator.evalpoint2i( (long) mesh[0][0], (long) mesh[0][1] ); in tmeshvert()
[all …]
H A Dmesher.h52 void mesh( void );
H A Dbackend.h108 REAL mesh[3][4]; variable
/reactos/modules/rostests/winetests/d3dx9_36/
H A Dmesh.c1210 struct mesh mesh; in D3DXCreateMeshTest() local
1416 struct mesh mesh; in D3DXCreateMeshFVFTest() local
2626 struct mesh mesh; in test_box() local
2750 struct mesh mesh; in test_polygon() local
3027 struct mesh mesh; in test_sphere() local
3254 struct mesh mesh; in test_cylinder() local
3418 struct mesh mesh; in test_torus() local
4247 struct mesh mesh = {0}; in test_createtext() local
8623 if (mesh) mesh->lpVtbl->Release(mesh); in test_weld_vertices()
10393 if (mesh) mesh->lpVtbl->Release(mesh); in test_clone_mesh()
[all …]
H A DCMakeLists.txt8 mesh.c
/reactos/dll/directx/wine/d3drm/
H A Dmeshbuilder.c1953 if (!mesh) in d3drm_mesh_builder3_CreateMesh()
2410 heap_free(mesh); in d3drm_mesh_Release()
2450 mesh->obj.appdata = data; in d3drm_mesh_SetAppData()
2461 return mesh->obj.appdata; in d3drm_mesh_GetAppData()
2526 …if (!d3drm_array_reserve((void **)&mesh->groups, &mesh->groups_size, mesh->nb_groups + 1, sizeof(* in d3drm_mesh_AddGroup()
2529 group = mesh->groups + mesh->nb_groups; in d3drm_mesh_AddGroup()
2566 *id = mesh->nb_groups++; in d3drm_mesh_AddGroup()
2599 if (id >= mesh->nb_groups) in d3drm_mesh_SetGroupColor()
2614 if (id >= mesh->nb_groups) in d3drm_mesh_SetGroupColorRGB()
2685 return mesh->nb_groups; in d3drm_mesh_GetGroupCount()
[all …]
H A Dd3drm.c151 struct d3drm_mesh *mesh; in d3drm_create_mesh_object() local
154 if (FAILED(hr = d3drm_mesh_create(&mesh, d3drm))) in d3drm_create_mesh_object()
157 *object = &mesh->IDirect3DRMMesh_iface; in d3drm_create_mesh_object()
304 TRACE("iface %p, mesh %p.\n", iface, mesh); in d3drm1_CreateMesh()
306 return IDirect3DRM3_CreateMesh(&d3drm->IDirect3DRM3_iface, mesh); in d3drm1_CreateMesh()
866 TRACE("iface %p, mesh %p.\n", iface, mesh); in d3drm2_CreateMesh()
868 return IDirect3DRM3_CreateMesh(&d3drm->IDirect3DRM3_iface, mesh); in d3drm2_CreateMesh()
1278 FIXME("iface %p, mesh %p stub!\n", iface, mesh); in d3drm2_CreateProgressiveMesh()
1452 TRACE("iface %p, mesh %p.\n", iface, mesh); in d3drm3_CreateMesh()
1457 *mesh = &object->IDirect3DRMMesh_iface; in d3drm3_CreateMesh()
[all …]
/reactos/dll/opengl/glu32/src/libtess/
H A Dtess.c144 if( tess->mesh != NULL ) { in MakeDormant()
149 tess->mesh = NULL; in MakeDormant()
445 if( tess->mesh == NULL ) { in gluTessVertex()
469 tess->mesh = NULL; in gluTessBeginPolygon()
502 GLUmesh *mesh; in gluTessEndPolygon() local
513 if( tess->mesh == NULL ) { in gluTessEndPolygon()
544 mesh = tess->mesh; in gluTessEndPolygon()
584 tess->mesh = NULL; in gluTessEndPolygon()
589 __gl_meshDeleteMesh( mesh ); in gluTessEndPolygon()
591 tess->mesh = NULL; in gluTessEndPolygon()
[all …]
H A Dmesh.c610 if (mesh == NULL) { in __gl_meshNewMesh()
614 v = &mesh->vHead; in __gl_meshNewMesh()
615 f = &mesh->fHead; in __gl_meshNewMesh()
616 e = &mesh->eHead; in __gl_meshNewMesh()
648 return mesh; in __gl_meshNewMesh()
702 assert( mesh->vHead.next == &mesh->vHead ); in __gl_meshDeleteMesh()
704 memFree( mesh ); in __gl_meshDeleteMesh()
717 for( f = mesh->fHead.next; f != &mesh->fHead; f = fNext ) { in __gl_meshDeleteMesh()
722 for( v = mesh->vHead.next; v != &mesh->vHead; v = vNext ) { in __gl_meshDeleteMesh()
727 for( e = mesh->eHead.next; e != &mesh->eHead; e = eNext ) { in __gl_meshDeleteMesh()
[all …]
H A Dtessmono.c133 int __gl_meshTessellateInterior( GLUmesh *mesh ) in __gl_meshTessellateInterior() argument
138 for( f = mesh->fHead.next; f != &mesh->fHead; f = next ) { in __gl_meshTessellateInterior()
155 void __gl_meshDiscardExterior( GLUmesh *mesh ) in __gl_meshDiscardExterior() argument
160 for( f = mesh->fHead.next; f != &mesh->fHead; f = next ) { in __gl_meshDiscardExterior()
179 int __gl_meshSetWindingNumber( GLUmesh *mesh, int value, in __gl_meshSetWindingNumber() argument
184 for( e = mesh->eHead.next; e != &mesh->eHead; e = eNext ) { in __gl_meshSetWindingNumber()
H A Dtessmono.h66 int __gl_meshTessellateInterior( GLUmesh *mesh );
67 void __gl_meshDiscardExterior( GLUmesh *mesh );
68 int __gl_meshSetWindingNumber( GLUmesh *mesh, int value,
H A Dmesh.h247 GLUhalfEdge *__gl_meshMakeEdge( GLUmesh *mesh );
257 void __gl_meshDeleteMesh( GLUmesh *mesh );
261 #define __gl_meshCheckMesh( mesh ) argument
263 void __gl_meshCheckMesh( GLUmesh *mesh );
H A Drender.c82 void __gl_renderMesh( GLUtesselator *tess, GLUmesh *mesh ) in __gl_renderMesh() argument
89 for( f = mesh->fHead.next; f != &mesh->fHead; f = f->next ) { in __gl_renderMesh()
92 for( f = mesh->fHead.next; f != &mesh->fHead; f = f->next ) { in __gl_renderMesh()
339 void __gl_renderBoundary( GLUtesselator *tess, GLUmesh *mesh ) in __gl_renderBoundary() argument
344 for( f = mesh->fHead.next; f != &mesh->fHead; f = f->next ) { in __gl_renderBoundary()
H A Drender.h47 void __gl_renderMesh( GLUtesselator *tess, GLUmesh *mesh );
48 void __gl_renderBoundary( GLUtesselator *tess, GLUmesh *mesh );
H A Dnormal.c82 GLUvertex *vHead = &tess->mesh->vHead; in ComputeNormal()
144 GLUface *f, *fHead = &tess->mesh->fHead; in CheckOrientation()
145 GLUvertex *v, *vHead = &tess->mesh->vHead; in CheckOrientation()
200 GLUvertex *v, *vHead = &tess->mesh->vHead; in __gl_projectPolygon()
H A Dalg-outline92 There are three data structures: the mesh, the event queue, and the
95 The mesh is a "quad-edge" data structure which records the topology of
96 the current decomposition; for details see the include file "mesh.h".
110 vertex. The processed portion of the mesh (left of the sweep line) is
111 a planar decomposition. As we cross each vertex, we update the mesh
126 - relinking the mesh if necessary, so that the order of these edges around
143 - relinking the mesh if necessary, so that the order of these edges around
179 - The portion of the mesh left of the sweep line is a planar graph,
214 the mesh structure).
H A Dtess.h66 GLUmesh *mesh; /* stores the input contours, and eventually member
101 void (GLAPIENTRY *callMesh)( GLUmesh *mesh );
H A Dsweep.c1138 e = __gl_meshMakeEdge( tess->mesh ); in AddSentinel()
1205 GLUhalfEdge *eHead = &tess->mesh->eHead; in RemoveDegenerateEdges()
1246 vHead = &tess->mesh->vHead; in InitPriorityQ()
1267 static int RemoveDegenerateFaces( GLUmesh *mesh ) in RemoveDegenerateFaces() argument
1287 for( f = mesh->fHead.next; f != &mesh->fHead; f = fNext ) { in RemoveDegenerateFaces()
1357 if ( !RemoveDegenerateFaces( tess->mesh ) ) return 0; in __gl_computeInterior()
1358 __gl_meshCheckMesh( tess->mesh ); in __gl_computeInterior()
H A DREADME24 - output is available as an explicit mesh (a quad-edge structure),
115 void mesh( GLUmesh *mesh ); /* GLU_TESS_MESH */
117 - Returns an explicit mesh, represented using the quad-edge structure
119 use a different mesh structure, so this is available only only as an
120 SGI extension. When the mesh is no longer needed, it should be freed
123 void gluDeleteMesh( GLUmesh *mesh );
126 file "mesh.h". For the full details, see L. Guibas and J. Stolfi,
/reactos/sdk/include/dxsdk/
H A Dd3dx9shape.h29 float depth, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
31 … float length, UINT slices, UINT stacks, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
32 …DXCreatePolygon(struct IDirect3DDevice9 *device, float length, UINT sides, struct ID3DXMesh **mesh,
35 UINT stacks, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
37 struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
39 …float extrusion, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency, GLYPHMETRICSFLOAT *glyph…
41 …FLOAT extrusion, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency, GLYPHMETRICSFLOAT *glyph…
43 …float innerradius, float outerradius, UINT sides, UINT rings, struct ID3DXMesh **mesh, ID3DXBuffer…
H A Dd3dx9mesh.h505 STDMETHOD(Tessellate)(THIS_ float tess_level, ID3DXMesh *mesh) PURE; in DECLARE_INTERFACE_()
507 DWORD min_tess_level, ID3DXMesh *mesh) PURE; in DECLARE_INTERFACE_()
705 HRESULT WINAPI D3DXCreateSPMesh(ID3DXMesh *mesh, const DWORD *adjacency,
709 DWORD *material_count, struct ID3DXPMesh **mesh);
717 struct IDirect3DDevice9 *device, struct ID3DXPatchMesh **mesh);
729 DWORD *material_count, struct ID3DXMesh **mesh);
732 DWORD *material_count, struct ID3DXMesh **mesh);
740 DWORD *material_count, struct ID3DXMesh **mesh);
743 DWORD *material_count, struct ID3DXMesh **mesh);
746 DWORD *material_count, struct ID3DXPatchMesh **mesh);
[all …]
/reactos/dll/directx/wine/d3dx9_36/
H A Dmesh.c2925 memcpy(mesh->tex_coords, data, mesh->num_vertices * sizeof(*mesh->tex_coords)); in parse_texture_coords()
4299 ID3DXMesh *mesh = container_ptr->mesh; in D3DXLoadMeshFromXInMemory() local
4300 fvf |= mesh->lpVtbl->GetFVF(mesh); in D3DXLoadMeshFromXInMemory()
4320 ID3DXMesh *mesh = container_ptr->mesh; in D3DXLoadMeshFromXInMemory() local
4362 mesh->lpVtbl->UnlockVertexBuffer(mesh); in D3DXLoadMeshFromXInMemory()
4374 ID3DXMesh *mesh = container_ptr->mesh; in D3DXLoadMeshFromXInMemory() local
4395 mesh->lpVtbl->UnlockIndexBuffer(mesh); in D3DXLoadMeshFromXInMemory()
7151 mesh->lpVtbl->UnlockVertexBuffer(mesh); in D3DXWeldVertices()
7166 mesh->lpVtbl->UnlockAttributeBuffer(mesh); in D3DXWeldVertices()
7168 mesh->lpVtbl->UnlockIndexBuffer(mesh); in D3DXWeldVertices()
[all …]
/reactos/sdk/tools/winesync/d3dx9_staging/
H A D0013-d3dx9_36__Implement_ID3DXSkinInfoImpl_UpdateSkinnedMesh.diff106 diff --git a/modules/rostests/winetests/d3dx9_36/mesh.c b/modules/rostests/winetests/d3dx9_36/mesh.c
108 --- a/modules/rostests/winetests/d3dx9_36/mesh.c
109 +++ b/modules/rostests/winetests/d3dx9_36/mesh.c
199 @@ -11509,6 +11591,7 @@ START_TEST(mesh)
H A D0007-d3dx9_36__Add_semi-stub_for_D3DXOptimizeVertices.diff170 diff --git a/dll/directx/wine/d3dx9_36/mesh.c b/dll/directx/wine/d3dx9_36/mesh.c
172 --- a/dll/directx/wine/d3dx9_36/mesh.c
173 +++ b/dll/directx/wine/d3dx9_36/mesh.c
208 diff --git a/modules/rostests/winetests/d3dx9_36/mesh.c b/modules/rostests/winetests/d3dx9_36/mesh.c
210 --- a/modules/rostests/winetests/d3dx9_36/mesh.c
211 +++ b/modules/rostests/winetests/d3dx9_36/mesh.c
240 @@ -11493,6 +11514,7 @@ START_TEST(mesh)
H A D0009-d3dx9__Implement_D3DXComputeTangent.diff170 diff --git a/dll/directx/wine/d3dx9_36/mesh.c b/dll/directx/wine/d3dx9_36/mesh.c
172 --- a/dll/directx/wine/d3dx9_36/mesh.c
173 +++ b/dll/directx/wine/d3dx9_36/mesh.c
180 +HRESULT WINAPI D3DXComputeTangent(ID3DXMesh *mesh, DWORD stage_idx, DWORD tangent_idx,
183 + TRACE("mesh %p, stage_idx %d, tangent_idx %d, binorm_idx %d, wrap %d, adjacency %p.\n",
184 + mesh, stage_idx, tangent_idx, binorm_idx, wrap, adjacency);
186 + return D3DXComputeTangentFrameEx( mesh, D3DDECLUSAGE_TEXCOORD, stage_idx,
198 HRESULT WINAPI D3DXComputeNormals(struct ID3DXBaseMesh *mesh, const DWORD *adjacency)

12