FSDeveloper Community

Go Back   FSDeveloper Community > Other > Tools programming

Tools programming Use this forum to discuss anything related to creating tools for addon developers

Reply
 
Thread Tools Display Modes
  #1  
Old 01 Nov 2007, 07:30
decapod's Avatar
decapod decapod is offline
  england
Location: Carshalton
Join Date: Apr 2007
Posts: 132
XTOMDL final warning on index buffer

Not sure which forum this comes under.

My FSX export for 3D canvas was used to export a model of around 26,000 polygons.

The MDL file was created, but the final message was:

warning : Index buffer exceeds maximum size

Which sounds a little ominous.

I delved into xtomdl and found the buffer limit is 65535 and this seems to be the total number of vertices for all polys in the model (i.e. polys * 3)

Which would limit models to about 21,000 polys!

I assume this is for older graphics cards that could only support 16bit index buffers - most are 32bit these days.

Has anyone else seen this? and is it a problem?
Reply With Quote
  #2  
Old 01 Nov 2007, 15:56
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,522
There is indeed a "Vertex Buffer Limit" but note that is simply a "Warning."

All that means is that a "new" Vertex Buffer will be created for your model.
__________________
Bill Leaming
3d Modeler Max/GMax
C & XML Gauge Programmer
Eaglesoft Development Group
http://eaglesoftdg.com

Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit
Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit
NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Reply With Quote
  #3  
Old 02 Nov 2007, 06:02
decapod's Avatar
decapod decapod is offline
  england
Location: Carshalton
Join Date: Apr 2007
Posts: 132
Happily, the model flys with no problems.
Reply With Quote
  #4  
Old 02 Nov 2007, 13:51
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,522
Quote:
Originally Posted by decapod View Post
Happily, the model flys with no problems.
I figured it would. All that happens whenever a new vertex buffer is required is that you're adding yet another draw call to the rendering engine.

The object is to create objects and optimized textures to minimize draw calls as much as possible.

If you haven't already done so, I highly recommend reading the series on "Performance Art" by Adrian Woods, Lead Art Developer for ACES:

http://blogs.technet.com/torgo3000/a...mance-art.aspx
__________________
Bill Leaming
3d Modeler Max/GMax
C & XML Gauge Programmer
Eaglesoft Development Group
http://eaglesoftdg.com

Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit
Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit
NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Reply With Quote
  #5  
Old 03 Nov 2007, 04:49
decapod's Avatar
decapod decapod is offline
  england
Location: Carshalton
Join Date: Apr 2007
Posts: 132
Adrian sounds like the man to speak to when I'm over there next week

I have a bit of a background in 3D/DirectX programming having written tools to view MS Train Sim models
(http://steam4me.railpage.org.au/trainsim/sviewr.html)
I may do the same for the MDL format soon.
Reply With Quote
  #6  
Old 03 Nov 2007, 15:37
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,522
Quote:
Originally Posted by decapod View Post
Adrian sounds like the man to speak to when I'm over there next week

I have a bit of a background in 3D/DirectX programming having written tools to view MS Train Sim models
(http://steam4me.railpage.org.au/trainsim/sviewr.html)
I may do the same for the MDL format soon.
Yes, by all means speak with Adrian if you can get close enough... I wish I could go this year (I was there two years ago for the first DevCon), but alas finances won't allow it...

Ironically, FSX is largely responsible for this state of affairs. The uncertainty in the marketplace has caused sale of both FS9 and FSX products to suffer...
__________________
Bill Leaming
3d Modeler Max/GMax
C & XML Gauge Programmer
Eaglesoft Development Group
http://eaglesoftdg.com

Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit
Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit
NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Reply With Quote
  #7  
Old 03 Nov 2007, 19:43
decapod's Avatar
decapod decapod is offline
  england
Location: Carshalton
Join Date: Apr 2007
Posts: 132
FSX is the starting point for me and the gateway to MS Train sim 2.

Hopefully, with 3D canvas export I'll be adding another tool to the model creation process for FSX/TS2.
TS2 may also give FSX a boost with modellers trying new things in both sims.

A train modeling friend of mine has already made a drivable Tank for FS9/FSX with 3D canvas and is keenly testing my export plugin for FSX for his aircraft.
I hope to get a few others to try out FSX before TS2 is released and I hope we have a few FS modellers trying out trains.
TS2 is probably going to boost FSX over FS9, but is supposedly vista only which may put a few people off.
Reply With Quote
  #8  
Old 04 Nov 2007, 13:52
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,522
With both Owen Hewitt and myself involved, there is a high probability that Eaglesoft DG will have a "Train Sim 2" division...
__________________
Bill Leaming
3d Modeler Max/GMax
C & XML Gauge Programmer
Eaglesoft Development Group
http://eaglesoftdg.com

Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit
Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit
NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FSX oil rig sample file export problem in GMAX Dakota GMax and 3DS Max 13 13 Nov 2008 23:29
"degenerating polys"-error, exporting a model Vitus Modeling 22 19 Oct 2007 06:43
compile warning stevenroyals FSX Planner 6 01 Jul 2007 00:17
Something to worry about? garfield_x ScruffyDuck Software Tools (Not ADE) 6 26 Jun 2007 09:30
Regarding Gmax ground-polys bpahe GMax and 3DS Max 76 07 May 2005 03:42


All times are GMT -4. The time now is 22:28.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.