vinc3r / polycount Goto Github PK
View Code? Open in Web Editor NEWA Blender addon helping to know about your scene polycount.
Home Page: https://www.nothing-is-3d.com/
License: Do What The F*ck You Want To Public License
A Blender addon helping to know about your scene polycount.
Home Page: https://www.nothing-is-3d.com/
License: Do What The F*ck You Want To Public License
to get an example, we can check ExtraInfo addon code
v2020.10.27
bl2.83
I just now noticed you showing wrong vert count with high poly models. When i tested you test scene from this repo. The object "un-miyion-oui-monsieur" show much less data than you addons shows.
See below the screengrabs. I think that 'k" at the end should be moved left
The model has the following vertices
1.048.577 verts (blender count)
1.048.57k verts (polycount addon)
Notice the difference according to your count this models should be 10.485.700k
you basicall added k value for and didnt subtract 2digits
ooorrr...
im reading it wrong. Perhaps due to the dots its a but misleading. I guess its the last case. Due to the many dots it looks different. I guess using different dividers should help. Perhaps floating '
So something like 1'048k
When you load a model in a game engine, the vert count gets increased when there are uv splits or faces with different vertex colours to neighbouring faces.
This plugin doesn't seem to account for these.
Ability to fold/unfold stats by collections
I can install and activate the addon from the polycount_2020.10.27.zip file in Blender 2.90.1, however, it does not appear in Properties > Scene.
Is it incompatible with Blender 2.90.1?
allow user to choose calculation
Rather than update each draw, create a button to do the calculation only on click
and see a kind of progress-bar feedback, to know if we're approching this limit or not
add space after every 100
To now how much materials are assigned on an object
Seem it doesn't work on 2.93 LTS, After activated plugin (without error), I couldn't find them anywhere in Blender.
v2020.10.27
bl 2.83
Was testing you version again that of sambler and noticed you added more functionality. The interface is nice but perhaps you should change it a bit.
The main issue is that it needs a refresh and then when using the select button its also slowing down. I did not check what is happening in the background and why it does that. My guess you looping over the objects once more.
EDIT
Did a quick check, bsically every button runs the same action as refresh. i think you should change that and store these settings into somekind of format. That info would be easier to retrieve and the addon would respond in milliseconds.
random usecase example:
select 6 objects
refresh stats (only selected checked)
for lightmap calculation you sort by area
select 3 firsts objects in viewport
stats list must be unchanged (should be already the case, try to anticipate #3 )
find a way to allow user interaction and mouse-dragging for quick selection (checkbox, current button?)
This can allow to copy-paste polycount, maybe exporting as .md?
when objets using same mesh data are selected, only one instance should be show in the list (with maybe a char showing that this object is an instance? like #
?)
Verts algorithm have to be enhanced (for now, a smoothed shading cube get the same count (8) as a sharped one, which should give us a count of 24)
add a checkbox enabling an automatic refresh system (not necessarily each ui draw, but each seconds for example)
cf https://blenderartists.org/t/polycount/1193257/4
use bm.from_object(obj, bpy.context.evaluated_depsgraph_get())
instead of bm.from_mesh(obj.data)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.