Hi Paul,
lets start with my congratulations on the book.
I've kept a list with remarks while reading, and I'll paste those below
my message. If necessary I can convert those into "OpenOffice or Word
with track changes". I don't have either currently installed, but that
can be done.
In general I've missed a message warning users about the evolving nature
of osg. A hint to generaly get the latest version could be added too.
In the example code I found a little bug in the text.vcproj,
configuration "Release|Win32" tries to link with "osgText.lib osgDBd.lib
osgd.lib" .
Greetings, Laurens Voerman
Laurens Voerman
RC HPC/V
Rijksuniversiteit Groningen
P.O. Box 11044, 9700 CA Groningen
mail: [EMAIL PROTECTED]
web: http://www.rug.nl/rc/hpcv/index?lang=en
--------
page 22 section "1.6.3 Components"
sub "State Management Classes"
bullet "Attributes":
>osg::StateSet::setAttribute() to store a mode in a StateSet.
<osg::StateSet::setAttribute() to store an attribute in a StateSet.
MAYBE ADD: see also "2.4 Rendering State"
--------
Example code on page 45, near end of section "2.3.1 The Child Interface":
> group->addChild( new osg::Geode0 );
>
> osg::ref_ptr<osg::Geode> geode1 = new osg::Geode;
> group->addChild( new osg::Geode1 );
error C2039: 'Geode1' : is not a member of 'osg'
< group->addChild( geode0.get() );
<
< osg::ref_ptr<osg::Geode> geode1 = new osg::Geode;
< group->addChild( geode0.get() );
--------
page 45 "2.3.2 The Parent Interface"
> // Return the number of children.
> unsigned int getNumParents() const;
< // Return the number of parents.
< unsigned int getNumParents() const;
--------
page 46 "2.3.2 The Parent Interface"
>In the typical case where a node has a single parent (getNumParents()
returns zero),
<In the typical case where a node has a single parent (getNumParents()
returns 1),
--------
page 52 "2.3.5 The Switch Node", last code example
>// Disable grouo0:
<// Disable group0:
--------
page 63 "2.4.4 Texture Mapping"
sub "Loading Images"
>// Load the texture image
>osg::ref_ptr<osg::Image> image = new osg::Image;
>image->setFileName( "sun.tif" );
<// Load the texture image
<osg::ref_ptr<osg::Image> image = osgDB::readImageFile( "sun.tif" );
MAYBE ADD: see "2.5 File I/O" for details of osgDB::readImageFile
--------
page 63 "2.4.4 Texture Mapping"
sub "Loading Images"
>0Texture State, describes this step in more detail.
<Texture State, describes this step in more detail.
--------
page 80 "2.6.4 The .osg File Format"
>NodeMask and CullingActive that
<< "that" should not be in italics
--------
page 87 "3.1.1 The Viewer Class"
sub "Setting the Clear Color" (last line)
>viewer.getCamera()->setClearMask(GL_COLOR_BUFFER_BIT |
>GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT );
>
>The above code snippet clears the color, depth, and stencil buffers.
<viewer.getCamera()->setClearMask(GL_COLOR_BUFFER_BIT |
<GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT );
<
<The above code snippet sets the camera to clear the color, depth, and
stencil buffers
<before rendering a frame.
--------
page 102 "
Sub "Source Code"
>section 1.2 Installing OSGOSG} and create your own OSG binaries with
debugging
<section 1.2 Installing OSG and create your own OSG binaries with debugging
Paul Martz wrote:
Okay, the /Quick Start Guide/ is now available!
I want to underscore that you should treat this as an editorial review.
I am already aware of quite a few errors plus changes I want to make.
However, I want to get this out to the community now to solicit more
feedback, and hopefully have you catch more of my errors and mistakes.
With this in mind, *please do not* order a print copy. Save your money
until I have a chance to put up a revised edition. Just download the
(free) PDF for review purposes. Thanks.
If you want to make your changes in OpenOffice or Word with track
changes, that'd be great. I can get you an .odt/.doc file. Just let me know.
You can download the PDF (or order a print copy) here:
http://www.lulu.com/content/767629
Or just go to lulu.com and search for "OpenSceneGraph".
The book's Web site is here:
http://www.openscenegraph.com/osgwiki/pmwiki.php/Documentation/QuickStartGuide
The example source code at the book's Web site currently contains only
VS8 project/solution files. I'm hoping some kind soul will cook up Linux
Makefiles for me; I'm too burned out right now plus have other work I
need to focus on for a few weeks.
Paul Martz
*Skew Matrix Software LLC*
http://www.skew-matrix.com <http://www.skew-matrix.com/>
303 859 9466
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/