TwelvestoneFlash

map text to a sphere


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
JLM
 
2008-07-11

Ideas... approaches I fear pv may not be sharp enough, pixels maybe too heavy as needs to be decent size and I need a mapping equation, bumpmapping too shallow? five3D not sure I can curve text sperically. Anyway ideas needs to be created at runtime and I dont have a hugh amount of time to play.

pyrogen
 
2008-07-12

displacement map?

Arsis
 
2008-07-15

Originally posted by: pyrogen displacement map?

++

Perhaps check out some of the QTVR engines out there (Andre Michelle's comes to mind).

JLM
 
2008-07-16

I spent awhile reserching and felt a cube to sphere approach might work well, http://mathproofs.blogspot.com/2005/07/mapping-cube-to-sphere.html

Prob can be applied to a cube...

private function cubeToSphere( point:Number3D ):Number3D {

var x:      Number = point.x;
var y:      Number = point.y;
var z:      Number = point.z;

return new Number3D(
                        x*(Math.pow( (1 - y*y/2 - z*z/2 + y*y*z*z/3 ),0.5 )),
                        y*(Math.pow( (1 - x*x/2 - z*z/2 + y*y*x*x/3 ),0.5 )),
                        z*(Math.pow( (1 - y*y/2 - x*x/2 + y*y*x*x/3 ),0.5 ))
                    )

}

Just have to take some time to try it.

but will look at QTVR, thanks.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

map text to a sphere