Black dumped images

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Black dumped images

Ronaldo
I have been playing with animation in OpenSCAD 2015.03-2 in a Windows 7 environment. After marking the Dump pictures button during animations, I only get full black .png images. I have tried with different models and always got the same result. Any help is welcome.
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

kintel
Administrator
Hi Ronaldo,

Could you paste the contents of Help->Library Info?

FYI: The images are dumped by taking saving the actual contents of the framebuffer of the 3D view. This could be related to how Windows 7 manages on-screen content. Perhaps we don’t have access to that information.

One way of working around that could also be to use our offscreen renderer for this purpose rather than reading the framebuffer.

 -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

Ronaldo
Have fun :)
OpenSCAD Version: 2015.03-2
System information: Windows 7 SP1 (v6.1.1.0) 4 CPUs 7.80 GB RAM
Compiler: GCC "5.2.0" 64bit
Boost version: 1_57
Eigen version: 3.2.5
CGAL version, kernels: 4.5, Cartesian, Extended_cartesian, Epeck
OpenCSG version: OpenCSG 1.4.0
Qt version: 5.5.1
QScintilla version: 2.8.4
MingW build: MingW64
GLib version: 2.44.1
Application Path: C:/Program Files/OpenSCAD
Documents Path: C:\Users\ronaldo\Documents
Resource Path: C:/Program Files/OpenSCAD
User Library Path: C:/Users/ronaldo/Documents/OpenSCAD/libraries
User Config Path: C:\Users\ronaldo\AppData\Local/OpenSCAD
Backup Path: C:/Users/ronaldo/Documents/OpenSCAD/backups
OPENSCADPATH:
OpenSCAD library path:
C:/Users/ronaldo/Documents/OpenSCAD/libraries
C:/Program Files/OpenSCAD\libraries

OPENSCAD_FONT_PATH:
OpenSCAD font path:
C:/windows/fonts
C:/Users/ronaldo/.local/share/fonts
C:/Users/ronaldo/.fonts
GLEW version: 1.12.0
OpenGL Version: 2.1.0 - Build 8.15.10.2104
GL Renderer: Intel(R) HD Graphics
GL Vendor: Intel
RGBA(8888), depth(24), stencil(8)
GL_ARB_framebuffer_object: no
GL_EXT_framebuffer_object: yes
GL_EXT_packed_depth_stencil: yes

Using QGLWidget

GL Extensions:
GL_3DFX_texture_compression_FXT1
GL_ARB_color_buffer_float
GL_ARB_depth_buffer_float
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_draw_instanced
GL_ARB_fragment_program
GL_ARB_fragment_shader
GL_ARB_framebuffer_sRGB
GL_ARB_half_float_pixel
GL_ARB_half_float_vertex
GL_ARB_multitexture
GL_ARB_occlusion_query
GL_ARB_pixel_buffer_object
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_shadow
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
GL_ARB_texture_compression_rgtc
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3
GL_ARB_texture_float
GL_ARB_texture_non_power_of_two
GL_ARB_texture_rectangle
GL_ARB_texture_rg
GL_ARB_transpose_matrix
GL_ARB_vertex_array_object
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_ATI_separate_stencil
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_equation_separate
GL_EXT_blend_func_separate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_clip_volume_hint
GL_EXT_compiled_vertex_array
GL_EXT_draw_buffers2
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_blit
GL_EXT_framebuffer_object
GL_EXT_multi_draw_arrays
GL_EXT_packed_depth_stencil
GL_EXT_packed_float
GL_EXT_packed_pixels
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_specular_color
GL_EXT_shadow_funcs
GL_EXT_stencil_two_side
GL_EXT_stencil_wrap
GL_EXT_texture3D
GL_EXT_texture_compression_s3tc
GL_EXT_texture_edge_clamp
GL_EXT_texture_env_add
GL_EXT_texture_env_combine
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod_bias
GL_EXT_texture_rectangle
GL_EXT_texture_sRGB
GL_EXT_texture_shared_exponent
GL_EXT_texture_swizzle
GL_EXT_transform_feedback
GL_IBM_texture_mirrored_repeat
GL_NV_blend_square
GL_NV_conditional_render
GL_NV_texgen_reflection
GL_SGIS_generate_mipmap
GL_SGIS_texture_edge_clamp
GL_SGIS_texture_lod
GL_WIN_swap_hint
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

Ronaldo
I still can't get dump images. Any suggestion?
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

kintel
Administrator

> On Jun 20, 2016, at 12:54 PM, Ronaldo <[hidden email]> wrote:
>
> I still can't get dump images. Any suggestion?
>
Your OpenGL driver (Intel HD 8.15.10.2104) is > 6 years old.
Intel has a long history of OpenGL drivers of dubious quality, but it has improved over the years.
Upgrading to the latest version would be a good start.

 -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

Ronaldo
Thank you, Kintel. I could not find any newer Intel graphics driver for my very_old_i5-1st_generation notebook. I think it is time for an upgrade...

2016-06-20 14:39 GMT-03:00 Marius Kintel <[hidden email]>:

> On Jun 20, 2016, at 12:54 PM, Ronaldo <[hidden email]> wrote:
>
> I still can't get dump images. Any suggestion?
>
Your OpenGL driver (Intel HD 8.15.10.2104) is > 6 years old.
Intel has a long history of OpenGL drivers of dubious quality, but it has improved over the years.
Upgrading to the latest version would be a good start.

 -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

kintel
Administrator
> On Jun 20, 2016, at 18:21 PM, Ronaldo Persiano <[hidden email]> wrote:
>
> Thank you, Kintel. I could not find any newer Intel graphics driver for my very_old_i5-1st_generation notebook. I think it is time for an upgrade…
>
Sometimes, laptop vendors stop providing packaged updates, and you’d have to go directly to Intel, and figure out how to get the drivers installed from there. This is far away from my area of expertise though : /

 -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

DavidJohnston
Have you tried here?
http://www.intel.com/content/www/us/en/support/detect.html?iid=dc_iduu



On 6/20/16 9:24 PM, Marius Kintel wrote:

>> On Jun 20, 2016, at 18:21 PM, Ronaldo Persiano <[hidden email]> wrote:
>>
>> Thank you, Kintel. I could not find any newer Intel graphics driver for my very_old_i5-1st_generation notebook. I think it is time for an upgrade…
>>
> Sometimes, laptop vendors stop providing packaged updates, and you’d have to go directly to Intel, and figure out how to get the drivers installed from there. This is far away from my area of expertise though : /
>
>   -Marius
>
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

Ronaldo
Well, I tried the Lenovo driver update software: it reported that my notebook is updated. Then, I tried the Intel Driver Update Utility and that reported there is no drivers for my hardware. The last graphic driver found in Lenovo site for my notebook was released in 2012! A dead road. :(

Livre de vírus. www.avast.com.

2016-06-21 2:26 GMT-03:00 David Johnston <[hidden email]>:
Have you tried here? http://www.intel.com/content/www/us/en/support/detect.html?iid=dc_iduu




On 6/20/16 9:24 PM, Marius Kintel wrote:
On Jun 20, 2016, at 18:21 PM, Ronaldo Persiano <[hidden email]> wrote:

Thank you, Kintel. I could not find any newer Intel graphics driver for my very_old_i5-1st_generation notebook. I think it is time for an upgrade…

Sometimes, laptop vendors stop providing packaged updates, and you’d have to go directly to Intel, and figure out how to get the drivers installed from there. This is far away from my area of expertise though : /

  -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

Ronaldo
BTW, I got the animation dumped in an i3 2nd. generation desktop I use as HTPC. It worked nice. Thank you to all.

2016-06-21 12:43 GMT-03:00 Ronaldo Persiano <[hidden email]>:
Well, I tried the Lenovo driver update software: it reported that my notebook is updated. Then, I tried the Intel Driver Update Utility and that reported there is no drivers for my hardware. The last graphic driver found in Lenovo site for my notebook was released in 2012! A dead road. :(

Livre de vírus. www.avast.com.

2016-06-21 2:26 GMT-03:00 David Johnston <[hidden email]>:
Have you tried here? http://www.intel.com/content/www/us/en/support/detect.html?iid=dc_iduu




On 6/20/16 9:24 PM, Marius Kintel wrote:
On Jun 20, 2016, at 18:21 PM, Ronaldo Persiano <[hidden email]> wrote:

Thank you, Kintel. I could not find any newer Intel graphics driver for my very_old_i5-1st_generation notebook. I think it is time for an upgrade…

Sometimes, laptop vendors stop providing packaged updates, and you’d have to go directly to Intel, and figure out how to get the drivers installed from there. This is far away from my area of expertise though : /

  -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

Parkinbot
In reply to this post by Ronaldo
You could try to use a tool that allows for automatizing screenshots of OpenGL content.
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

tp3
Another option could be to see how it works with the Mesa software OpenGL
renderer. OpenSCAD does not use much of the GPU hardware features anyway,
so it might be still usable.

It should be possible to find precompiled versions of the Mesa OpenGL.dll
which should work by just dropping it into the folder where OpenSCAD
is installed (It's possible to swap the system dll too, but of cause that
could impact other programs).

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

Ronaldo
There is no precompiled version of mesa.dll in the Mesa3D site. I found many sites with mesa.dll to be downloaded. But it seems that some of those files are malware.

Any pointer to a tool that allows for automatizing screenshots of
OpenGL content will be welcome.

2016-06-21 14:15 GMT-03:00 Torsten Paul <[hidden email]>:
Another option could be to see how it works with the Mesa software OpenGL
renderer. OpenSCAD does not use much of the GPU hardware features anyway,
so it might be still usable.

It should be possible to find precompiled versions of the Mesa OpenGL.dll
which should work by just dropping it into the folder where OpenSCAD
is installed (It's possible to swap the system dll too, but of cause that
could impact other programs).

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Black dumped images

tp3
On 06/21/2016 09:49 PM, Ronaldo Persiano wrote:
> There is no precompiled version of mesa.dll in the Mesa3D site. I
> found many sites with mesa.dll to be downloaded. But it seems that
> some of those files are malware.
>
I've used the MSYS2 packages before as mentioned in the manual
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Microsoft_Windows#OpenGL_.28Optional.29

(Packages are on SF: https://sourceforge.net/projects/msys2/)

It's probably possible to extract the driver without full MSYS2
installation...

ciao,
  Torsten.




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten