Search found 17 matches

by irrcode
Sun Sep 09, 2012 3:26 am
Forum: Advanced Help
Topic: Render to an OpenGL context
Replies: 4
Views: 883

Re: Render to an OpenGL context

I was thinking there would be a function that I was just not noticing, which could take opengl data. I wasn't planning on using SDL for this problem, but if I had a working SDL+irrlicht project, I guess that might also lead to solving my problem here if in a much different way. What is the differenc...
by irrcode
Sat Sep 08, 2012 4:23 pm
Forum: Advanced Help
Topic: Render to an OpenGL context
Replies: 4
Views: 883

Render to an OpenGL context

Could someone please show me a helloworld type irrlicht example where irrlicht only knows of and renders to an OpenGL context that is given to it? I would like to use irrlicht as a pure graphics library, and use another library for keyboard input, etc. I would like to use SDL or Allegro for the non-...
by irrcode
Sat Sep 08, 2012 1:40 pm
Forum: Beginners Help
Topic: Irrlicht + SDL + Android
Replies: 1
Views: 298

Irrlicht + SDL + Android

Hi, I'm looking for a tutorial on setting up Irrlicht with SDL on android. Could anyone point me to a good one? I think I would like to get user input by means of SDL. Any advice? Thanks.
by irrcode
Tue Aug 07, 2012 4:57 am
Forum: Beginners Help
Topic: Irrlicht+BulletPhysics+PAL
Replies: 5
Views: 2071

Re: Irrlicht+BulletPhysics+PAL

cmake-gui says this: Could NOT find GTest (missing:  GTEST_LIBRARY GTEST_MAIN_LIBRARY) Google Test framework not found. Unit tests not enabled. Found X11: /usr/lib/i386-linux-gnu/libX11.so   /!\ WARNING: ODE_LIBRARY_MODULE not defined. You may have to manually copy ODE release DLL to runtime output ...
by irrcode
Fri Aug 03, 2012 10:49 am
Forum: Game Programming
Topic: Setting up physics, any (ubuntu 12.04LTS)
Replies: 0
Views: 1141

Setting up physics, any (ubuntu 12.04LTS)

I have tried to install PAL using box2D, ODE, and Bullet, using all sorts of variations. I have also tried to get irrBullet to install. None work. I have tried on 2 seportate machines. Is there a regression in irrlicht, ubuntu, gcc, cmake, or something that I am not aware of? I would post all of the...
by irrcode
Wed Aug 01, 2012 11:46 pm
Forum: Beginners Help
Topic: Irrlicht+BulletPhysics+PAL
Replies: 5
Views: 2071

Re: Irrlicht+BulletPhysics+PAL

  [ 32%] Building CXX object pal/CMakeFiles/libpal.dir/palCharacter.cpp.o [ 34%] Building CXX object pal/CMakeFiles/libpal.dir/__/pal_i/hull.cpp.o Linking CXX shared library ../lib/libpal.so [ 34%] Built target libpal Scanning dependencies of target libpal_bullet [ 35%] Building CXX object pal_i/CM...
by irrcode
Wed Aug 01, 2012 11:45 pm
Forum: Beginners Help
Topic: Irrlicht+BulletPhysics+PAL
Replies: 5
Views: 2071

Re: Irrlicht+BulletPhysics+PAL

Again, bullet-physics installs fine (as far as I can tell). This time using multiple core/CPU option as mentioned on the new link.   USR@USR-desktop:~/svn/pal/bin$ make     Scanning dependencies of target libpal [  1%] Building CXX object pal/CMakeFiles/libpal.dir/__/framework/errorlog.cpp.o [  2%] ...
by irrcode
Wed Aug 01, 2012 11:44 pm
Forum: Beginners Help
Topic: Irrlicht+BulletPhysics+PAL
Replies: 5
Views: 2071

Re: Irrlicht+BulletPhysics+PAL

While bullet-physics was originally installed using the methods described at http://www.warp1337.com/content/compileinstall-bullet-physics-engine-276-svn-ubuntu-910-howto and PAL was attempted unsuccessfully via methods described at http://www.adrianboeing.com/pal/install_generic.html , although sti...
by irrcode
Mon Jul 30, 2012 3:06 am
Forum: Beginners Help
Topic: Irrlicht+BulletPhysics+PAL
Replies: 5
Views: 2071

Irrlicht+BulletPhysics+PAL

*Not sure where this should be put, so an admin might want to refile it.* I am having difficulties installing PAL using Bullet-Physics under linux with premake. I installed bullet and irrlicht with no problems, but PAL wont seem to work and is complaining about HULL.cpp. I'm also a little confused a...
by irrcode
Wed Jul 25, 2012 1:04 am
Forum: Beginners Help
Topic: Irrlicht with Software Render Mode
Replies: 8
Views: 959

Re: Irrlicht with Software Render Mode

No, pitch is the full width of an image line in bytes. This includes additional space at the end of the line, which is outside the visible range. Ok, so it should never be any larger than (Width*bits_per_pixel+32bits). Where the 32bits are the max left over after whatever is used per pixel less tha...
by irrcode
Tue Jul 24, 2012 4:33 am
Forum: Beginners Help
Topic: Irrlicht Example#007 (C++ Question)
Replies: 4
Views: 489

Re: Irrlicht Example#007 (C++ Question)

got it. thanks!
by irrcode
Tue Jul 24, 2012 4:27 am
Forum: Beginners Help
Topic: Irrlicht with Software Render Mode
Replies: 8
Views: 959

Re: Irrlicht with Software Render Mode

I am assuming that the pitch object in the virtual class IImage is dot-pitch. Is this for sub-pixel data being averaged onto the physical display limitations? Look in CSoftwareDriver.h You will find video::CImage* BackBuffer and IZBuffer* ZBuffer. You could use CSoftwareDriver::createScreenShot but ...
by irrcode
Mon Jul 23, 2012 8:03 pm
Forum: Beginners Help
Topic: Changing animations during the game loop
Replies: 3
Views: 784

Re: Changing animations during the game loop

You could just have an enum and set it to the current animation. You could even throw that into a struct or class to keep one per animated object.
by irrcode
Mon Jul 23, 2012 8:00 pm
Forum: Beginners Help
Topic: Irrlicht Example#007 (C++ Question)
Replies: 4
Views: 489

Re: Irrlicht Example#007 (C++ Question)

Ah, ok. That's kind of what I was guessing, but why do that in a mainloop? Aren't those stack operations (allocation and release) costly if repeated that much?
by irrcode
Mon Jul 23, 2012 7:55 pm
Forum: Beginners Help
Topic: Irrlicht with Software Render Mode
Replies: 8
Views: 959

Re: Irrlicht with Software Render Mode

hybrid wrote: both result in an internal backbuffer image in memory, which is then blit into the main framebuffer, e.g. by SDL, X11, or the Windows window support.
Where is this image in memory stored? Can I access it as a multidimensional array or a dynamic linked list?