Output of total number of triangles in the scene possible?

Discussion related to the development & design of the LuxRender Graphical User Interface
coordinator: none (position is open)

Moderator: coordinators

Output of total number of triangles in the scene possible?

Postby B.Y.O.B. » Sat Apr 28, 2012 4:56 am

Hi,

would it be possible to add a "total number of triangles in the scene"-output line to the log?
It would be useful for tests and also for hybrid rendering (so you can better estimate if the scene has enough polys to benefit from GPU acceleration).

regards
Simon
User avatar
B.Y.O.B.
 
Posts: 1881
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Re: Output of total number of triangles in the scene possibl

Postby Pilchard123 » Sat Apr 28, 2012 7:07 am

IDK if you use Blender or something else, but Blender already has that. Along the top right, there is a line of text that should say something like

blender.org 262 | Ve:### | Fa:### | Ob:### | La:### | Mem:### (###) | ASDFGHJKL

Unless I'm mistaken, that will tell you the number of Vertices, Faces (or polys), Objects, Layers?, the amount of Memory used, and what object you have selected. You may have to scroll the mousewheel over it if you can't see it all.
Pilchard123
 
Posts: 406
Joined: Sun Oct 30, 2011 8:05 am

Re: Output of total number of triangles in the scene possibl

Postby B.Y.O.B. » Sat Apr 28, 2012 4:33 pm

I know where to find the poly count in Blender, but the numbers Blender shows are not always the number of polys Lux renders in the end. For example if you use subdivision in Lux, and Lux also splits all quads so you get 2 tris per quad.

There are already the statistics "Mesh xy: splitting 10 quads", so a complete statistic about all triangles Lux renders would round that up IMO.

Also think about users who don't use Blender or who get a Lux scene without the original .blend.
User avatar
B.Y.O.B.
 
Posts: 1881
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Re: Output of total number of triangles in the scene possibl

Postby Pilchard123 » Sun Apr 29, 2012 1:19 am

Ah, yea. Didn't think of that.
Pilchard123
 
Posts: 406
Joined: Sun Oct 30, 2011 8:05 am


Return to LuxGUI

Who is online

Users browsing this forum: No registered users and 0 guests