View Full Version : BerconExplorer progress thread

04 April 2008, 05:56 PM
I decided to rewrite Bobos SpreadSheet Editor and add functionality from Scene Explorer.

This is just a teaser and lacks pretty much everything

I'm still working on the core operations such as managing columns, wiring values to scene etc.

I'd like to know how easy it would be to add custom dotnet classes for this project. I'm not very familiar with dotnet myself but I think writing custom controls such as cells with spinners and vertical text on column headers shouldn't be too hard?

If somebody has implemented such simple custom control for DotNet I'd like to know how easy it was and what kind of stuff it requires.

04 April 2008, 02:38 PM
I hit the first performance bump. Setting value of DataGridView cell is takes huge amount of time. DataGridViewCell.Value = "" takes 2.5ms to complete so having 100 objects with 10 displayed columns takes 2,5 seconds to update. This is pretty much unusable.

So this means I'll be moving updating of cells (or columns) to C++ plugin. Thankfully it looks like somebody made at least one example how to get SDK + .NET thing to work. I'll still keep nearly everything on maxscript side so its easily editable.

04 April 2008, 03:42 PM
If you want to speed up these things you can write an intermediate assembly in VB.NET or C# that will do some time consumings or hard tasks. This can be interesting when performing only .NET access code.
Remember in this managed code you'll be able to deal only with basic types, not MAXScript values but integers, booleans, float, string etc.

CGTalk Moderation
04 April 2008, 03:42 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.