Hello,guys,

    When I use following codes to scale mesh, it seems the mesh can't be scaled 
by HardTransform(). And I checked those codes in CS, it seems those calls of 
HardTransform() are in initializing stage. If I don't care the collision 
detection, can I scale the meshs dynamically. Or which kind of mesh I can scale 
dynamically? And how can I do that?
    Thanks a lot!

       
----------------------------------------------------------------------------------------
                iMeshWrapper *pMeshWrapper = selected->pcmesh->GetMesh ();  

        if (pMeshWrapper){
            bool bSHardT = pMeshWrapper->GetMeshObject()->SupportsHardTransform 
();
            if (bSHardT)   // here bSHardT is false
                pMeshWrapper->GetMeshObject()->HardTransform(rTH);
        }


------------------                               
AndyFrun
2006-02-25

On 2/15/06, AndyFrun <[EMAIL PROTECTED]> wrote:
> Hi,everybody,
>
>    Is that possible I scale those objects in CS world? It seems 
> HardTransform() can work, but I don't know how to do it. Are there any 
> difference between thing mesh and genmesh? From CS manual, I found the 
> following desription. So can I scale the objects dynamically with collision 
> detection still to be ok?

Scaling using HardTransform() is fine. Just give a scaling transform
there (using a csMatrix3 which scales for example). Scaling objects
dynamically while maintaining CD is hard. That will be a problem I'm
afraid.

Greetings,
--
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to