hi, i need to past *.x 3d model file into vb6 script. can someone recomend some comprehensively teaching online redaction about? it will be good if there could possibly find way of puting multiple objects in. ex three to see the regle. thanks, i will publish the resultats, for next discussion when passin through... :\

Member Avatar
+0 forum 0

Hi Guys, Im currently working on a school project but im stuck, if worked on this problem for over 4 days now and i cant fix it. Using Direct3D 9, Visual studio 2010, im trying to make create a heightmap. Im using a bmp file. Problem: the heightmap doesn't show up on my screen. The Process: -Read bmp file to char* -Create mesh from char* -Save mesh in LPD3DXMESH of class Heightmap -Render all objects: heightmap, skybox, entitys So i started the debugging by checking if my renderer even renders my heightmap. The render function renders objects. the heightmap object …

Member Avatar
+0 forum 0

Hi All, I am working on a graphics project which involves simplification of images using triangle decimation. I am coding along the lines of [url]http://mgarland.org/software/qslim.html[/url] and [url]http://jsomers.com/vipm_demo/meshsimp.html[/url]. The problem is that for the ply file that i have and the implementation that i did, there are small triangles spewed across the ply file generated. There are holes even when no new non-manifold edges are created. In decimation techniques , is it usual to let the holes form and then fill or is there a way to decimate without producing any holes. PS: I tried to decimate the ply file with …

Member Avatar
+0 forum 0

Hi all, Ok, a little bit of background before I start. I am working on some 2D visualisation software to show a cross-section of a magnet yoke with colour coded sections showing the force. The diagram has 10 discrete colour sections, not a continuous blend of colour. The data I get from the experiment is formatted awkwardly and unfortunately this cannot be changed. I get an array of facets each with 8 x,y points. Each point has a force intensity value. The facet is formatted like this: [CODE]0 7 6 1 5 2 3 4[/CODE] However the mesh is not …

Member Avatar
+0 forum 0

Hello guys, I've been playing with Direct2D lately, and found out (from a presentation) that converting geometries into meshes makes rendering a lot faster So, how do I do this? I tried this: [CODE] hr = RenderEngine.D2DFactory->CreateRectangleGeometry(D2D1::RectF(0,0,10,10), &pGem); hr = RenderEngine.RenderTarget->CreateMesh(&pMesh); hr = pMesh->Open(&pSink); hr = pGem->Tessellate(D2D1::Matrix3x2F::Identity(), pSink); hr = pSink->Close(); SafeReplace(&pFillMesh, pMesh); pSink->Release(); pMesh->Release(); pGem->Release(); [/CODE] Where pGem is of the ID2D1RectangleGeometry type pMesh is of the ID2D1Mesh type pSink is of the ID2D1TesselationSink type And then in the render function I called [CODE] RenderTarget->BeginDraw(); for(int i=0;i<total;i++) { RenderTarget->SetTransform(D2D1::Matrix3x2F::Translation(p[i].x, p[i].y)); RenderTarget->FillMesh(NULL, pFillMesh) } RenderTarget->EndDraw(); [/CODE] But nothing draws. I …

Member Avatar
Member Avatar
+0 forum 1

[I]Sometimes you're the Louisville Slugger Sometimes you're the ball ~Mark Knopfler, The Bug[/I] Technology moves so quickly it's a bit like the weather in New England. If you don't like it, wait five minutes. To prove this, not long after I published my post last week, [URL="http://www.daniweb.com/blogs/entry2351.html"]Microsoft Misses the Boat in Albany[/URL], in which incidentally I asserted that Microsoft completely failed to grasp the idea of web-based computing, it announced the Mesh Platform, which if I understand it correctly, shows that Microsoft in fact, does get the web (at least, in its own way). And yes, the Microsoft engineers did …

Member Avatar
+0 forum 0

The End.