Previous topicNext topic

Creating 3D object using Magic

Questions, comments, feedback, etc.
Post Reply
petitpaul
Posts: 2
Joined: Tue Nov 01, 2016 4:52 pm

Creating 3D object using Magic

Post by petitpaul »

Hi everybody ! :D

I'm new here. I've been using Magic for my events and parties and this software is really cool. I've always wanted to have a soft like this.

By the way, i have a question.. It's for a furniture design project.

Do you think it's possible to create 3D object with sound using Magic ? :roll:

here's an exemple of what i want to do at 4:15 : https://www.youtube.com/watch?v=dnzGDaeRaZQ

Thanks everybody

Paul
artnik
Posts: 268
Joined: Tue Jan 05, 2016 5:33 pm

Re: Creating 3D object using Magic

Post by artnik »

I certainly think it's possible to display a 3D object made from sound in Magic, but not to create it without using a third party plugin, or writing your own ISF shader from scratch.
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Creating 3D object using Magic

Post by Magic »

I'm not sure if Magic is the best program to use for creating 3D objects that don't move :). But if you want to animate 3D objects, one way you can create complex designs is by loading primitive shapes into the Model module, and combining those shapes together to form bigger compound shapes.

For example, have a look at this tutorial, which has a couple projects you can download and play with: viewtopic.php?f=3&t=580. The projects are all created from one cube model.

Or, here's another one: viewtopic.php?f=3&t=174

Also, one of the really neat things about the Model module is that it supports objects in the NFF format: http://www.fileformat.info/format/nff/egff.htm. So, for example, to generate a sphere, all you have to do is create a text file ending in .nff which has this inside:

Code: Select all

s 0 0 0 1
This creates a sphere at position (0, 0, 0) with radius 1.

Here's an example of one file with two polygons:

Code: Select all

# triangle
p 3 
-1.000 1.000 0.000
-1.000 0.000 0.000
0.000 0.000 0.000

# square
p 4 
0.000 1.000 0.000
0.000 0.000 0.000
1.000 0.000 0.000
1.000 1.000 0.000
The "#" is for comment lines (not required).
"p" means polygon and "3" or "4" means the number of vertices to follow.
The vertices are then in x, y, z.

Cool eh? Of course, you can also use the Polygon module to make triangles and squares. But you can get fancier by adding more and more shapes, and more and more vertices.

Or if you want to get even fancier you can create shapes in Blender (https://www.blender.org/) and load them into Magic, but that's a little more advanced :).
tomwhite
Posts: 21
Joined: Mon Aug 24, 2015 10:03 pm

Re: Creating 3D object using Magic

Post by tomwhite »

Hi Paul,

if you want to have total freedom of creating 3D objects you could take a look at https://unity3d.com/
It has the possibilitie to use all kind of thinkable, interactive realtime input like sound, MIDI, OSC, Kinect, biometrical sensors, etc... to generate everythink you can dream of and route it via Spout or Syphon into Magic. It´s not the easiest route to take, but it´s feasable :-)

Have fun

Tom
blackdot
Posts: 528
Joined: Sun Jul 06, 2014 10:18 pm

Re: Creating 3D object using Magic

Post by blackdot »

or create 3d assets beforehand with blender. blender.org
petitpaul
Posts: 2
Joined: Tue Nov 01, 2016 4:52 pm

Re: Creating 3D object using Magic

Post by petitpaul »

hi all !

Thank you very much for your help ! it's really cool ! :D

i'm going to check all your stuff and try :)

best regards :)
Post Reply