PDA

View Full Version : BerconExplorer progress thread


Bercon
04-24-2008, 06: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
http://www.niksula.cs.hut.fi/~jylilamm/graphics/BerconExplorer_01.jpg

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.

Bercon
04-25-2008, 03: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.

ypuech
04-25-2008, 04: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-25-2008, 04: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.