Wednesday, 26th July, 2006

VSL: getting a list of all portals

Filed under: Virtools, Virtools Tutorials, Tips and Tricks, Virtools VSL — dominique @ 01:28

Getting a list of all portals is a bit more complicated than one might think at first as it's not a class. A portal is a 3D Entity with special flags. So here is the Run VSL code. Note that scene is a pIn of type Scene and portals is a pOut of type ObjectArray. I am also using feranti's for-loop style

Wink

void main()
{
    ObjectArray ents;
    bc.FillObjectArrayByType(ents, CKCID_3DENTITY, false, scene);
    int count = ents.Size();
    Entity3D ent = NULL;
    portals.Clear();
    for(int i=-1; ++i<count;)
    {
        ent = Entity3D.Cast(ents[i]);
        if( and(ent.GetFlags(), CK_3DENTITY_PORTAL) )
        {
            portals.PushBack(ents[i]);
        }
    }
}

Bookmark and Share: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Technorati
  • Digg
  • Reddit
  • Google Bookmarks
  • YahooMyWeb
  • Live-MSN
  • Facebook

Friday, 21st July, 2006

And more violence …

Filed under: Planet Earth: Society And Politics — dominique @ 12:07

I don’t know how one can justify the death of many children with the kidnapping of 3 soldiers. I don’t know why one declares the intention to bomb a country, that just got a new freedom and needs time develop, back into the state it was 50 years prior as ’selfdefending act’.

In addition to that, I am very shocked and sad that Germany again is playing an evil role by providing states in war with military high tech. At the end of the 90ies germany delivered 3 submarines of type "Dolpin" to Israel nearly for free. Basically already these ones could be loaded with long-range rockets with nuclear heads. Now Germany again is going to deliver high-tech submarines: this time even with very innovative engines. And also this time the german tax payer is going to sponsor it - one third of the 1 billlion EUR that these two new submarines are going to cost.

(In germany, recently some towns increased their university fees for students. For those not having the familiy help, studying will get hard with more time invested in part-time jobs to finance the studies. The increase of fees is justified by saying that germany has no money anymore. No wonder!)

Especially with the cruel german history, germany shouldn’t be allowed to export any military items or tech. Normally the german government should feel obliged to speak out against violant and illegal acts wether they are done by the USA (who helped freeing germany from the Nazis) or Isreal (which have been such a big victim of Nazi Germany). No country, no state no organisation is immune. The arrogance to be believe that one is immune and always right, doing the right thing, is fatal. Germany - especially the governmnet - has to learn that instead of agreeing to averything due the special relations, it should help other to see when their culture and civilation is in danger. And of course germany must stop producing weapons and must stop transforming their army from a defending unit to an intervention unit (which is the european tendency). 

Don’t you agree? 

Sources (german):
http://www.uni-kassel.de/fb5/frieden/regionen/Israel/u-boote2.html
http://www.tagesschau.de/aktuell/meldungen/0,1185,OID4969854_REF1,00.html
http://www.friedenskooperative.de/ff/ff03/5-53.htm
http://www.uni-kassel.de/fb5/frieden/themen/export/u-boote-israel.html

Bookmark and Share: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Technorati
  • Digg
  • Reddit
  • Google Bookmarks
  • YahooMyWeb
  • Live-MSN
  • Facebook

Saturday, 1st July, 2006

DomsInterfaceExtensions 2 beta 1 DLL for Virtools Dev 3.5

Filed under: Downloads, Virtools — dominique @ 01:11

Finally you can download and test it Smile

There's a read-me file with more details. Please be careful with the font manager - it can crash. Let me know how you crash it, so I can try to find the causes. Ops, forgot to mention in the read-me file that you can copy a color local-parameter and paste it onto the color controls of the font-manager.

DomsInterfaceExtensions 2 beta 1

Bookmark and Share: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Technorati
  • Digg
  • Reddit
  • Google Bookmarks
  • YahooMyWeb
  • Live-MSN
  • Facebook