64 bit version question
All  1-5  6-16

Previous
Next
 From:  Michael Gibson
5885.6 In reply to 5885.5 
Hi mir4ea, I got the model thanks for sending it. With mesh angle = 25 and "Add details to inflections" turned off, I get about 3 frames per second rotating around the full model in the 3D view which is pretty jerky. MoI is only consuming around 1.3 GB of ram after loading the file so there isn't any reason to think that 64-bit would help with the display speed here.

When I turn off all edges (by going to Scene browser > Types > Edges and clicking the eye icon there), the display speed jumps up by a significant amount, I then get 10 frames per second when rotating around the entire model and up around 20 frames per second when zoomed in a bit on one area like only on one big wheel. Either of these (10 frames per second or 20 frames per second) is pretty much ok for working with. Also I've got the hidden line display off under View > "Display hidden lines" checkbox.

Are you seeing something a lot different than that when you hide all edges? You can get some specific numbers by holding down the Ctrl key and clicking on the "MoI" title label in the upper-right area of the maximized window and pick "Show viewport display time", the time taken for generating the current frame will be shown in the upper left corner of the viewport.

My machine is not really a super advanced machine or anything, it's a core i5 quad core 3.3Ghz with an AMD Radeon 7750 graphics card in it. You should be able to get better performance than what I'm seeing here with a more advanced machine than mine.

So I guess my main advice would be to hide edges of some pieces of your model that you are not directly working with at that time, there is a script you can set up to hide the edges of the current selected objects:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5718.2
But I guess you should already be familiar with that since that was a reply to your own question there.

What kind of speed do you get with edges hidden? And I guess it would be good to know your machine specs, like what CPU and video card you have.


But certainly your model is highly detailed - there are 102,898 edges in it, each time the screen is drawn all of those edges are dynamically broken down into screen lines so they look smooth at the current zoom level. With so many edges there's a lot of work involved with that part of the display.

I don't really understand why you aren't just hiding parts of the model that you are not currently directly working on though... That would certainly improve things a lot with display speed if you were not trying to do a lot of work with every single piece all at the same time.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5885.7 In reply to 5885.6 
Spec first, I have Intel i7 3.40 GHZ, GForce GTX 560 Ti 1GB.
I turned on "Show viewport display time" but I am not sure how to interpret this time. I have 280 ms with all edges on and 80 ms with off. If I converted right than for all adges "on" I have 1000/280=3 FPS and "off" 1000/80=12.5 FPS. (when rotating)

Yes I use this script to hide the edges of the current selected objects every time, but wanted to ask you to improve it a bit.
Would be greate if:
When I select object it will hide all adges on all unselected object. And if I select object with hiden edges it will show them on this object and hide on all unselected objects.

How can I see how much edges have model?

Michael I hide time to time objects that I'm not working on, but i use solo script insted of hide. Becouse when I use hide, when I unhide objecst it unhide them with all hiden edges too.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5885.8 In reply to 5885.7 
Hi mir4ea,

> I turned on "Show viewport display time" but I am not sure how to interpret this time. I have 280 ms
> with all edges on and 80 ms with off. If I converted right than for all adges "on" I have 1000/280=3
> FPS and "off" 1000/80=12.5 FPS. (when rotating)

Yes, that's interpreting it correctly - so isn't 12.5 FPS fast enough to work in?


> How can I see how much edges have model?

Click here to select all edges (on the "selection indicator dot" area):




Then the properties panel will show the count of the current selection:






> Yes I use this script to hide the edges of the current selected objects every time,
> but wanted to ask you to improve it a bit.
> Would be greate if:
> When I select object it will hide all adges on all unselected object. And if I select object
> with hiden edges it will show them on this object and hide on all unselected objects.

This should probably not be too difficult to set up, I'll give this a try tomorrow, (it's late at night over here right now).



> Michael I hide time to time objects that I'm not working on, but i use solo script insted of hide.
> Becouse when I use hide, when I unhide objecst it unhide them with all hiden edges too.

By solo script you mean the "isolate" function with the right-click on the hide button? That should help with this since when you do it a second time it doesn't just show everything instead it restores everything to the same state that they were in at the time of the first isolate.

Would it also help to have an additional script that would show all hidden objects but not their edges? Maybe then that would be better to use for resetting everything for you rather than the regular "unhide" that unhides everything.

- Michael

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5885.9 In reply to 5885.8 
Thanx.

Make pleas this script it will simplify work process.

12 FPS is not bad... Just have to used to it.

Yes I meant "isolate".

Yes it would be good to have this script to test.
But when you unhide all the unhiden objects will be with hiden edges or only that that was with hiden edges?

Offtop..
How do you quote posts?
Where are you from?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5885.10 In reply to 5885.9 
Hi mir4ea,

> But when you unhide all the unhiden objects will be with hiden edges
> or only that that was with hiden edges?

I'll see if I can make it just the ones that had hidden edges to keep them hidden.



> Offtop..
> How do you quote posts?


I just copy/paste the original post and type in > characters. For a large block of text you can also put in <quote> xxx </quote> that will make an indented section in your post like this:

quote:
This is stuff surrounded by quote tags


> Where are you from?

Seattle, USA.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5885.11 In reply to 5885.7 
Hi mir4ea, here's the first script:

script: /* Show edges on selected objects, hide edges on all others */ var breps = moi.geometryDatabase.getObjects().getBreps(); for ( var i = 0; i < breps.length; ++i ) { var brep = breps.item(i); brep.getEdges().setProperty( 'hidden', !brep.selected ); }


If you set this script on a shortcut key, when it is triggered it will make all edges of the selected objects to be shown, and all edges on unselected objects to be hidden. So it's kind of like "activate edges on selected objects, deactivate others".

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5885.12 In reply to 5885.9 
Hi mir4ea, here's the second script:

script: /* Replacement for Edit > Hide - on "unhide" this will only show the parent object and not all its edges */ var gd = moi.geometryDatabase; if ( gd.getSelectedObjects().length != 0 ) { gd.hide(); } else { var objs = gd.getObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); if ( obj.hidden ) { obj.hidden = false; obj.selected = true; } } }

This one can be used as a replacement for Edit > Hide. If something is selected it will hide it the same as how Edit > Hide works. If nothing is selected, it will do an "unhide" but unlike the regular unhide this version will not modify edges so if any edges were hidden when the full object was hidden, with this unhide those edges will remain hidden when the main object is shown again.

So you can use this instead of the regular Edit > Hide button and it should hopefully not cause as much problems with the edge visibility coming back.

Hope these help!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5885.13 In reply to 5885.12 
Thanx a lot Michael, very usefull scripts.
Thay will help a lot people who work with big projects.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 5885.14 deleted 16 May 2013 by ANDREI SAMARDAC

Previous
Next
 From:  Andrei Samardac
5885.15 In reply to 5885.13 
Hay Michael, Is it possible to make edges appear only when the object is active? Some plugin or script?
I just saw this video with CREO tutorial looks like it has this feature.
http://www.youtube.com/watch?v=LEOHc5rSLS4
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
5885.16 In reply to 5885.15 
Hi mir4ea, there isn't really any way to do that currently - right now you can set up scripts that are triggered to run when you push a shortcut key. The kind of script that you're talking about would not run when you push a key but rather try to hook into object activation in some way, there is not currently anything set up for scripts to hook into things in that way.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-5  6-16