Questions tagged [ogre]

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

Filter by
Sorted by
Tagged with
22 votes
1 answer
1k views

How can I get PagedGeometry grass to receive shadows?

I made the switch to Ogre3D (v1.7) and to using PagedGeometry. What I'm trying to do is make a simple scene with a terrain, some trees and grass. In a nutshell, I would like to achieve this kind of ...
scottyp's user avatar
  • 429
19 votes
3 answers
19k views

How viable ogre3d is for a commercial project? [closed]

Well, I don't really what else to add to the question, since I don't really know what competitors have that OGRE doesn't. Of course I'm talking game rendering quality here, I don't really think there ...
jokoon's user avatar
  • 5,243
15 votes
5 answers
4k views

How to get the blocks seen by the player?

I'm writing a Minecraft-like game using Ogre engine and I have a problem. I must optimize my game, because when I try draw 10000 blocks, I have 2 FPS... So, I got the idea that blocks display of the ...
m4tx's user avatar
  • 427
15 votes
1 answer
5k views

Procedural star field generator

Is anyone aware of any code to procedurally generate star fields? Ideally I'd like it to be physics-based so I can have realistic planets and moons. Best would be in C++, open source, and workable ...
Jay's user avatar
  • 453
12 votes
1 answer
517 views

Dynamic model interactions

I am just curious as to how in many games (namely games like arkham asylum/city, manhunt, hitman) do they make it so that your character can "grab" a character in front of you and do stuff to them. I ...
Richard's user avatar
  • 123
10 votes
5 answers
18k 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. ...
Songbreaker's user avatar
10 votes
1 answer
5k views

Bullet Physics - Casting a ray straight down from a rigid body (first person camera)

I've implemented a first person camera using Bullet--it's a rigid body with a capsule shape. I've only been using Bullet for a few days and physics engines are new to me. I use ...
Blue Wizard's user avatar
10 votes
4 answers
3k views

Procedural terrains in 3D: what has been done ? Are there common algo and/or theories about it? [closed]

Besides programming, modeling an environment takes a great deal of time. I don't know about the work time involved, for example, in a WoW dungeon level, or other beautiful city-like, future ...
jokoon's user avatar
  • 5,243
9 votes
3 answers
11k views

How would I move a character In an RPG with Bullet Physics/Ogre3D?

lately I have been having problems with moving my character in my Ogre3D game. Basically I am moving the character with bullet's RigidBody->translate() function, ...
Molmasepic's user avatar
8 votes
3 answers
12k views

Ogre vs. Irrlicht [closed]

I've experimented a bit with the Ogre (http://www.ogre3d.org) and Irrlicht (http://irrlicht.sourceforge.net) engines, both of which are open source and are trying to fill similar niches. From what I'...
Jason Champion's user avatar
8 votes
3 answers
972 views

Ogre3D how to use many images in a particle system

In the example I found, it usually uses one images for a particle system. Is it possible to use multiple images in a system?
Stan's user avatar
  • 357
7 votes
1 answer
1k 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 ...
toficofi's user avatar
  • 657
7 votes
2 answers
2k 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 ...
ArtHare's user avatar
  • 231
6 votes
2 answers
484 views

Approach to implement space junk

Ogre3D I would like to put some space junk in my game environment. Make it look like the first 2 search results. Those junks don't need to be interactive. Just need to have a 3D junk circling around ...
Stan's user avatar
  • 357
5 votes
1 answer
2k views

Setting up a cross-platform Ogre project on a Git repository

I'm looking to start a cross platform game project using Ogre, and I want to host it on a git repository. I'm collaborating with a friend on this: I'm on a Mac using Xcode, and he's on a PC using ...
brendanzab's user avatar
5 votes
1 answer
2k views

How do I program a custom FPS overlay in Ogre3D?

I want to make a frames per second and debugging info overlay, similar to the one in the bottom of the following image, but without using SDKTrays or OIS. I also want to be able customize its look, ...
Wazery's user avatar
  • 411
5 votes
1 answer
4k views

How to manage the lifetime of Ogre3D objects?

I haven't found tutorials that are concerned about deleting scenenodes and entities. I assume that the scenemanager will take ownership of them when they are attached (am I right?). However, I can ...
Tamás Szelei's user avatar
5 votes
2 answers
659 views

Linux OgreXML model viewer

Is there an OgreXML model viewer for Linux? I know about OgreMax but apparently that's Windows only.
Bart van Heukelom's user avatar
5 votes
2 answers
833 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 ...
lezebulon's user avatar
  • 1,402
5 votes
1 answer
1k views

Explicit resource loading in Ogre (Mogre)

I am just starting to learn Mogre and what I would like to do is to be able to load resources 'explicitly' (i.e. I just provide an absolute path instead of using a resource group tied to a directory). ...
sebf's user avatar
  • 2,664
5 votes
1 answer
391 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 ...
Ashwin Nanjappa's user avatar
5 votes
1 answer
674 views

Working Qt controls in a 3d environment

I need some advice from a Qt expert. The background: I have a 3D engine (ogre3d) working in concert with Qt. The 3D Content is displayed in a widget (using a custom OS window in the client area). I'm ...
Jay's user avatar
  • 453
4 votes
3 answers
6k views

Should I use OGRE3D or start from scratch with OpenGL for a large, procedural, open world game? [closed]

This question has probably been asked quite a few times, or something similar to it, but I'd like to get some better information on OGRE, since I felt that any descriptions I found weren't very ...
Fault's user avatar
  • 287
4 votes
4 answers
2k views

Change from Bullet/OgreAnim to Havok?

I have been working on a game in Ogre for the last 6 months or so. It started as a learning project, and after a few rewrites it actually turned into a real game project. Physics scared me, and using ...
Aidan Knight's user avatar
4 votes
3 answers
1k 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 ...
Matthias's user avatar
  • 717
4 votes
2 answers
423 views

What are the advantages and disadvantages of both writing a wrapper, and not writing a wrapper?

I am going to use Ogre3D as the rendering engine for our 3D software. I am not sure if I need to use the engine as it is, or if I need to write a wrapper for the parts I want to use. What are the ...
concept3d's user avatar
  • 12.7k
4 votes
1 answer
732 views

Why game engines usually don't offer a vector3.rotate method? [closed]

Game engines like Three.js, Ogre3d and Unity3d often don't provide a default rotate method on their vector class. You usually have to do something like: ...
MaiaVictor's user avatar
  • 1,180
4 votes
2 answers
3k views

Get world coordinate under mouse (at a ground plane for Warcraft 3 like movement)

I want to let a unit follow the mouse like in any RTS (Warcraft 3, Starcraft, ...). For that I have a "ground plane" which is defined through 2 vectors, the X and Z axis. Now I need to get the world ...
Moritz's user avatar
  • 47
4 votes
3 answers
3k views

Alpha blending without depth writing

A recurring problem I get is this one: given two different billboard sets with alpha textures intended to create particle special effects (such as point lights and smoke puffs), rendering them ...
teodron's user avatar
  • 3,271
4 votes
1 answer
1k views

Can't export Blender model for use in jMonkeyEngine SDK

I have a scene rendered in blender called "civ1.blend" which contains multiple materials (for example, I have one called "white"). I want to use this model in jMonkeyEngine, so I used the OGRE ...
Jonathan Pitre's user avatar
4 votes
1 answer
943 views

Ogre3D : seeking advices about game files management

I'm working on a new game, and its related level editor, based on Ogre3D. I was thinking about how i could manage the game files, knowing that Ogre use .mesh files for models, .material for materials/...
Tibor's user avatar
  • 75
4 votes
1 answer
3k views

An Ogre3D iPhone 'Hello World' project?

I have been investigating various 3d engines for iPhone/iPad development and have mostly decided to use Ogre3d. I have got the SDK, the iPhone dependancies, built and run the SampleBrowser project on ...
RedBlueThing's user avatar
4 votes
2 answers
2k views

Writing a custom model file format

I am using Ogre for my rendering engine, and I planned on just using the .mesh format that is setup by default with Ogre. However, I recently purchased a large number of 3d assets from a company, only ...
Aidan Knight's user avatar
4 votes
1 answer
6k 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" ...
Sean Chapman's user avatar
4 votes
1 answer
2k 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 ...
Tim's user avatar
  • 679
4 votes
1 answer
1k views

How to design a character animation system?

I'm searching for suggestions and resources on the possible ways to design a character animation system. I mean a system built on top of the graphics engine (as graphics engine I use Ogre3D, that ...
enigma's user avatar
  • 395
4 votes
2 answers
700 views

Reflections based on distance from plane

Let's consider, for example, a surface like the volleyball court, we can see that legs and shoes of the players are reflected, with a blur effect, but body and stadium don't (as each object not near ...
enigma's user avatar
  • 395
4 votes
2 answers
1k views

Why can't I import third-party modules I've installed in the python-ogre SDK's interpreter?

Background Information I'm using the python-ogre SDK, located here, under Windows 7. The SDK seems to have its own interface to the python 2.7 interpreter, judging from the fact that the generic ...
Louis Thibault's user avatar
4 votes
1 answer
820 views

Ogre3D Fog with overlays

I'm building a game with Ogre3d, I've got fog working properly with: scenemanager->setFog(Ogre::FOG_LINEAR, Ogre::ColourValue( 0.23f, 0.725f, 1.0f ), 0, 18, 20 );...
Elva's user avatar
  • 3,223
4 votes
0 answers
464 views

Normal maps in 3dsMax - OgreMax - how to view associated tangent vectors?

Reading this post I found out that 3dsMax might not use the same tangents when rendering normal mapped objects. In my case, I was using Ogre and OgreMax to analyze results and they were very ...
teodron's user avatar
  • 3,271
3 votes
4 answers
981 views

How to implement a starwar energy shield in game

I am using Ogre3D. How can I implement an energy shield like this image? In the picture, the shield is a semi-sphere, where I want to make it a sphere surround my object. The shield should be ...
Stan's user avatar
  • 357
3 votes
3 answers
9k 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. ...
zack_falcon's user avatar
3 votes
3 answers
2k views

How do you stop OgreBullet Capsule from falling over?

I've just started implementing bullet into my Ogre project. I followed the install instructions here: http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+1 And the rest if the tutorial here: http://...
Nathan's user avatar
  • 153
3 votes
2 answers
3k views

Problem with Ogre::Camera lookAt function when target is directly below

I am trying to make a class which controls a camera. It's pretty basic right now, it looks like this: ...
Benjamin Lindley's user avatar
3 votes
2 answers
745 views

What other components would one have to combine with Ogre 3D render engine to make a full fledged custom game engine?

I have heard that Ogre 3D is not actually a game engine, rather it is a 3D render engine. I have also heard people claim that one can piece it together with other components (engines?) to create a ...
user avatar
3 votes
2 answers
918 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 ...
Phillip Elm's user avatar
3 votes
1 answer
451 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 ...
jokoon's user avatar
  • 5,243
3 votes
1 answer
8k views

Ogre 3d and bullet physics interaction

I have been playing around with Ogre3d and trying to integrate bullet physics. I have previously somewhat successfully got this functionality working with irrlicht and bullet and I am trying to base ...
Tim's user avatar
  • 679
3 votes
2 answers
580 views

How do you stop an Ogre PSSM shader from creating unwanted or blocky shadows due to large 'world size'

I'm using PSSM Shadows in Ogre 1.6.4 and I have a scene which is around 100m square. I also create a flat ground texture which does not cast shadows and extends off towards the horizon, but when I ...
Roger Attrill's user avatar
3 votes
1 answer
801 views

Why do I get these errors in VS when I use OGRE_NEW?

I am trying to get more experienced with Ogre 3D and I am following the basic tutorials on the website. All the code samples compile just fine. The first time I encountered an "error" was in Basic ...
automaticoo's user avatar