Results 1 to 2 of 2

Thread: only half of the story

  1. #1
    Registered User wingwalker's Avatar
    Join Date
    Oct 2003
    Location
    Channel islands
    Posts
    271

    only half of the story

    ok...im nearly done with my first Lscript...all was going well, everything works as planned.

    Except that my random points generator will only put points on one side of my goemetry???? see pic

    FYI there are 65025 points in my landscape which pntCnt confirms back to me, so it can see all the points.


    pntCnt = pointcount(); // how many points in the landscape, current layer
    randompoint = random(0,pntCnt); // generates random number
    myPntPos = pointinfo(points[randompoint]); // get point coordinates from random point

    after this i then copy the geometry from the background layer and paste into the next available layer, then

    move(myPntPos);

    any ideas...

    Rob T
    Attached Images Attached Images

  2. #2
    Registered User wingwalker's Avatar
    Join Date
    Oct 2003
    Location
    Channel islands
    Posts
    271
    aaahhhhhh...I think I may have found the problem!!!

    The land object was imported from Terragen. I have since tried it with a lightwave made terrain and all is well.

    If i find that the problem shows up again I will ask more questions.

    Rob T

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •