[Bf-python] Re: image.glLoad()
Campbell Barton
cbarton at metavr.com
Mon Sep 27 01:31:10 CEST 2004
Hi, tested the glLoad function- Works nice!, thenks and sorry for taking
a while to get back to you,
Im interested in building an asset manager (manage extarnal images,
materials, textures, and models) from an external library- With
thumbnails for each asset.
This would be similar to the image browser but contain thumbnails of
other types of assets.
A problem is that glLoad() puts an image into the gfx cards memory- we
need a way of removing the image from memory-
glUnLoad()
Then it could be added and used
- Cam
Willian Padovani Germano wrote:
> Campbell Barton wrote:
>
>> Hi, Your patch loads thge image but its only loaded as a white image-
>> all white- this messes up blender in that all faces that use the
>> texture also display only a white image.
>>
>> Thanks for looking into this, I think it will help a lot in using
>> images for python scripts.
>
>
> New try, it seems the texture needed to be "mipmapped". This one
> seems to work with your image browser with the added image.glLoad()
> method when a bind code is 0.
>
> I didn't have time to test it well, though, sorry. You're welcome,
> it's a pleasure to look at these things and also helpful to learn more
> / remember OpenGL stuff.
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-python
mailing list