Hi Jiejie,

On Thu, 2005-06-02 at 03:00 +0000, zhujiejie wrote:
> Dear all,
> 
>   I am embeding cal3d to OpenSG and problems occur creating a new geometry. 
> 
>   I specify the problem in vertex array and index. 
> 
>   For the geometry lens, should I assign the vertex count or the (face 
> count)*3 using triangles?

If you use indices, the vertex count is probably wrong. If you only have
independent triangles (not sure if Cal3d does it that way) face count*3
sounds more logical.

>   For the face index, I read the face index from the calrender, an array 
> storing the face index. 
> 
>   The result is not correct. It seems index does not work properly. 

What results do you get? Can you put a snapshot somewhere?

>   Does anybody have experience in creating a new geometry reading from other 
> model format?
>   Or sb. is ding Cal3D with OpenSG?? 

Not that I know any. Some people use Cal3D's render together with
OpenSG, but that's not what you're looking for.

        Dirk

-- 
-- Dirk Reiners               OpenSG Forum             [EMAIL PROTECTED] 
-- The OpenSG Open Source Scenegraph:            http://www.opensg.org
-- Join the list at    http://lists.sf.net/lists/listinfo/opensg-users



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to