Hi

Thank you very much!! it works with

Before calling osgInit add these lines:

OSG::preloadSharedObject("OSGFileIO");
OSG::preloadSharedObject("OSGImageFileIO");


I attached a simple textured cube from blender collada exporter, OpenSG
doesn't load it:
WARNING: ColladaGeometry::handleBindMaterial: Failed to resolve
<bind_vertex_input> inSemantic [TEXCOORD] inSet [0] semantic [UVMap].

I am not sure if it is on the blender or OpenSG side..

I just recently started with OSG 2.x, so I have some smaller porting issues:

OSGSimpleAttachments.h seams to be deprecated, but it is still in the
OpsnSG2.0 tutorials
http://www.opensg.org/wiki/Tutorial/OpenSG2/NodeCores
I suppose it should be
OSGNameAttachment.h

When I switch the parent node I used to addRefCP the child node, how am I
supposed to proceed now?

and do I still need:
ract->setLocalLights(true);

some issues with chunk materials:
ChunkMaterialRecPtr mat =
dynamic_cast<ChunkMaterial*>(getMesh()->getMaterial());
mat->getChunks(0);

getChunks is private, is there an alternative to get the chunks of the
material?

Thank you very much for your help!!
I really hope to keep OpenSG in our lab :)

Best Regards,
Victor

Attachment: test.dae
Description: Binary data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to