Solved

Direct3D Meshbuilder

Posted on 1999-01-07
2
310 Views
Last Modified: 2013-12-03
Is there an upper limit to the number of vertices that a DIRECT3DRMMESHBUILDER object can have?
When I add 2500 vertices, it works fine, but more than that will cause a GPF.
0
Comment
Question by:joesauder
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
lucidity earned 200 total points
ID: 1418305
I have sucessfully use 10,000 polys (30,000 vertices) in a single mesh. Perhaps you are not allocating enough memory to store more than 2500 vertices. If you are making a large mesh maybe you should create it in a 3rd party program like 3d studio and export an X file then use that for your mesh object.
0
 

Author Comment

by:joesauder
ID: 1418306
Yes, you are correct.  I was sending the wrong value to AddFaces() for the number of normals.  I corrected the value, and now the sky is the limit.  I would have considered using a 3rd party package, but I need to morph the mesh anyway.

Thanks for your help.

0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question