Open GoogleCodeExporter opened 9 years ago
Jamie's problem turned out to be a bug in the GL version of O3D, the one used
on the
Mac. It was unrelated to o3dtgz files. The error message just made it seem like
it
was related.
The problem is any of the sampler filters to Sampler.ANISOTROPIC causes a bug
on GL
O3D. The bug has been fixed and will be in the next version of the plugin. In
the
mean time the workaround is to use Sampler.LINEAR instead of
Sampler.ANISOTROPIC.
So check your code, if you are setting the the filter mode on any of your
samplers to
Sampler.ANISOTROPIC, change them and post here if it fixes the problem.
Original comment by gmanc...@greggman.com
on 8 Dec 2009 at 7:39
I saw this remark about Sampler.ANISOTROPIC but I redefine only texture value
of my
samplers and I do not set ANISOTROPIC mode in my code ...
1 remark : I use 1 sort of texture manager inheriting from 1 resource manager to
store loaded resources/textures into 1 table, I load all textures (with the DDS
one)
in the same time when my problem appears, if I load separatly the DDS texture
after
others then problem does not appear ... I attach my managers code
Original comment by gregory...@gmail.com
on 9 Dec 2009 at 8:11
Attachments:
I realized 1 sample with this error, it performs :
create 1 loader
load 1 scene
load another scene (1 character)
load all 3rd parties textures (with the DDS texture) and effects
I have 1 exception (on Mac OS) on 2nd scene loading : "Texture is null"
If I try on PC Windows then both scenes are well loaded, NO PROBLEM !
If I load DDS texture separatly on Mac OS (by commenting v1 and uncommentting
v2 in
skydome.js) then both scenes are well loaded, NO PROBLEM !
Here is the ZIP file ;-)
Original comment by gregory...@gmail.com
on 11 Dec 2009 at 2:57
Attachments:
In my latest developments, I created 1 o3dtgz archive with all shaders,
textures and
buffers. The skymap.dds texture is now in this archive. I have the same problem
and
NO Sampler.ANISOTROPIC in any of my code, scene.json files.
This pb occurs only on Mac OS.
Original comment by gregory...@gmail.com
on 26 Mar 2010 at 4:33
Original issue reported on code.google.com by
gregory...@gmail.com
on 8 Dec 2009 at 9:09Attachments: