Solved

Direct3D Meshbuilder

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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

636 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