A Flash Developer Resource Site

Results 1 to 15 of 15

Thread: Stretching a grid around a sphere...

Hybrid View

  1. #1
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,377
    Thanks to everyone for the very wordy posts. I appreciate the enthusiasm. :P

    Wouldn't it kill the player to loop through 100+ segments on the face of the sphere and do a beginBitmapFill for each one? I'm beginning to believe that the simplest way to convert the 2d plane around the visible side of the sphere would be to use a DisplacementMapFilter to create the side of the "sphere" and then simply scroll the bitmap underneath.

    Also, someone mentioned looping. I was thinking of just creating a bitmap containing 4 of my current 2d plane in a square, and then doing basic boundary tests. Obviously the array looping would be a bit different (though I'd rather work with arrays than bitmapData ).
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  2. #2
    Zombie Coder EvilKris's Avatar
    Join Date
    Jun 2006
    Location
    Fukuoka, Japan.
    Posts
    796
    Geez those Andre Michelle demo's are fab. He's without a doubt the best Flash coder I've encountered so far.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center