Solved

Direct3D Meshbuilder

Posted on 1999-01-07
2
298 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
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Table Size and Indexes in SQL Server 6 24
Application vs Workbook.applicaiton 3 35
Issue when running a SSIS package (.dts) from an SQL job 21 83
Question to Pivot table 1 53
This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
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…

803 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