[osg-users] about mipmaping

Simba forrestgump at 126.com
Thu Jul 10 02:12:11 PDT 2008


Hi Robert,
      oh, I'm sorry, I forgot it, I'm new to this.
      I'm using osg2.4.0, under windows-XP, I'm not sure about this machine's graphics hardware, but does that matter? I'm trying to use my own mipmap texture data, not trying to use hardwaremipmapgeneration.
      the effect of my code is like this: test.jpg.
      thank you for your reply!
                                         forrestgump at 126.com

在2008-07-10 16:18:16,"Robert Osfield" <robert.osfield at gmail.com> 写道:
>Hi "could you sign your name so we know who to address, thank you"
>Could you explain what artifacts you are seeing with mipmapping, and
>also please specify the OSG version, the OS version, the graphics
>hardware used, and the OpenGL drivers.
>2008/7/10 冯晨 
>> Hi,
>> I've met a very strange problem when I tried to set mipmaps in a
>> osg::Image object.
>> If I use the sample code in osgParticle/PrecipitationEffect.cpp, I can
>> get correct mipmap texture, however, if I try to read texture data from
>> files to set mipmap texture, it didn't work. I'll be mad, somebody met this
>> problem before? help~~~~~~
>> p.s.
>> sample code(texturemipmaps.cpp) : change from
>> osgParticle/PrecipitationEffect.cpp and work well
>> my code(Mymipmap.cpp): could not work appropriately, with no texture on
>> that plane......
>> ________________________________
>> 网易首款免费3D网游"天下2",6月6日激情公测
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>osg-users mailing list
>osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080710/c266e86d/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.jpg
Type: image/jpeg
Size: 18040 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080710/c266e86d/attachment-0002.jpg>

More information about the osg-users mailing list