Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: "Texture Selector" crash in v0.97d  (Read 4480 times)

Francesco

  • Full Member
  • ***
  • Posts: 182
    • View Profile
"Texture Selector" crash in v0.97d
« on: October 19, 2008, 04:10:07 pm »

Hi everybody, that's my first post here.

I take the occasion to greet all the community and to thank you, Steve, for Anim8or, that's a fantastic program and the ART raytracer is truly amazing - just playing around with reflective surfaces, but nothing really cool to share yet.


Version: 0.97d
Steps to reproduce the crash:
- in "Scene Mode" select "Settings > Environment...";
- in the "Environment Editor" dialog click on the "..." button besides to "Cubemap Texture";
- in the "Texture Selector" dialog select "none";
- the program crashes right after clicking "OK".


[ since the same kind of dialog is used by the "Surface Texture Editor" dialog, and since selecting "none" there will not cause a crash, I think that the problem is around the "Environment Editor" dialog - I wasn't sure about reporting this detail, as it seems superfluous to me, but well, here it is anyway ]

I also had some problems loading bitmaps - the only BMP file I was able to load was a 24bits made with Paint, while the program failed to load several other BMP formats made with Gimp. I wasn't able to find any post about this problem, I could give further details or upload some BMP images that failed to load, if needed.

Thank you all for your attention,
all the best,
Francesco
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: "Texture Selector" crash in v0.97d
« Reply #1 on: October 19, 2008, 11:38:10 pm »

#097-024 - Selecting "None" for Scene Environment Map Background Crashes.

It's now fixed.  Thanks for the good bug report.

Anim8or doesn't load .bmp files that are compressed, run length encoded or use less than 8 bits/color channel.
Logged

Francesco

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Re: "Texture Selector" crash in v0.97d
« Reply #2 on: October 19, 2008, 11:59:56 pm »

Thanks to you for the time you're spending to give us such a cool program for free, being detailed in our reports is by far the minimum due.

Thank you also for the details about importing bitmaps, you could add that string to the error message, just to let users know.

Keep on the good work.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: "Texture Selector" crash in v0.97d
« Reply #3 on: October 20, 2008, 01:52:33 am »

Sure, I'll add an error about that.  Can you send me a .bmp file that doesn't work (for my QA tests :)?
Logged

VBSmiles

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: "Texture Selector" crash in v0.97d
« Reply #4 on: October 20, 2008, 03:56:31 am »

a 4 bit will do right?
Logged

Francesco

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Re: "Texture Selector" crash in v0.97d
« Reply #5 on: October 20, 2008, 02:53:48 pm »

Here are some .bmp files for testing. Each image format is in the filename, as well as in the image itself, written black on white.

Anim8or 0.97d opens only the 24bits and the 1bit formats, fails to open the others and it crashes on my sample of the 4bits format. I've noticed that VBSmiles' 4bits image doesn't crash it, though. Up to you to solve this mess Steve ;-)

Further details follow.

All the files have been made and saved with Gimp 2.4.5.
MS Paint opens them all without any problem.
The preview feature in Win XP fails to display some of them, the same does Opera 9.21. The recognized formats are handled correctly, though.
Firefox 3.0.3 displays half of them turning white areas to something else.

Resume:

bpp |   usage     | Anim8or | XP, Opera | White in Firefox
------------------------------------------------
1   |    BW1      |  YES    |    YES    | white
------------------------------------------------
4   |    GS4      |  CRASH  |    YES    | white
------------------------------------------------
16  | A1 R5 G5 B5 |  NO     |    NO     | light gray
------------------------------------------------
16  |    R5 G6 B5 |  NO     |    NO     | light green
------------------------------------------------
16  | X1 R5 G5 B5 |  NO     |    YES    | light gray
------------------------------------------------
24  |    R8 G8 B8 |  YES    |    YES    | white
------------------------------------------------
32  | A8 R8 G8 B8 |  NO     |    YES    | white
------------------------------------------------
32  | X8 R8 G8 B8 |  NO     |    NO     | yellow
------------------------------------------------

Legend:
bpp = bits per pixel
BW = Black and white
GS = Grayscale
A = Alpha
R = Red
G = Green
B = Blue
X = Unused

Edit: shall it be of use, I could do further test images for all the formats that Anim8or is planned to handle.

Update: also 8bits grayscale .bmp get loaded correctly (didn't update the attached archive, I'll make a full set of test images if it is really useful for debugging)
« Last Edit: October 20, 2008, 05:06:34 pm by Francesco »
Logged

VBSmiles

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: "Texture Selector" crash in v0.97d
« Reply #6 on: October 24, 2008, 09:40:38 pm »

Useful note : My 4 bit image was produced via Photoshop Elements 2
Logged