haojiezhu
Member
|
Skybox example error
I tried to run the skybox example (Tutorials\Source\Advanced\2 - Animation, Physics, Rendering\Rendering\02 - Sky.cpp), it keeps giving me " Can't import image "../data/gfx/sky/skybox.jpg" " error. The JPG file is in the right place. Tried IMAGE_R8G8B8, IMAGE_X8R8G8B8, and converting JPG to PNG, still no success.
I remember I ran this example long time ago. It worked fine back then. I am wondering if there is anything broken in the new version.
|
|
07-31-2009 07:26 AM |
|
Dampire
Member
|
Re: Skybox example error
Convert image from jpg to gfx (Tools/converter). Engine doesn't work with jpg, png. GFX only.
|
|
07-31-2009 10:52 AM |
|
haojiezhu
Member
|
Re: Skybox example error
That's not completely correct. This example uses Image.Import() method. This method can definitely import a PNG image. See "Tutorials\Source\Advanced\1 - Geometry, Graphics, Gui, Misc, Net, Sound\Graphics\Import Image.cpp".
|
|
07-31-2009 11:06 AM |
|
Esenthel
Administrator
|
Re: Skybox example error
please run autoupdate, it should be ok now
|
|
07-31-2009 11:26 AM |
|
haojiezhu
Member
|
Re: Skybox example error
Thanks a lot, it works now.
|
|
07-31-2009 11:38 AM |
|