View Issue Details

IDProjectCategoryView StatusLast Update
0001676DraftBugpublic2015-11-28 16:21
Reportermghansen256 Assigned Toyorik  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSKubuntuOS Version14.04
Fixed in Version0.16 
Summary0001676: FreeCAD blocks for around 30s when changing draft pattern with image texture
DescriptionFreeCAD blocks for around 30s when changing draft pattern with image texture.
Steps To Reproduce1. Create a draft rectangle.
2. Select the "View->Ttexture image". Mine is a 1.7MB JPG, loads quickly in a normal image viewer.
3. Change "Data->Make face" to true.
4. Change pattern from none to "Concrete" (using simple does not display the image).
5. The image is shown as the texture.
6. Change pattern from Concrete to anything else->FreeCAD blocks for about 30s, and blocks again when you change the pattern again.
Additional InformationOS: Ubuntu 14.04.1 LTS
Word size: 64-bit
Version: 0.15.3844 (Git)
Branch: master
Hash: 28490532f50135e2490f94cdf401b613a94b1ec2
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.0
TagsNo tags attached.
FreeCAD Information

Activities

rockn

2015-01-24 12:56

developer   ~0005703

With a 1.7 MB image, FreeCAD hang less than 10 second for me.
With a 60.8 kB, the hanging is less than 1 second.

yorik

2015-01-24 15:19

administrator   ~0005709

There is indeed a small delay when using a heavy image, but for me none of the combinations described above takes more than one or two seconds (I tried with > 2Mb images). This depends probably a LOT on your 3D hardware, and its capacity to load big images.

I'm afraid this is a limitation of the Coin3D engine, being a bit old it is probably not optimized for huge texture images that are used nowadays. Until recently, even blender would have heavy problems dealing with textures bigger than 1000x1000 pixels...

I don't think there is anything we can do on the FreeCAD side unfortunately. I'll keep this open a little longer in case someone else has an idea, though...

wmayer

2015-01-24 18:56

administrator   ~0005716

Since nobody can confirm the '30s' I downgrade it to 'major'.

yorik

2015-09-01 00:26

administrator   ~0006314

Is this still a problem?

yorik

2015-11-28 16:21

administrator   ~0006555

Closing this issue because there is no more feedback. Reopen if needed.

Issue History

Date Modified Username Field Change
2014-08-08 18:53 mghansen256 New Issue
2015-01-24 12:56 rockn Note Added: 0005703
2015-01-24 15:19 yorik Note Added: 0005709
2015-01-24 15:19 yorik Assigned To => yorik
2015-01-24 15:19 yorik Status new => assigned
2015-01-24 18:56 wmayer Note Added: 0005716
2015-01-24 18:56 wmayer Severity block => major
2015-09-01 00:26 yorik Note Added: 0006314
2015-09-01 00:26 yorik Status assigned => feedback
2015-11-28 16:21 yorik Note Added: 0006555
2015-11-28 16:21 yorik Status feedback => closed
2015-11-28 16:21 yorik Resolution open => no change required
2015-11-28 16:21 yorik Fixed in Version => 0.16