Okay lets see...
*image.jl + "ERROR: BoundsError()"*
That happens, when you read in faulty images, as I don't handle all outputs
from imread correctly yet.
You should try another image.
I didn't want to ship an extra image for this, but I totally forget, that I
could just use the images from the docs.
*volume.jl + ERROR: `Texture{T<:Union(Uint16,
Uint8,Float32,Int8,Int32,Uint32,Int16),ColorDIM,NDIM}` has no method
matching
Texture{T<:Union(Uint16,Uint8,Float32,Int8,Int32,Uint32,Int16),ColorDIM,NDIM}(::Array{Float32,3},
::Int32)*
That seemed very strange at first, but when I looked at the implementation,
I'm actually using Int64 in the method signature. I guess you're on a
system with 32 bit integer then.
I really don't know how that slipped in there, as I always try to use the
least concrete type in these situations.
=> Should be fixed.
*@Jluis:*
surface ErrorException("assertion failed: shaderID > 0")
Can you open an issue for that, with a better error desciption and what
platform you're on + graphic card? There was a similar error, which ended
up being an error in ModernGL. I'm amazed, by how different all the drivers
handle the correct function loading.
The freezing instead of showing the error occurred to me as well. Does
anyone know here, if that is rather my fault, or is that a Julia bug?
It always felt, like I wasn't doing anything wrong (besides the error
itself).
Are you on the latest Julia version?
*@Laszlo Hars*
when you execute example/image.jl you get a rectangle with gradually
changing colors?
Can you try loading any other picture? This should just be an image viewer,
nothing animated...
*"However, the images appear quite slowly. My fast 6-core PC with 16GB
memory and good video card takes half a minute to show the 3 planes. Also,
if I rotate them, funny artifacts appear then disappear. Are these due to
the experimental nature of the GLPlot project or to the Julia interface?"*
I don't know what's exactly happening there, but it shouldn't be like that,
even though that everything is in an early state.
You're on windows right? Can you post a screenshot and probably open an
issue with graphic card type and versioninfo() ?
Loading times are terrible on windows. That's mostly a Julia problem and
also, that I have some slow loading dependencies...
2014-07-26 8:04 GMT+02:00 Andreas Lobinger <[email protected]>:
>
> - i have the same exception error as above (not stoppable) in
> surface.jl
> - image breaks with
> julia> include("../.julia/v0.3/GLPlot/example/image.jl")
> INFO: loaded GLFW 3.0.4 X11 GLX glXGetProcAddress clock_gettime
> /dev/js shared from /home/lobi/.julia/v0.3/GLFW/deps/usr/lib/libglfw
> ERROR: BoundsError()
> in getindex at array.jl:271
> in mapslices at abstractarray.jl:1230
> in Texture at /home/lobi/.julia/v0.3/GLAbstraction/src/GLTypes.jl:275
> in include at ./boot.jl:245
> in include_from_node1 at ./loading.jl:128
> while loading /home/lobi/.julia/v0.3/GLPlot/example/image.jl, in
> expression starting on line 30
> - volume with
> julia> include("../.julia/v0.3/GLPlot/example/volume.jl")
> INFO: loaded GLFW 3.0.4 X11 GLX glXGetProcAddress clock_gettime
> /dev/js shared from /home/lobi/.julia/v0.3/GLFW/deps/usr/lib/libglfw
> ERROR:
>
> `Texture{T<:Union(Uint16,Uint8,Float32,Int8,Int32,Uint32,Int16),ColorDIM,NDIM}`
> has no method matching
>
> Texture{T<:Union(Uint16,Uint8,Float32,Int8,Int32,Uint32,Int16),ColorDIM,NDIM}(::Array{Float32,3},
> ::Int32)
> in toopengl at /home/lobi/.julia/v0.3/GLPlot/src/volume.jl:43
> in include at ./boot.jl:245
> in include_from_node1 at ./loading.jl:128
> while loading /home/lobi/.julia/v0.3/GLPlot/example/volume.jl, in
> expression starting on line 46
> - all after a Pkg.update()
>
>
>
>
>