About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
Skybox example error
Author Message
haojiezhu Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Dampire Offline
Member

Post: #2
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
Find all posts by this user Quote this message in a reply
haojiezhu Offline
Member

Post: #3
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
Re: Skybox example error
thanks, I guess I've changed one thing and its not working, ill fix it today wink
07-31-2009 11:09 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
Re: Skybox example error
please run autoupdate, it should be ok now
07-31-2009 11:26 AM
Find all posts by this user Quote this message in a reply
haojiezhu Offline
Member

Post: #6
Re: Skybox example error
Thanks a lot, it works now.
07-31-2009 11:38 AM
Find all posts by this user Quote this message in a reply
Post Reply