Page 1 of 1

Creating 3D object using Magic

Posted: Tue Nov 01, 2016 5:03 pm
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

Re: Creating 3D object using Magic

Posted: Tue Nov 01, 2016 6:59 pm
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.

Re: Creating 3D object using Magic

Posted: Wed Nov 02, 2016 3:40 am
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 :).

Re: Creating 3D object using Magic

Posted: Wed Nov 02, 2016 8:55 pm
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

Re: Creating 3D object using Magic

Posted: Thu Nov 03, 2016 4:08 pm
by blackdot
or create 3d assets beforehand with blender. blender.org

Re: Creating 3D object using Magic

Posted: Sun Nov 06, 2016 8:43 pm
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 :)