» Home » Ogre3D » Page 1
Ogre3D Custom Map
by semicolonth in Programming Languages

I have no idea how to do this, but I need some help. I want to make a custom 'map' for a game(buildings, ground, bridges, etc), and then load it into Ogre3D. What is the best way to do it?

TAGS : Ogre3D Custom

Dynamic 2D Ogre3D Texutre
by FlyOnTheWall43 in Programming Languages

I'm trying to create a 2D background for my ogre scene that renders the camera frames for the QCAR SDK. This is on an iPad with iOS 6.

At the moment I'm retrieving the pixel data like so in renderFrameQCAR:

const QCAR::Image *image = camFrame.getImage(1);
if(image) {
pixels = (unsigned char *)image->getPixels();

This retur

Ogre3D strange behavior
by Ivan Maček in Programming Languages

I compiled Ogre on my Lubuntu 10.04 with LXDE environment, and when I try to start ./SampleBrowser_d from /bin i have incomplete window...it haven't got background, I can't click on accept and i can't choose OpenGL from avaible list..Anybody know what's it and how fix it ?
Here's some screenshots:
link text

Any suggestions?

Mesh from heightmap in Ogre3D
by chadrico in Programming Languages

Using the Ogre3D engine (C++), I would like to generate a mesh from a grayscale heightmap. I know that the Terrain tools can do that but I just want a simple mesh. What would be the best way to do that? This sounds pretty basic but I can't find my way in the Ogre3d doc.


Deriving a ray from cursor co-ordinates using Ogre3D
by Steve in Programming Languages

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 using

Ray laser = mCamera->getCameraToViewportRay(mMouse->getMouseState().X.abs, mMouse->getMouseState().Y.abs);


Is there a way of combining Ogre3d's Hikari and BlazeDS?
by Sigtryggur in Programming Languages

I am trying to load a swf into an Ogre3d/Hikari application and that swf uses BlazeDS to communicate with a Tomcat server. The swf is from another project that is used in a browser environment. So, the swf is served from Tomcat to the client's browswer. It seems like there are two main issues. The first is a sandbox issue with using the swf in a different sandbox type than a browser environ

Ogre3d restoreConfig causes app to hang on Ubuntu
by kraszie in Programming Languages

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, fullscreen, etc) as well as other configurable settings I will need in the app down the track.

As a starting point I changed from calling mRoot->s

Creating manual mesh in Ogre3d?
by Darin in Programming Languages

I am getting a bit confused as to why my manually created mesh is not appearing correctly. I have created the vertex and index buffers and they seem (although I am not 100% sure) to contain the correct values.

Essentially I am creating a grid of mapSize * mapSize vetrices, at a height of 0, then creating the triangles out of them.

void TerrainGeneration::createTerrai

How do I link C++/Ogre3D code to Haskell
by Murali Ravipudi in C & C++ & C#

I'm trying to write my rendering code for my application in C++ and everything else in Haskell. My C++ code links to the boost and Ogre3D libraries.

I'm trying to compile/link my Haskell program with compiled .o files in GHC to no avail, getting errors like this:

undefined reference to `Ogre::Vector3::ZERO'

The command I've come up with so far t

Ogre3d / Compositor related issue
by php in Programming Languages

I killed my whole day trying to figure out, why the code below is not working:

I have this .compositor script:

compositor BW
texture rt0 target_width target_height PF_A8R8G8B8
target rt0
input previous

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .