Skip to content

unic8 Studios

Documentations Tutorials FAQs Links Advanced search
You are here:
3D spectrum
Wednesday, 25 July 2007
I decided to combine my first steps on Papervision3D with my latest experiments. The result is a 3D visualization of the sound spectrum. At first my idea was to use a fixed texture (material) but it expands itself to fit to the assigned face. That's why it uses a coloring function to tint the cubes at their amplitude. To do an flight around the scene I choose the Tweener class for smooth bezier moves.
  • Use the "Mouse control" to change the view angle of the camera
  • The "Auto-Flight" moves the camera around the scene and back to the start position.
Trackback(0)
Comments (9)add comment

Carlos said:

 
Awesome!!!

It's really great. Good Job.
However check the songs change button, as it is giving an AS error.

Brgds,
CP
2007-07-25 12:19:55 | url

erik said:

 
Hi Carlos, thanks for the note! Fixed it... (1 song required separate cross-domain file) smilies/wink.gif
2007-07-25 17:29:25

abraham said:

 
Love the demo, it's inspiring me to delve more into Papervision 3d. BTW, what songs are you usiing?
2007-07-25 19:55:02

erik said:

 
Hi Abraham,

thanks! I'm using "free" songs from http://ccmixter.org (a project of Creative Commons). The provide a cross-domain file so Flash is able to load them direct. The first song is called "TO JA" (http://ccmixter.org/media/files/wuszu/935).
2007-07-25 20:29:09

Dragonfly said:

 
Excellent. More than impressive, illuminating. Inspiring.
2007-08-17 05:32:04

ray said:

 
Cool. I would like to use papervison for the redesign of my band cousin's site.

this is the original .

http://www.cousinmusic.com

-here is the test redesign.
http://www.cousinmusic.com/newCuzz/Cuzz.html

The background are just random flvs of fractal calculations that were rendered in other programs. I would like to create my own in papervison, but have very little 3d experience.

How would I begin to do something like your 3d spectrum?

and what is the title of that song about the cuckoo. It's brillaint.

thanks,
ray...
2007-10-19 18:18:43 | url

erik said:

 
Hi Ray,

How would I begin to do something like your 3d spectrum?

This is a good question... I did my first steps with Papervision3D by reading the documentation and inspecting some of the great examples which are distributed along the source code of PV3D. It isn't that hard to start when you just got some solid ActionScript basics.
If you know the Fuse Kit (http://www.mosessupposes.com/Fuse/) you should be also very familiar with the Tweener class. I just used this one because Fuse isn't AS3 ready yet.
2007-10-23 09:12:39 | url

ray said:

 
thanks. I actually started over the weekend playing with papervison. It's awesome. Now I have to learn actionscript 3.0 and I'm only intermediate scripter for 2.0. whew!

I have found out how to import a few obj. files and rotate them, but I need to work on the camera controls. I wanted to know if there are any tutorials about adding a real interface along with the 3d controls. Anyway your work and the music is really insipring.

thanks.

ray....
2007-10-23 17:59:43 | url

erik said:

 
HI Ray,

AS3... on the one hand it makes the developer in me very happy and on the other hand it angers the Flasher in me. AS3 is definitely the right way to push Flash into but most users have to learn how to code "strict".

I have found out how to import a few obj. files and rotate them, but I need to work on the camera controls


Sounds good! The most important thing is that you need to know the differences between the 2 camery types: Camera3D and FreeCamera3D. None of them is dispensable but you have to choose the corect one for you purposes.

Camera3D is always focused to a specified point and rotates around them when you modify angles.

FreeCamera3D is loose and so you can do whatever you want but it's much more tricky to use this one and rotate around an object.

One very cool feature (method) which both types support is "lookAt". With a simple call you can focus the camera on a specified object.

Good luck!
2007-10-23 19:00:37 | url

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley

security image
Write the displayed characters


busy
 
< Prev   Next >