Crystal Space
Welcome, Guest. Please login or register.
November 21, 2014, 05:50:59 am

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2046 Topics by 9077 Members
Latest Member: Pwrsrg
* Home Help Search Login Register
+  Crystal Space
|-+  Recent Posts
Pages: 1 2 [3] 4 5 ... 10

 21 
 on: June 13, 2014, 03:00:10 pm 
Started by tom - Last post by Gabriella95
Good content, I trust this is a good weboard about Wish to see refreshing content material next time. Thanks for sharing this publish with us. Keep it up.
voyance par mail gratuite                   
voyance                   

 22 
 on: June 13, 2014, 02:59:29 pm 
Started by Commander - Last post by Gabriella95
I love this site, thank you to all who are created, I learned many things, very positive, a thousand thank you.
voyance gratuite par mail                   

 23 
 on: June 13, 2014, 02:57:51 pm 
Started by Knic - Last post by Gabriella95
These posts are really good and definitely beneficial. Great stuff from this part of the internet. This is the best weboard for anyone who wants to know about this subject.
voyance par mail gratuite                   
voyance gratuite par mail                    

 24 
 on: May 03, 2014, 10:58:42 am 
Started by Saomi - Last post by Saomi
I load an Image like using this code in mygui:
Code:
void* CSOpenGLImageLoader::loadImage(int& _width, int& _height, MyGUI::PixelFormat& _format, const std::string& _filename)
{
    std::string fullPath = "/gui/" + _filename;

    csRef<iLoader> loader = csQueryRegistry<iLoader>(_app->GetObjectRegistry());
    csRef<iImage> img = loader->LoadImage(fullPath.c_str());

    if (img)
    {
        _width = img->GetWidth();
        _height = img->GetHeight();
        _format = MyGUI::PixelFormat::R8G8B8A8;

        csRef<iDataBuffer> buffer = img->GetRawData();
        void *ret = malloc(buffer->GetSize());
        memcpy(ret, buffer->GetData(), buffer->GetSize());

        return ret;
    }
    else
    {
        return 0;
    }
}
and my my image's color became so strange.
origin img:

loaded img:

I using MyGUI'S OpenGL render gui,
like this:
Code:
    _renderMgr->RenderView(_view);

    if (_isGUIVisible)
    {
        _glPlatform->getRenderManagerPtr()->drawOneFrame();
    }
Please help me!!thanks
Oh I had test it
and the image is load right,
the problem is caused by the render,
and I had test it,
and now the problem is  why if I render the view,
and then I render my image using csSimplePixmap class,
it will can't dispaly,
but when I move the camera out of the mesh,
it will render the my image right,
which is the problem?

 25 
 on: May 02, 2014, 11:39:32 am 
Started by Saomi - Last post by Saomi
I load an Image like using this code in mygui:
Code:
void* CSOpenGLImageLoader::loadImage(int& _width, int& _height, MyGUI::PixelFormat& _format, const std::string& _filename)
{
    std::string fullPath = "/gui/" + _filename;

    csRef<iLoader> loader = csQueryRegistry<iLoader>(_app->GetObjectRegistry());
    csRef<iImage> img = loader->LoadImage(fullPath.c_str());

    if (img)
    {
        _width = img->GetWidth();
        _height = img->GetHeight();
        _format = MyGUI::PixelFormat::R8G8B8A8;

        csRef<iDataBuffer> buffer = img->GetRawData();
        void *ret = malloc(buffer->GetSize());
        memcpy(ret, buffer->GetData(), buffer->GetSize());

        return ret;
    }
    else
    {
        return 0;
    }
}
and my my image's color became so strange.
origin img:

loaded img:

I using MyGUI'S OpenGL render gui,
like this:
Code:
    _renderMgr->RenderView(_view);

    if (_isGUIVisible)
    {
        _glPlatform->getRenderManagerPtr()->drawOneFrame();
    }
Please help me!!thanks

 26 
 on: May 01, 2014, 11:30:17 am 
Started by Saomi - Last post by Saomi
Ok,
thank,
I will:)

 27 
 on: May 01, 2014, 05:36:53 am 
Started by Saomi - Last post by jorrit
There is always a first time smiley

But anyway, you can ask questions here.

 28 
 on: May 01, 2014, 05:24:30 am 
Started by Saomi - Last post by Saomi
so ,
thanks,
but how can I talk with another,
I had never used IRC and develop mailing list...
I had many question where should I go?

 29 
 on: May 01, 2014, 04:26:53 am 
Started by Saomi - Last post by jorrit
As Title...

CS isn't dying, it is just that these forums aren't used as much. We're active on IRC and also on the develop mailing list. We also just got into GSoC (google summer of code) again so that's also a good thing.

 30 
 on: May 01, 2014, 02:02:20 am 
Started by Saomi - Last post by Saomi
As Title...

Pages: 1 2 [3] 4 5 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.134 seconds with 13 queries.