Show
Ignore:
Timestamp:
01/31/10 13:55:29 (3 years ago)
Author:
robert
Message:

From Jan Peciva, "I am sending improved version of Inventor plugin. Attaching just
modified files, while GroupSoLOD.h and .cpp was deleted. Please, delete
it from repository, it is not used any longer and I doubt if it is
probably not used for anything meaningful for a while. In the new code,
there is no GroupSoLOD. Please, delete it.

I am using new plugin version for about 1.5 month so I consider it
stable by myself.

List of changes:
- rewritten Inventor state stack
- shaders support
- light attenuation support
- support for reading from stream (readNode(std::istream& fin, options))
- improved grouping node handling (SoSeparator?, SoGroup?,...)
- fixed transformation bug when two SoShapes/Drawables? with different transformations are placed bellow one grouping node
- introduced preprocessing to handle more advanced usage schemes of SoLOD and SoSwitch? nodes
- unused code clean up
- improved notify messages
- animation callbacks fixes
- FindInventor?.cmake improved finding routines, support for Coin3 and Coin4"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/Inventor/ConvertToInventor.cpp

    r9414 r11032  
    237237    for (i=0, z=0; i<num; i++) 
    238238      if (z == numItemsUntilMinusOne) { 
    239         a[i] = -1; 
     239        a[i] = ivType(-1); 
    240240        z = 0; 
    241241      } else { 
     
    19211921      // Note: use SoTransform instead of SoRotation because SoRotation is not supported by VRML1. 
    19221922      SoTransform *transform = new SoTransform; 
    1923       transform->rotation = SbRotation(SbVec3f(1.f,0.f,0.f), -M_PI_2); 
     1923      transform->rotation = SbRotation(SbVec3f(1.f,0.f,0.f), float(-M_PI_2)); 
    19241924 
    19251925      SoSeparator *separator = new SoSeparator; 
     
    20482048  popInventorState(); 
    20492049} 
     2050