ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   General - SDK

Subject: Re: [viewpoints] How to add a viewpoint on the fly
Sender: Andrea B 4.07.07 11:38

Thank you for your answer.
First of all, do you have serious concerns about using >Cortona 4.1, since version 5.1 is available for download? It > has backward compatibility with 4.1, of course.

I simply can't, it doesn't depend on me.

Note, that "nodes->Add(vpNode, NULL)" never succeeds >because of invalid second argument (it cannot be NULL, so >method call fails with E_POINTER error). According to >COM/OLE rules, when you need to omit an optional argument >for a method, you should pass a VARIANT of type VT_ERROR >with its scode member set to DISP_E_PARAMNOTFOUND.     CComVariant optional(DISP_E_PARAMNOTFOUND, VT_ERROR);
    nodes->Add(vpNode, &optional);

Actually "nodes->Add(vpNode, NULL)" always succeeds, but I can't see the new viewpoint in the navigator interface. The object exists, but I can't see it. I tried with your solution and nothing changed :-(
What can I try?

Thank you,
bye

 


[viewpoints] How to add a viewpoint on the fly? / Andrea B / 3.07.07 09:02
     Re: [viewpoints] How to add a viewpoint on the fly? / nalex@parallelgraphics.com / 4.07.07 07:46
         Re: [viewpoints] How to add a viewpoint on the fly / Andrea B / 4.07.07 11:38

Messages in thread: 3


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.