Questions tagged [ogre3d]

Ogre3d is an open source 3d graphics rendering engine.

Ogre3d (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine written in C++ designed to make it easier and more intuitive for developers to produce applications utilising hardware-accelerated 3D graphics. The class library abstracts all the details of using the underlying system libraries like Direct3D and OpenGL and provides an interface based on world objects and other intuitive classes.

212 questions
2
votes
1 answer

Compiling a DLL which includes Ogre3D gives an assertion error when used

I have a framework that I am building and is being compiled into a static library to be used by other projects. The library works perfectly without issues. The problem is that the link time is very long for the projects that use the library so I…
Samaursa
  • 16,527
  • 21
  • 89
  • 160
2
votes
4 answers

How best to deal with warning c4305 when type could change?

I'm using both Ogre and NxOgre, which both have a Real typedef that is either float or double depending on a compiler flag. This has resulted in most of our compiler warnings now being: warning C4305: 'argument' : truncation from 'double' to…
identitycrisisuk
  • 906
  • 1
  • 9
  • 15
2
votes
0 answers

How do I generate a Spotlight Projection Matrix for Shadow Mapping?

I'm currently in the Process of making a simple little shaodw mapping ystem for Ogre3d. I'm currently stuck at Mapping the Shadow map texture to the object for depth comparison because I have no idea how to generate the required Projection Matrix…
user2706035
  • 95
  • 1
  • 1
  • 6
2
votes
1 answer

Ogre3D 1.9, cmake, XCode, don't know what to put inside FREETYPE_FT2BUILD_INCLUDE_DIR

I'm trying to build from source, I installed the dependencies through homebrew. In the missing FREETYPE_FT2BUILD_INCLUDE_DIR var, i put /usr/local/include/freetype2 I'm using makefiles. At 83%, it compiles ogre overlay, and I got ld: framework not…
jokoon
  • 6,207
  • 11
  • 48
  • 85
2
votes
1 answer

Ogre3d restoreConfig causes app to hang on Ubuntu

Building an app for Ubuntu using Ogre3D, CEGUI, OIS which is now all compiling and running as expected. Having got the basic app running I decided to now build a custom config file which I can store both graphics settings (ie. resolution,…
Tim
  • 964
  • 2
  • 15
  • 30
2
votes
1 answer

How to avoid CMAKE error "Could NOT find " when is included as "add_subdirectory" of the same master project

I am trying to create a CMAKE project that includes other third party projects (OGRE3D, CEGUI, etc) and my specific project (or projects). More specifically, I have a directory tree like this: + myMasterProject -----+ OGRE3D_DEPENDENCIES -----+…
Danduk82
  • 769
  • 1
  • 10
  • 29
2
votes
1 answer

Setting up Ogre3d an Qt5.0

Im trying to compile a ogre 3d example project on Qt5.0 as a plain c++ project, but Im getting a lot of errors of "No such file or directory", I already add all the paths to the pro file. Also I set the Environment Variable, OGRE_HOME as in this…
Alex Ar
  • 37
  • 1
  • 7
2
votes
0 answers

GDB error Cannot access memory (Segmentation fault)

Segmentation fault when retrieving OGRE 3D 1.81 submesh data. I tried to make use of the code from http://alumni.cs.ucr.edu/~sorianom/cs134_09win/ to get ogre mesh data for Bullet physics engine to use, but encountered an error message that said…
志誠 徐
  • 41
  • 4
2
votes
1 answer

Under what circumstances would glGenBuffers/glGenBuffersARB fail?

I am using the Ogre3d engine supporting OpenGL mode. I have an object called Chunk which creates an Ogre::ManualObject. Because the creation of the ManualObject takes a bit of time I put the task onto a new thread. Unfortunately, after threading…
Razor Storm
  • 12,167
  • 20
  • 88
  • 148
2
votes
1 answer

CvVideoWriter WriteFrame for iOS not working

I'm using a pre-compiled version of OpenCV I got from here: http://aptogo.co.uk/2011/09/opencv-framework-for-ios/ I'm working on a Ogre3D Application, and I'm trying to grab screens from the app to stitch together to make a video. I've successfully…
kop_padawan
  • 57
  • 1
  • 7
2
votes
2 answers

Ogre collision detection on a grouped up mesh?

I am experimenting with creating a voxel based game and am rendering millions of cubes. In order to speed up the rendering, I am grouping up the cubes into chunks that group 32x32x32 cubes into one mesh. This is to reduce the number of render calls…
Razor Storm
  • 12,167
  • 20
  • 88
  • 148
2
votes
1 answer

When making an instance with shared_ptr, what should happen with the pointer instance variables?

Alright, here I have this small example of my complex class class LivingObject { Ogre::SceneNode* myNode; Gorilla::ScreenRenderable* myScrRend; Gorilla::Layer* myRendLayer; Gorilla::Rectangle* myRendRect; int…
Molma
  • 171
  • 9
2
votes
1 answer

Using IrrKlang with Ogre

I'm trying to set up sound in my Ogre3D project. I have installed irrKlang 1.4.0 and added it's include and lib directories to my projects VC++ Include and Library directories, but I'm still getting a Linker error when I attempt to build. Any…
Vinnie
  • 35
  • 3
2
votes
2 answers

Deriving a ray from cursor co-ordinates using Ogre3D

I am creating a spaceship game in which you will be able to fire a laser from their ship. Basically I want to create a ray from the players ship to the cursor position. The player can move around but the camera is static. So far I've tried…
Seán
  • 21
  • 1
2
votes
2 answers

Detect Collision point between a mesh and a sphere?

I am writing a physics simulation using Ogre and MOC. I have a sphere that I shoot from the camera's position and it travels in the direction the camera is facing by using the camera's forward vector. I would like to know how I can detect the point…
Brock Woolf
  • 46,656
  • 50
  • 121
  • 144