Coder Social home page Coder Social logo

ogre-paged's People

ogre-paged's Issues

"Patch incorrect PixelBox::getWidth in OpenGL mode"

We are using paged geometry's grass and having a problem with the density map 
that is incorrect. It is caused by this line:

PropertyMaps.cpp:137

#if OGRE_PLATFORM != OGRE_PLATFORM_APPLE
        // Patch incorrect PixelBox::getWidth() in OpenGL mode
        if (Root::getSingleton().getRenderSystem()->getName() == "OpenGL Rendering Subsystem")
                --mapWidth;
#endif //OGRE_PLATFORM_APPLE

We have tested it with the OpenGL mode both on Windows and Linux. With this 
line, on OpenGL the density map looks incorrect, removing this line fixes it.

Original issue reported on code.google.com by [email protected] on 30 Jan 2012 at 1:21

pkg-config file is broken

PagedGeometry.pc contains:
    Libs: -L${libdir} -l 

In Libs, "-l " doesn't mean anything. It should be -lPagedGeometry so it links 
against libPagedGeometry.a.

PS: I've now packaged ogre-paged for slackware; will appear on slackbuilds.org 
after some more testing.

Original issue reported on code.google.com by [email protected] on 7 Jan 2012 at 2:18

Examples all fail to OgreException on Linux

Compilation and installation process of ogre-paged was successful on Ubuntu 
Linux 10.04 using latest Ogre 1.8.0 code snapshot.

All examples compile fine too, but they fail to load because of OgreException:

OGRE EXCEPTION(2:InvalidParametersException): World geometry is not supported 
by the generic SceneManager.

Is this an incompatibility with Ogre 1.8.0, or maybe something else? I've used 
this version of Ogre for several other applications without problems, so I 
assume my Ogre installation is healthy.

What might be the reason? Startup log from Example1 attached in this report.

Original issue reported on code.google.com by [email protected] on 1 Jun 2011 at 12:15

Attachments:

Example11 fails to build

Compiling ogre-paged-1.1.3 on OpenBSD fails:

/usr/ports/pobj/ogre-paged-1.1.3/ogre-paged-1.1.3/examples/Example11.cpp:13:25: 
error: OgreTerrain.h: No such file or directory
/usr/ports/pobj/ogre-paged-1.1.3/ogre-paged-1.1.3/examples/Example11.cpp:14:30: 
error: OgreTerrainGroup.h: No such file or directory
/usr/ports/pobj/ogre-paged-1.1.3/ogre-paged-1.1.3/examples/Example11.cpp:15:37: 
error: OgreTerrainQuadTreeNode.h: No such file or directory
/usr/ports/pobj/ogre-paged-1.1.3/ogre-paged-1.1.3/examples/Example11.cpp:16:43: 
error: OgreTerrainMaterialGeneratorA.h: No such file or directory
/usr/ports/pobj/ogre-paged-1.1.3/ogre-paged-1.1.3/examples/Example11.cpp:17:31: 
error: OgreTerrainPaging.h: No such file or directory

These headers are installed with Ogre:

$ ls /usr/local/include/OGRE/Terrain/
OgreTerrain.h                           OgreTerrainPagedWorldSection.h
OgreTerrainGroup.h                      OgreTerrainPaging.h
OgreTerrainLayerBlendMap.h              OgreTerrainPrerequisites.h
OgreTerrainMaterialGenerator.h          OgreTerrainQuadTreeNode.h
OgreTerrainMaterialGeneratorA.h

Using ogre-1.7.4.

Original issue reported on code.google.com by [email protected] on 30 May 2012 at 4:14

Attachments:

Building Dynamic Library

Seems like there is a bug in the Cmake system,
editing CMakeLists.txt, line 32:
change: "SET(BUILD_SHARED_LIBS OFF)"
to: "SET(BUILD_SHARED_LIBS ON)"

This still results in a static library: libPagedGeometry.a
It should have resulted in: libPagedGeometry.so

Original issue reported on code.google.com by [email protected] on 21 Jul 2011 at 2:00

No build instructions for Linux

GettingStarted.txt only describes how to build on Windows.

Doing the usual 'cmake -g "Unix Makefiles" ../.' will fail.

How do we tell cmake where our Ogre source is?  It should fallback to looking 
in /usr/local/include



brett@natty32:~/pagedgeometry-sources-1.1.1/build$ cmake -g "Unix Makefiles" 
../.
could not find the OIS includes. Please install them.
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/brett/pagedgeometry-sources-1.1.1/build
brett@natty32:~/pagedgeometry-sources-1.1.1/build$ cmake -g "Unix Makefiles" 
../.
could not find the OIS includes. Please install them.
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/brett/pagedgeometry-sources-1.1.1/build
brett@natty32:~/pagedgeometry-sources-1.1.1/build$ make
[ 63%] Building CXX object source/CMakeFiles/PagedGeometry.dir/BatchedGeometry.o
/home/brett/pagedgeometry-sources-1.1.1/source/BatchedGeometry.cpp:16:22: fatal 
error: OgreRoot.h: No such file or directory
compilation terminated.
make[2]: *** [source/CMakeFiles/PagedGeometry.dir/BatchedGeometry.o] Error 1
make[1]: *** [source/CMakeFiles/PagedGeometry.dir/all] Error 2
make: *** [all] Error 2

Original issue reported on code.google.com by [email protected] on 21 Jul 2011 at 12:46

Cant compiling any example

What steps will reproduce the problem?
1. Build soluion for MVS2010 in CMake.
2. Add some path in examlple11 (this examle has problem with links)
3. Build all projects in solution without errors.
4. Copy OgreMaian.dll and OIS.dll to folder with .exe files.

What is the expected output? What do you see instead?
I want see any runing example but I see this error 
http://files.ribalka02.ru/links/error/
It is writen "unhandled exception at ...."

What version of the product are you using? On what operating system?
I use PagedGeometry 1.1.4 in MVS2010 and OS Win7x64

Original issue reported on code.google.com by [email protected] on 31 Aug 2012 at 3:52

GrassLayer::setMaxSlope() doesn't work for a CrossQuad grass - BUGFIX

Hi, 
I have found a bug. Setting a max slope for a grass rendered as a cross quad 
doesn't work correctly.

I have examined it and now I know that it's not working correctly because 
there's a typo in a code.
In a GrassLoader.cpp file, generateGrass_CROSSQUADS() function at 492line is 
code:

if (heightFunction)
{
  if (layer->getMaxSlope() < (Math::Abs(y1 - y2) / (halfScaleX * 2)))
  {
    //Degenerate the face
    x2 = x1;
    y2 = y1;
    z2 = z1;
  }

  y3 = heightFunction(x3, z3, heightFunctionUserData);
  y4 = heightFunction(x4, z4, heightFunctionUserData);
}

Instead of the x1 and x2 variables, there should be used x3 and x4, same with y 
and z variables.

Also, now there is only 1 quad discarded instead of 2 when the slope is too big 
for a grass. I have fixed it too.

I have attached a fixed GrassLoader.cpp from the newest PagedGeometry 1.1.1 
without this bug ;).

Thanks for the addon :).

Original issue reported on code.google.com by [email protected] on 29 May 2011 at 2:25

Attachments:

Merge this code fix (normals rotated wrong)

I've found a bug in code, more here:
http://www.ogre3d.org/addonforums/viewtopic.php?f=14&t=29696
It does change a lot, so would be good to have it in official code repo.

Original issue reported on code.google.com by [email protected] on 30 Oct 2012 at 11:57

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.