Page 9 of 22

Posted: Tue Jan 10, 2006 5:22 am
by Emil_halim
i have fixed it,all the links work now,try it again.

Posted: Tue Jan 10, 2006 11:58 pm
by Guest
I'm not much of a programmer, so I can't help with the grass thing that much. but I do know in blender to create nice looking grass, people use static particles...

Posted: Wed Jan 11, 2006 7:37 am
by krama757
Aye, bitplane wrote an awesome node for rendering grass. It uses kinda static particles and you can render quite a lot of grass very fast. Its surprisingly speedy!

Posted: Wed Jan 11, 2006 3:43 pm
by Emil_halim
this is my first time writing Help file,it takes two days for writing this small part.

so i would like to share it with you. download it here

http://bcxdx.spoilerspace.com/BCXGL/Magic2d_01.chm


many thanks go to Mr Robert the guy who help me to create this help file.

Posted: Wed Jan 11, 2006 7:29 pm
by krama757
Emil, I cant see anything in the help file. All I can see are the menus in the left...

========
Nm, you have to download it to disk to see it. If you try open from internet, then it doesnt show a thing :)

Very nice work!

Posted: Wed Jan 11, 2006 8:18 pm
by Emil_halim
Hi krama757

why you open it from the net,i do not intend to open it via net,instead
you must download in your system then navigate it.

any way thanks for reading it and for your reply.

Posted: Fri Jan 13, 2006 4:58 pm
by Emil_halim
Hi all

this is an very old amiga demo ,did you remmber that fantastic computer, originaly it was writtin in DevPac assembler for amiga computer in 1992,so i bring it to you and it works with the most modern 3d Engine Irrlicht and the stunning Magic2d Library.

it has vsiual Ecolizer Spectrum for music ,by using Fmod Library for playing music.

the source code will be included with the next release of Magic2d Library.

here is a screenshot of the demo.
Image

download it from here.
http://bcxdx.spoilerspace.com/BCXGL/zoweeAmigaDemo.zip

Enjoy it.

Posted: Fri Jan 13, 2006 11:37 pm
by Guest
does this LIB work with visual studio c++ express??? If not, could you like, be so kinda as to compile it to work with it, or release the source.. maybe, possibly ...

I would be forver greatful...

Posted: Sat Jan 14, 2006 3:18 am
by bitplane
okay you've convinced me, i'm gonna use Magic2D for my menus and stuff :)
keep up the good work man!

Posted: Sat Jan 14, 2006 5:56 am
by Emil_halim
@Guest

there is a DLL version of the library, i have make it as dll for this reason,so
you could try it and if the Lib does not work you coud extract the Function
and make your Lib file with the help of tools in visual studio c++ express.

@bitplane

thank you very much.

Posted: Sat Jan 14, 2006 9:39 am
by xterminhate
Emil_halim wrote:change the NextMovieFrame member function as following

Code: Select all

  void NextMovieFrame()
           {
              if(GetTickCount()-oldtick < time){flg = false ;return;}
              oldtick = GetTickCount(); 
              flg = true;
              if(0x40003==pSample->Update( 0, NULL, NULL, 0))
                  pAMStream->Seek(0);

           }

this will automatically play the movie in loop.
Thank you very much ! I could not do it myself.....Really good movie class 8)

Note : You should release this modification into Irrlicht Wiki and Magic2D lib if it is not already done.

Posted: Sat Jan 14, 2006 10:36 am
by xterminhate
Still about movie, when I call TMovie::LoadMovie() (irrforge source), the irrlicht window loses focus. Have you ever noticed this problem ?

Posted: Sat Jan 14, 2006 3:27 pm
by Emil_halim
no i did not notice it in my system,so i do not know the reason.

already i have applied the new NextMovieFrame function for Magic2d library
in version 0.5,when i have some time i will update the Wiki.

Posted: Sat Jan 14, 2006 6:53 pm
by xterminhate
If someone has the same problem : here is a way to keep focus on window.... I need it when playing movie into irrlicht viewport.

Code: Select all

// keep window focus
HINSTANCE hInstance = (HINSTANCE)GetModuleHandle(NULL);
irr::video::SExposedVideoData exposedData = driver->getExposedVideoData();
HWND hWnd = reinterpret_cast<HWND>(exposedData.D3D9.HWnd);
SetFocus(hWnd);
SetForegroundWindow(hWnd);
Working for OpenGl and Direct3D modes.

Posted: Sat Jan 14, 2006 7:46 pm
by Guest
I'm trying to get the DxMagic2d to work, in the header I had to change

#pragma comment(lib,"Magic2d.lib");

lines to...

#pragma comment(lib,"DxMagic2d.lib")

Now it doesn't give me to the missing library error...

but when I try to use functions

ViewOrtho() and ViewPerspective()

It gives me the error that LIBC.lib is missing... What is this library and How to stop the error...