View Full Version : hud question / visible triangles
02-05-2008, 08:23 AM
I've been working on a demo reel of a game pitch for the nintendo DS. One of the key things with this as might imagine is that the triangle count cannot go over 2000 per frame. Triangles that are hidden are not rendered by the hardware.
Here in lies my problem: is there a plugin or way of making cinema 4d display "visible trangles" for the scene in the hud?
It would be handy, as the game, although only in the early concept stages, needs to be theoreticaly correct to show at the pitch, with some kind of triangle counter.
02-05-2008, 09:09 AM
showing a models triangle is one of the HUD presets in the viewport settings in the AM. that said if you want the whole scenes visible triangle count you going to have write a coffee expression to calculate that and then you could put that in an xpresso node that outputs to a string user data that you add to the HUD.
02-06-2008, 06:47 AM
is that a difficult thing to do? I've never touched the coding side of cinema 4d.
Does anyone have a link to hud specific c.o.f.f.e.e. scripting? I'm looking to just display the visible triangles in a scene (visible to the active camera, hidden / obscured triangles are not counted)
02-06-2008, 07:16 AM
This neat little plugin from Chris counts triangles (hidden or visible), quadrangles and even takes into account generators (symetry object, for example). It also shows you the polygon count for the selected object, and the whole scene : http://www.biomekk.com/index.php?page=3&cat=107&itm=13
You can even set your threshold to 2000 triangles, and it will display a progress bar and will play a sound if you go over your polygon "budget" ;)
02-06-2008, 08:46 AM
thanks for the link! That plugin is just like max's own counter.
No hud display though, but very very helpful all the same.
02-06-2008, 05:44 PM
showing a models triangle is one of the HUD presets in the viewport settings in the AM.
Any chance you could post a screen grab of where this option is? I can find the option to show N-Gon lines but not for Tris..
02-06-2008, 05:44 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.