Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Charlie,

Here are my testing results.  I overlayed the 1.15a DLL files with the 1.14a DLL files.  It ran much better but still not quite as fast as 1.14a by itself.  It was close though.  The slowness seemed to come and go when dealing with the toolpath screen.  When not on the toolpath screen the hybrid install seems to run very well.  Also when I turned off the toolpath view (the eye icon).  Things sped up.

One other item, after a few times of turning the toolpath viewing on/off, the eye icon would turn green but the toolpaths would not go away.  No matter how many times I clicked it or how long I waited between clicks, the toolpaths would persist.

Overall, I'd say that the hybrid install ran within 85% of the 1.14a install.

Here is my log for your viewing pleasure.

Donnie


0.155 
0.167  [ PixelCNC v1.15a - Mar 15 2018 ]
0.176  [ Charles Van Noland - deftware.itch.io/pixelcnc ]
0.185 
0.192 --- initializing ---
0.209 configuration...
0.217 ...loaded configuration
0.227 system...
0.533 4 logical cpus detected
0.547 >> starting thread00...
0.552 >> starting thread01...
0.562 >> starting thread02...
0.570 >> starting thread03...
0.575 >> starting thread04...
0.580 >> starting thread05...
0.585 >> created mutex #0
0.593 >> created mutex #1
0.597 image...
0.602 >> created mutex #2
0.606 >> 0.00mb currently allocated
0.610 input...
0.618 >> 0.00mb currently allocated
0.623 render...
0.629 vertex size: 26
0.641 >> r_begin: allocated 312.0mb vertex buffers
0.649 GL_VENDOR: Intel
0.656 GL_VERSION: 3.0.0 - Build 20.19.15.4549
0.660 >> 312.00mb currently allocated
0.666 font drawing...
1.505 loaded ".\fonts\system.png" (256x128@4)
1.510 >> img_load: .\fonts\system.png = 256x128x4
1.520 ...loaded font "system"
1.527 loaded ".\fonts\fixedsys.png" (256x128@4)
1.532 >> img_load: .\fonts\fixedsys.png = 256x128x4
1.541 ...loaded font "fixedsys"
1.548 loaded ".\fonts\source_code.png" (256x128@4)
1.552 >> img_load: .\fonts\source_code.png = 256x128x4
1.561 ...loaded font "source_code"
1.568 loaded ".\fonts\latha.png" (256x128@4)
1.574 >> img_load: .\fonts\latha.png = 256x128x4
1.583 ...loaded font "latha"
1.592 loaded ".\fonts\latha_big.png" (512x256@4)
1.597 >> img_load: .\fonts\latha_big.png = 512x256x4
1.609 ...loaded font "latha_big"
1.643 loaded ".\fonts\tahoma.png" (256x128@4)
1.647 >> img_load: .\fonts\tahoma.png = 256x128x4
1.658 ...loaded font "tahoma"
1.670 loaded ".\fonts\tahoma_big.png" (512x256@4)
1.674 >> img_load: .\fonts\tahoma_big.png = 512x256x4
1.686 ...loaded font "tahoma_big"
1.694 loaded ".\fonts\verdana.png" (256x128@4)
1.699 >> img_load: .\fonts\verdana.png = 256x128x4
1.711 ...loaded font "verdana"
1.729 loaded ".\fonts\verdana_big.png" (512x256@4)
1.734 >> img_load: .\fonts\verdana_big.png = 512x256x4
1.745 ...loaded font "verdana_big"
1.752 loaded ".\fonts\ocr_a.png" (256x128@4)
1.757 >> img_load: .\fonts\ocr_a.png = 256x128x4
1.770 ...loaded font "ocr_a"
1.787 loaded ".\fonts\ocr_a_big.png" (512x256@4)
1.792 >> img_load: .\fonts\ocr_a_big.png = 512x256x4
1.803 ...loaded font "ocr_a_big"
1.817 loaded ".\fonts\icons.png" (256x128@4)
1.822 >> img_load: .\fonts\icons.png = 256x128x4
1.832 ...loaded font "icons"
1.847 loaded ".\fonts\icons_big.png" (512x256@4)
1.851 >> img_load: .\fonts\icons_big.png = 512x256x4
1.861 ...loaded font "icons_big"
1.866 >> 312.00mb currently allocated
1.870 view...
1.875 >> 312.00mb currently allocated
1.879 mesh...
1.884 >> mesh_init: allocated 0.72KB meshes array
1.889 >> mesh_init: allocated 36.00mb polyline verts array
1.893 >> 348.00mb currently allocated
1.898 toolpath...
1.906 >> 348.00mb currently allocated
1.910 cam...
1.915 >> created mutex #3
1.920 >> 348.00mb currently allocated
1.924 project...
1.929 tools to inch defaults
1.934 >> 348.00mb currently allocated
1.938 gui...
1.943 ...program initialized
1.948  ( 348.0mb currently allocated )
1.954 --- entering main loop ---
2.614 >> unts:1 scale:1.000000,0.250000 subdiv:1.000000
2.622 >> r_modelnew 0
2.635 created model: 1 draws, 400 verts
2.640 >> axis regen 1.000000
2.645 >> r_modelnew 1
2.650 created model: 1 draws, 6 verts
16.115 loaded "...ith flag - charlie.png" (1667x1132@3)
16.125 >> img_load: C:\Users\Donnie\Dropbox\- XCarve -\- images -\eagle with flag - charlie.png = 1667x1132x3
16.169 rescaling project image... (downscale=1)
16.182 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
16.346 >> simulation depthmap size: 1242x843
16.375 creating project texture (1118x760)...
16.384 >> img_rescalescalar: scaling 1667,1132 to 1118,760
16.581 >> generating blur kernel...
17.046 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
17.142 >> ...blend complete
17.233 ...project_updatetexture done
17.245 >> adding border to input image...
17.258 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
17.377 >> ...blend complete
17.383 project pixels/inch = 104.2 (scalefactor: 1.000000)
17.394 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
17.519 >> generating blur kernel...
17.699 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
17.812 >> ...blend complete
17.824 >> r_modelnew 2
17.829 >> generating input image mesh...
17.836 created model: 6 draws, 24 verts
17.840 >> project_setinput done
17.846 >> preformatting input image... (416x283)
17.859 >> img_rescalescalar: scaling 1667,1132 to 416,283
17.897 >> generating blur kernel...
18.152 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
18.313 >> ...blend complete
18.344 >> recursively dividing mesh...
18.970 >> conforming triangle apexes...
19.070 mesh_fromimage: created bitree mesh (820710 nodes)
19.113 >> r_modelnew 3
19.372 >> r_end: reallocated 44.5mb model vertex buffer
19.514 created model: 1 draws, 1231068 verts
28.434 rescaling project image... (downscale=1)
28.449 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
28.567 >> simulation depthmap size: 1242x843
28.587 creating project texture (1118x760)...
28.595 >> img_rescalescalar: scaling 1667,1132 to 1118,760
28.779 >> generating blur kernel...
29.141 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
29.195 >> ...blend complete
29.262 ...project_updatetexture done
29.271 >> adding border to input image...
29.282 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
29.399 >> ...blend complete
29.406 project pixels/inch = 104.2 (scalefactor: 1.000000)
29.417 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
29.532 >> generating blur kernel...
29.700 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
29.801 >> ...blend complete
29.814 >> project_setinput done
29.819 >> generating input image mesh...
29.838 >> preformatting input image... (416x283)
29.845 >> img_rescalescalar: scaling 1667,1132 to 416,283
29.871 >> generating blur kernel...
30.110 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
30.264 >> ...blend complete
30.270 >> recursively dividing mesh...
30.928 >> conforming triangle apexes...
31.024 mesh_fromimage: created bitree mesh (820710 nodes)
31.083 >> r_modelnew 3
31.340 >> r_end: reallocated 44.5mb model vertex buffer
31.383 created model: 1 draws, 1231068 verts
60.769  [ 1 ] = T1 F60 S16000 D2 SO0.030000 ZDOC0.063000 ZBOT0.700000 ZTOP0.001000 SAFE0.150000 AUX[ 0.000000 0.000000 0.000000 ]
60.786 - - - - - - - - - CAMOP_PARALLEL - - - - - - - - -
60.792 >> convolving input image with tool[1].surface...
60.804 >> generating blur kernel...
63.892 >> ...done (2.90s)
63.926 >> preformatting input image... (416x283)
63.932 >> img_rescalescalar: scaling 1667,1132 to 416,283
63.962 >> generating blur kernel...
64.198 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
64.337 >> ...blend complete
64.350 >> recursively dividing mesh...
64.819 >> reallocated 48.0mb triangle buffer
65.552 >> reallocated 72.0mb triangle buffer
65.710 >> conforming triangle apexes...
65.836 mesh_fromimage: created bitree mesh (1582676 nodes)
67.750 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[131072] num_verts[64917] (637 verts)
69.038 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[262144] num_verts[130583] (615 verts)
73.383 >> toolpath_compilepaths: 0 0.150000 all
73.407 toolpath[0]: generated 34545 moves from 8636 paths and 229378 vertices
73.448 >> simulation depthmap size: 1242x843
73.455 >> r_modelnew 4
73.464 >> job_projgenopsimimage begin...
73.474 >> cam_rasteroperation: rasterizing 8636 paths (229378 verts)
73.484 >> r_end: reallocated 10.5mb model vertex buffer
73.523 created model: 2 draws, 315741 verts
73.579 >> ...rasterization complete
73.602 >> convolving toolpath with tool profile...
74.370 >> ...convolution complete
74.379 >> ...job_projgenopsimimage done
110.061 >> updating simulation...
110.086 >> simulation depthmap size: 1242x843
110.099 >> blending op01 with project sim image... max(1242x843, 1242x843)
110.105 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
110.172 >> ...blend complete
110.178 >> updating simulation texture...
110.272 >> updating simulation mesh...
110.278 >> preformatting input image... (310x210)
110.285 >> img_rescalescalar: scaling 1242,843 to 310,210
110.300 >> generating blur kernel...
110.406 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
110.476 >> ...blend complete
110.484 >> recursively dividing mesh...
110.779 >> reallocated 48.0mb triangle buffer
111.053 >> conforming triangle apexes...
111.128 mesh_fromimage: created bitree mesh (1115444 nodes)
111.288 >> r_modelnew 5
111.623 >> r_end: reallocated 44.5mb model vertex buffer
111.794 created model: 1 draws, 1673169 verts
115.042 >> updating simulation...
115.050 >> simulation depthmap size: 1242x843
115.075 >> blending op01 with project sim image... max(1242x843, 1242x843)
115.080 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
115.149 >> ...blend complete
115.154 >> updating simulation texture...
115.253 >> updating simulation mesh...
115.259 >> preformatting input image... (310x210)
115.266 >> img_rescalescalar: scaling 1242,843 to 310,210
115.282 >> generating blur kernel...
115.387 >> img_scalarblend: 1242x843, 1242x843, 1.000000x1.000000
115.471 >> ...blend complete
115.478 >> recursively dividing mesh...
115.804 >> reallocated 48.0mb triangle buffer
116.069 >> conforming triangle apexes...
116.130 mesh_fromimage: created bitree mesh (1115444 nodes)
116.160 >> r_modelnew 5
116.474 >> r_end: reallocated 44.5mb model vertex buffer
116.640 created model: 1 draws, 1673169 verts
236.627 rescaling project image... (downscale=1)
236.642 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
236.766 >> simulation depthmap size: 1242x843
236.858 creating project texture (1118x760)...
236.867 >> img_rescalescalar: scaling 1667,1132 to 1118,760
237.069 >> generating blur kernel...
237.432 >> img_scalarblend: 1118x760, 1667x1132, 1.491055x1.489474
237.480 >> ...blend complete
237.555 ...project_updatetexture done
237.562 >> adding border to input image...
237.573 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
237.691 >> ...blend complete
237.699 project pixels/inch = 104.2 (scalefactor: 1.000000)
237.710 >> img_rescalescalar: scaling 1667,1132 to 1667,1132
237.827 >> generating blur kernel...
237.994 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
238.096 >> ...blend complete
238.108 >> project_setinput done
238.115 >> generating input image mesh...
238.136 >> preformatting input image... (416x283)
238.142 >> img_rescalescalar: scaling 1667,1132 to 416,283
238.176 >> generating blur kernel...
238.475 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
238.641 >> ...blend complete
238.664 >> recursively dividing mesh...
239.371 >> conforming triangle apexes...
239.471 mesh_fromimage: created bitree mesh (777286 nodes)
239.523 >> r_modelnew 5
239.751 >> r_end: reallocated 44.5mb model vertex buffer
239.825 created model: 1 draws, 1165932 verts
313.941 >> freeing camop[0]
313.959 >> freeing pathmodel[4]
313.976  [ 1 ] = T1 F60 S16000 D2 SO0.030000 ZDOC0.063000 ZBOT0.700000 ZTOP0.001000 SAFE0.150000 AUX[ 0.000000 0.000000 0.000000 ]
313.991 - - - - - - - - - CAMOP_PARALLEL - - - - - - - - -
314.009 >> convolving input image with tool[1].surface...
314.017 >> generating blur kernel...
318.334 >> ...done (4.12s)
318.361 >> preformatting input image... (416x283)
318.378 >> img_rescalescalar: scaling 1667,1132 to 416,283
318.434 >> generating blur kernel...
318.796 >> img_scalarblend: 1667x1132, 1667x1132, 1.000000x1.000000
319.013 >> ...blend complete
319.042 >> recursively dividing mesh...
319.716 >> reallocated 48.0mb triangle buffer
320.795 >> conforming triangle apexes...
321.032 mesh_fromimage: created bitree mesh (1515180 nodes)
324.379 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[131072] num_verts[64933] (719 verts)
326.589 >> toolpath_addpath: realloc toolpath[0] buffer: sz_verts[262144] num_verts[130495] (687 verts)
335.888 >> toolpath_compilepaths: 0 0.150000 all
335.942 toolpath[0]: generated 32485 moves from 8121 paths and 217626 vertices
336.038 >> simulation depthmap size: 1242x843
336.051 >> job_projgenopsimimage begin...
336.080 >> cam_rasteroperation: rasterizing 8121 paths (217626 verts)
336.204 >> ...rasterization complete
336.231 >> convolving toolpath with tool profile...
337.741 >> ...convolution complete
337.773 >> ...job_projgenopsimimage done
341.381 >> r_modelnew 6
341.416 >> r_end: reallocated 10.5mb model vertex buffer
341.454 created model: 2 draws, 298839 verts
789.361 --- shutting down ---
789.371 >> sys_threadsquit: killing worker threads...
789.377 >> sys_threadsquit: waiting for threads...
789.385 >> thread02 returning...
789.391 >> thread00 returning...
789.397 >> thread04 returning...
789.403 >> thread05 returning...
789.409 >> thread03 returning...
789.415 >> thread01 returning...
789.421 >> thread00 returned
789.427 >> thread01 returned
789.433 >> thread02 returned
789.439 >> thread03 returned
789.445 >> thread04 returned
789.451 >> thread05 returned
789.506 >> gui...
789.512 >> project...
789.517 >> freeing camop[0]
789.529 >> freeing pathmodel[6]
789.539 >> cam...
789.546 >> cam_quit: tool surface images...
789.552 >> freeing tool 1 surface image
789.558 >> cam_quit: remove operation...
789.564 >> mesh...
789.570 >> view...
789.578 >> font...
789.591 >> render...
789.596 >> input...
789.602 >> image...
789.607 >> system...
789.612 >> destroyed addjob mutex
789.618 >> destroyed checkjob mutex
789.624 >> destroyed subsystem mutexes
789.917 >> config...
789.938 ...saved configuration
789.945 0.0mb remains allocated
789.959 --- done ---
789.972 returning to OS...

Thanks Donnie. I made a new build that uses some different compiling options and a sort of in-between version of SDL that still has SVG loading capability as a sort of last resort before I pull out the big guns. I was hoping you could check it out, it's labeled v1.16a on the downloads section. I'm still not entirely sure what's going on here, other than it sounds like something is severely slowing everything down and not giving very much CPU to the main PixelCNC thread that's running, which is very strange.

Was the toolpath that slowed down rendering very complex? Or was it pretty simple? Did toolpaths of equal complexity cause a slowdown in previous versions? The toolpath visibility button sticking is also extremely strange, as it's constantly refreshing the cursor position (from SDL, so maybe that's the culprit) and doing a simple check to see whether or not the cursor is over each rectangle for each button/editbox/checkbox/menu item on the screen, where it hilights green if it is and otherwise defaults. That information isn't even stored in memory, it's re-generated each frame, so I'm at a bit of a loss other than it being SDL, which could be remedied by completely removing it from PixelCNC entirely and just going with the raw method. I haven't seen problems like this with SDL in the past, but that was also before SDL was as big and complex as it is now, so maybe the devs have become somewhat overburdened with keeping compatibility and reliability up to snuff.

Another thing I'm looking at right now is some better debugging systems I can build into PixelCNC to make it easier to track down and determine issues on end-users' machines without requiring them to get their hands dirty, we'll see what comes of that. Anyway, let me know how v1.16a works out when you get a chance, and thanks for taking the time helping me to figure these issues out.

(+1)

Charlie,

I downloaded and ran 1.16a.  It works like a charm.  No errors, no slowdown, no problems with the toolpath visibility button.  I clicked it on and off many times.  1.16a ran as fast or better than 1.14a.

Thanks,

Donnie

Fantastic, what a relief! I'm going to post a tutorial in the morning, I have some tutorial ideas sketched out for mostly just demonstrating the basics of using individual operations and then also a few things that employ a few operations used in combination. I'm all ears to suggestions if you are curious how to go about doing anything in particular.