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: IndexedFaceSet Texture
Sender: nalex@parallelgraphics.com 15.06.07 05:42
I want to put an bitmap image over that object.

Do you mean .bmp file by "bitmap" image? Cortona does not support BMP as textures.

Can somebody explain me what is not correct here and how can I do that.

Technically, the code is correct. It should work.
Keep in mind, that if the "root" scene was not loaded from any URL (via Scene property) but created from scratch, there is no such thing as "base URL", and fully qualified URLs should be specified for all resources you're trying to load.

As an advice, to make your code more simple, concern over the possibility of use ATL classes: CComVariant as replacement of plane VARIANT, CComBSTR as wrapper for BSTR type etc.

 


IndexedFaceSet Texture / mutafchiev@gmx.de / 15.06.07 04:22
     Re: IndexedFaceSet Texture / mutafchiev@gmx.de / 15.06.07 06:31
         Re: IndexedFaceSet Texture / nalex@parallelgraphics.com / 15.06.07 06:34
     Re: IndexedFaceSet Texture / mutafchiev@gmx.de / 15.06.07 06:30
     Re: IndexedFaceSet Texture / nalex@parallelgraphics.com / 15.06.07 05:42
         Re: IndexedFaceSet Texture / mutafchiev@gmx.de / 15.06.07 08:45
             Re: IndexedFaceSet Texture / nalex@parallelgraphics.com / 15.06.07 10:26
                 Re: IndexedFaceSet Texture / mutafchiev@gmx.de / 18.06.07 08:30
                 Re: IndexedFaceSet Texture / mutafchiev@gmx.de / 15.06.07 13:21

Messages in thread: 9


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