Changed the image directory refered to in billboard demo.

Updates NEWS.

Changed the line endings in TextureCubeMap to unix endings.
This commit is contained in:
Robert Osfield
2003-01-23 12:18:22 +00:00
parent a32a392d8d
commit bf41106ce8
3 changed files with 26 additions and 21 deletions

32
NEWS
View File

@@ -15,22 +15,29 @@ OSG News (most significant items from ChangeLog)
to do is load the database and the paging then happens automatically -
without any need for intervention by the users application.
Addition of osgSim which is NodeKit designed for visual simulation
market, currently features high fidelity light points support. Light
point sectors, blink sequences and groups, and light point fading are
all supported.
From Brede Johansen, support added for the ARB VertexProgram extension
with osgvertexprogram demo showing reflection and reflection in action, and
osgpbuffer demo for Win32.
From Ulrich Hertlein, new DirectX .x model loader.
From Tree, Support for encoded text types in osgText.
New osgshadowtexture demo which illustrates how to create
dynamic shadow textures in your scene.
New osglogo demo - features anti-aliased TrueType text and animation.
The app phase of operations on the scene graph has been renamed
the update phase to make its function clearer. The main phases are now
named now does update, cull, draw. The AppVisitor, set/getAppCallback etc
have be renamed UpdateVisitor, set/getUpdateCallback etc.
Added new osgshadowtexture demo which illustrates how to create
dynamic shadow textures in your scene.
Addition osgSim which is NodeKit designed for visual simulation
market, currently features high fidelity light points support.
From Brede Johansen, new ARB VertexProgram StateAttribute class and
osgpbuffer demo for Win32.
New osglogo demo.
Removed the osg/ManagerManger and associated #define osgNew's, this has
been done to simplify users code and to solve the lack of thread safety
that was causing problems with the MemoryManager.
@@ -44,9 +51,6 @@ OSG News (most significant items from ChangeLog)
Improvements to the GEO loaders.
From Tree, Support for encoded text types in osgText.
From Ulrich Hertlein, new DirectX .x model loader.
13th November 2002 - OpenSceneGraph-0.9.2.tar.gz

View File

@@ -22,6 +22,9 @@ sgv spaceship.osg
echo sgv cube_mapped_torus.osg
sgv cube_mapped_torus.osg
echo sgv osgvertexprogram
osgvertexprogram
echo sgv Town.osg
sgv Town.osg

View File

@@ -120,8 +120,7 @@ osg::Node* createModel()
osg::Billboard* center = new osg::Billboard();
center->setMode(osg::Billboard::POINT_ROT_EYE);
center->addDrawable(
createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Images/reflect.rgb")),
createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Images/reflect.rgb")),
osg::Vec3(0.0f,0.0f,0.0f));
osg::Billboard* x_arrow = new osg::Billboard();
@@ -129,16 +128,15 @@ createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0
x_arrow->setAxis(osg::Vec3(1.0f,0.0f,0.0f));
x_arrow->setNormal(osg::Vec3(0.0f,-1.0f,0.0f));
x_arrow->addDrawable(
createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Images/osg_posx.png")),
osg::Vec3(5.0f,0.0f,0.0f));
createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Cubemap_axis/posx.png")),
osg::Vec3(5.0f,0.0f,0.0f));
osg::Billboard* y_arrow = new osg::Billboard();
y_arrow->setMode(osg::Billboard::AXIAL_ROT);
y_arrow->setAxis(osg::Vec3(0.0f,1.0f,0.0f));
y_arrow->setNormal(osg::Vec3(1.0f,0.0f,0.0f));
y_arrow->addDrawable(
createSquare(osg::Vec3(0.0f,-0.5f,-0.5f),osg::Vec3(0.0f,1.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Images/osg_posy.png")),
createSquare(osg::Vec3(0.0f,-0.5f,-0.5f),osg::Vec3(0.0f,1.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Cubemap_axis/posy.png")),
osg::Vec3(0.0f,5.0f,0.0f));
osg::Billboard* z_arrow = new osg::Billboard();
@@ -146,7 +144,7 @@ createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0
z_arrow->setAxis(osg::Vec3(0.0f,0.0f,1.0f));
z_arrow->setNormal(osg::Vec3(0.0f,-1.0f,0.0f));
z_arrow->addDrawable(
createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Images/osg_posz.png")),
createSquare(osg::Vec3(-0.5f,0.0f,-0.5f),osg::Vec3(1.0f,0.0f,0.0f),osg::Vec3(0.0f,0.0f,1.0f),osgDB::readImageFile("Cubemap_axis/posz.png")),
osg::Vec3(0.0f,0.0f,5.0f));