Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Direct3D Meshbuilder

Posted on 1999-01-07
2
Medium Priority
?
333 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 800 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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 article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

718 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