Ogre3D (www.ogre3d.org) is a multi-platform, open-source 3D rendering engine.

learn more… | top users | synonyms (1)

0
votes
1answer
22 views

What is Ogre::String?

I was working with the OGRE .NET bindings (MOGRE) for quite a long time. To improve my (not that good) C++ skills, I am switching from C# to C++. After implementing a basic OGRE application, I was ...
0
votes
1answer
89 views

glsl shader to allow color change of skydome ogre3d

I'm still very new to all this but learning a lot. I'm putting together an application using Ogre3d as the rendering engine. So far I've got it running, with a simple scene, a day/night cycle system ...
-1
votes
0answers
30 views

using OGRE to render a scientific plot

How do I make a scientific plot tool using OGRE? Maybe a 'scatter plot' is a common name for it. My thought is to render the data as vertices with the RenderOperation::OperationType set to ...
1
vote
1answer
62 views

How to create a sun billboard with Ogre3d

I've been working with a few different engines alongside trying to code my own project. Rather than rewrite an entire renderer, etc I am using Ogre3d. To begin with I am trying to implement a very ...
3
votes
1answer
353 views

Changing Ogre3D terrain lighting in real time

I'm looking at the Ogre 3D library and I'm browsing through some examples / tutorials. My question is about terrain. There are a few examples showing how great the terrain system is, but I think that ...
0
votes
1answer
257 views

Need help with a complex 3d scene (using Ogre and bullet)

In my setup there is a box with a hole on one side, and a freely movable "stick" (or bar, tube). This stick can be inserted/moved through the hole into the box. This hole is exactly as wide as the ...
1
vote
1answer
120 views

How do I get my polygons to be lighted by either side?

Okay, I am using Ogre3D and Gorilla(2D library for ogre3D) and I am making Gorilla::Screenrenderables in the open scene. The problem that I am having is that when I make a light and have my ...
1
vote
1answer
297 views

Ogre3D particle effect causing error on iPhone

1) First I have added the Particle Folder from the Ogre SDK (contains Smoke.particle). 2) Added the Smoke.material And smoke.png and smokecolors.ong. 3) After this I added the Plugin = ...
0
votes
1answer
177 views

Ogre: Light not reflecting correctly

In my Ogre 3d scene I have an empty box, and within that there are three small cubes. The camera is also within the box, facing the three small cubes. The user can move and rotate the camera with the ...
1
vote
1answer
705 views

Which toolkit to use for 3D MMO game development? [closed]

Lately i've been thinking about which path to follow for developing an 3D Online game. I have googled a lot but i couldnt find a good article that covers both game development and online server & ...
2
votes
2answers
164 views

Spherical / Relative Gravity

I'm working on an Ogre3D + Bullet project that involves planets in a solar system. For all intents and purposes, I'm looking to give each planet it's own gravity sphere. So far, all I've found are ...
1
vote
1answer
114 views

Draw character silhouette when not visible

I have a mesh representing my character. I want to give it a partially transparent greyish silhouette when other objects are blocking it from view of the camera. I'm using Ogre3D, and GLSL as a ...
3
votes
1answer
392 views

How do I create a manual object with colors for each vertex?

How do I create a shaded manual object with colours for each vertex? Eg if ogreObj is the Ogre::ManualObject : ogreObj->begin("BaseWhiteNoLighting", Ogre::RenderOperation::OT_TRIANGLE_LIST); ...
2
votes
3answers
2k views

How do I export my Blender model to OGRE XML format for jMonkeyEngine 3?

I'm an amateur software engineer with several simple 2D-game projects under my belt. I'v recently turned my attention towards creating a basic 3D game, nothing too fancy, just to get a grip on things. ...
0
votes
2answers
687 views

Draw wireframe overlay of model in GLSL

I have a 3D model that has a GLSL script, and I want to draw a line on each border of its polygons in the fragment shader. What should I do? Note: I am using Ogre3D, so I can't use OpenGL's ...
0
votes
1answer
2k views

Best 3D Physics Engine to use with Ogre [closed]

I am looking for a good physics engine to use with an Ogre game I'm writing. I would prefer for it to be free, open source, mature, simple to use, easy to learn, and flexible. I'm currently thinking ...
1
vote
0answers
60 views

Wrong UV mapping when using small textures and positions

I am using a really small texture (64x64) and when I use it as a UV map on my mesh, there are some incomplete lines from the color of the other side of the UV map rendered as well (in this case, ...
1
vote
2answers
162 views

General visual effects to meshes/entities

I am trying to add some visual effects to some entities, meshes, or whatever you want to call them as they are looking pretty dull in my game right now. What I want to achieve is this: ...
2
votes
3answers
1k views

Make a laser beam effect with Ogre and a BillboardChain

http://www.lpi.usra.edu/lunar/missions/apollo/apollo_15/images/laser_beam_lg.gif I want to be able to such an effect, but I don't really know how the BillboardChain class works or how I can use it, ...
1
vote
0answers
105 views

Bad texture on model with different GPU [closed]

I have some kind of distortion on the texture of my 3D model. It works perfectly well on an AMD GPU, but when testing on a integrated Intel HD graphics card it has a weird issue. I don't have a ...
2
votes
1answer
151 views

Why is there high performance hit with many meshes?

I am currently reading upon Geometry Instancing, as I want to render a lot of animatable objects on the screen. However I have come to a more fundamental question first: Why do I even need to use it? ...
0
votes
1answer
321 views

Detect when a bullet rigidbody is on ground

I have a rigidbody that is on top of a plane or another rigidbody. How do I check if said rigidbody is on top of it? I tried to check the Y-part of the velocity but it is never 0, it is always a ...
0
votes
1answer
60 views

Shadows go through meshes, and also being applied to itself

I am using Ogre3D and I am using stencil shadows for my character. They work pretty well, but I have 2 problems: first, the shadow is applied to the entity it is casting the shadow, and secondly, the ...
3
votes
1answer
156 views

Continuous world and very large levels: going around the FPU limitations with Ogre3D

I'm currently using Ogre3D, and I'm wondering is it's possible to have a very large level (hundreds of kilometers) using the right scenemanager. Storing or having the level is not a problem, since I ...
2
votes
1answer
271 views

Using Ogre particle point billboards with shaders

I'm learning about using Ogre particles and had some questions about how the point type particles work. Q. I believe point type particles are implemented as a single position. Is one single vertex is ...
2
votes
1answer
135 views

Edges drop out when rendered at a long distance

I have this weird effect when rendering small objects at a long distance. I already tried using anisotropic filtering but maybe I am not doing it right. Material script: material Platform/Border { ...
1
vote
1answer
77 views

Variable sized cube texture stretching problem

I have a 1x1x1 cube made in Blender with a simple UVW mapping. It represents a 3D platform of variable size. The thing is that this cube gets resized a lot, and I want to draw a "border" of a ...
2
votes
1answer
40 views

Stick 2 btRigidBodies together

I have a platform with btBoxShape as shape, and I want to rotate it every certain amount of time to simulate a rotating platform. Right now I rotate it with Ogre (my rendering engine) and use a ...
1
vote
2answers
589 views

Entity system game design and input handler

I have started create a lightweight game engine with Ogre and C++. I have a abstract component class and an abstract entity class. #ifndef ENTITY_HPP_ #define ENTITY_HPP_ #include <string> ...
0
votes
0answers
70 views

Can't see InstancedEntity mesh in Ogre

I think the problem is caused because of the material, but I have no idea how to solve this. It worked before using instancing, so the material is correct. Here is my code: InstancedEntity* ent = ...
0
votes
1answer
97 views

2D vector to Quaternion

I have a 2D vector (with only X and Y), and my engine only supports orientation through Quaternions. How do I translate a 2D vector to a quaternion? The X and Y represent the direction (so X = 0 ...
0
votes
0answers
48 views

Ogre iOS User Input

I'm experienced with iOS, Objective-C, C and (reasonably) C++. I'm new to Ogre and have just set up Ogre for iOS. Now I'd like to use a UIView to capture input and communicate touches to my Ogre C++ ...
0
votes
2answers
472 views

How to set the object's world position in bullet?

In my Ogre3d application I am first changing the parent of a node like this: // save object "Cube" into node*; then ... Vector3 absPos(node->_getDerivedPosition()); Quaternion ...
4
votes
3answers
322 views

How to check whether a ray cast hits a specific side of an object?

I am using Ogre3d to develop a 3d simulation/game. One task is to determine whether the user has focused the camera on a specific object. So I cast a ray from the camera to what is currently in the ...
0
votes
1answer
227 views

Projecting world coordinates to screen coordinates issue - points disappear when origin not in view

I am trying to implement a 2d line drawing effect on a 3d mesh using Ogre. In order to do so, I perform silhouette detection on the lines of the object (this works) and then project these lines from ...
2
votes
0answers
134 views

Quaternion to direction vector - flipping

I've kinda solved this myself by adapting the Camera::setDirection code from OGRE to work for my need: Now I have the following code: Vector3 boneDir = getBoneWorldOrientation(mEntity, mHips) * ...
6
votes
1answer
311 views

How can I debug _why_ glDrawArrays is very slow?

I'm working on a game that uses CEGUI and Ogre. Recently, we've discovered that some of our customers with GeForce4 MX 4000's, performance is terrible. After a night spent debugging, I've tracked ...
1
vote
2answers
260 views

Jump without bouncing in physics engine

I am using Ogre3D as my rendering API, and OgreBullet as my physics engine. I have an test entity that when the y part of the velocity is 0 and spacebar is pressed, the velocity changes to, lets say: ...
5
votes
0answers
116 views

How to pass depth buffer from OGRE to CUDA?

I am using OGRE for rendering some objects. At every frame, I would like to pass the resulting depth buffer to CUDA for running some kernels on it and computing a result. How can I achieve this? How ...
0
votes
2answers
343 views

Game state management?

I'm running in circles here trying to figure out how to implement game states! Many of the articles I have read use an abstract class that game states inherit, and another "manager" class that ...
0
votes
0answers
28 views

Ogre3d: SdkTray's closeDialog() not working

I am using the SdkTray overlay in my Ogre3d application, using the Advanced Framework. At some point I call the showOkDialog() to display a message to the user. That works fine. Also I have overriden ...
-4
votes
1answer
2k views

How to make NPC AI for my jme3 ninja game

My scene has a main character who is a ninja and an enemy which is a goblin and one monster but the monster has no animation so we can wait with him: How can I make the goblin actually move instead ...
0
votes
0answers
27 views

How to read (and discard) Windows events in Ogre?

In my Ogre application I use a custom mouse handler implementation instead of OIS (to support more than one mouse). That is working fine, however, without OIS when reading mouse events directly they ...
1
vote
3answers
203 views

How to put a “mask” in front of the camera in Ogre?

Is there any easy way to put kind of a "mask" in front of the camera in an Ogre 3d application, so that parts of the scene are always covered by that mask? The idea is that I want to have an effect as ...
2
votes
1answer
454 views

How to calculate collision normal between two AxisAlignedBox's?

I'm writing a physics simulation in Ogre3D and I'm trying to figure out how to calculate the collision normal between two Ogre::AxisAlignedBox's. I am checking for collisions using the "intersects" ...
6
votes
5answers
8k views

OpenGL vs OGRE : Which is the best for beginner? [closed]

I am interested in getting into game development and posses good C/C++ programming skills. I have tried OGRE before, and I am curious whether I should learn either OGRE or OpenGL as a starting point. ...
0
votes
2answers
87 views

Min. Distance for Spotlights in Ogre3d?

I have a simple scene with only one empty box. Within that box I have the camera attached to a scene node, which the user can move (translate/rotate). Additionally a spotlight is attached to the ...
1
vote
0answers
102 views

How to set object's / node's absolute rotation correctly?

Usually when I want to rotate an object/node in my Ogre scene I call the node's rotate() method. That rotates the node locally relative to it's current rotation. So for example, when I start with 0 ...
3
votes
1answer
110 views

How to map absolute Joystick position to object rotation?

In my (Ogre) 3d scene I have an object that should be rotated locally based on Joystick input. I have a Joystick with min/max values of [-32767, 32767] on both X and Y axes. When the Joystick is in ...
6
votes
1answer
582 views

Spaceship interiors: How to approach, implementation-wise?

I'm creating a 3D space game using Ogre3D for graphics with C++ and one of the features is to be able to freely wander around spaceship interiors, but I am lost with how to implement it. Here is what ...