Solved

Direct3D Meshbuilder

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 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