FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Tools
(Moderator: REAS)
   loading external 3D models
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: loading external 3D models  (Read 1756 times)
elout

12747371274737 WWW
loading external 3D models
« on: Sep 17th, 2003, 8:26pm »

Today I had my first little experiment, loading external 3D - data files
 
I saved a basic model in the .ase format.
Then I encountered some problems, like the 3D-file used tab and spaces all together. So it was rather difficult for me sorting out doing splitString(yourstring, '\t'); on tabs, and after that doing a second splitString(yourstring); on just spaces. Gettin errors etc.
 
Anyway for now, I got rid off all the tabs, using my favourite text-editor that can do search-and-replace 'in a jiffy'.
 
And I learned today that you can`t compare string in java like this;
if ( llist[j] == "*MESH_VERTEX" )
 
For strings you have to use;  
if (llist[j].equals("*MESH_VERTEX"))
 
Anyway here is my first experiment;
http://www.xs4all.nl/~elout/proce55ing/meshtest02/index.html
 
And a second experiment, using a quick and dirty lightning enhanced, because lights() doesn`t have a big contrast;
http://www.xs4all.nl/~elout/proce55ing/meshtest03/index.html
 
For me know it`s interesting (and in the future), loading external 3D data-models into p5
without a problem, .ase / .obj / .vrml / etc. And I praise the p5 team for the great software z-buffer already provided, although somewhere in the future an openGL hack should be nice as well.
 
REAS


WWW
Re: loading external 3D models
« Reply #1 on: Sep 17th, 2003, 10:05pm »

well i was wondering when i'd see my first teapot in processing. amazing. there was a thread about nine months ago where people were discussing different types of models and which would be best for processing to load. you've cut through the discussion and implemented one.  
 
the opengl hack is in progress, but it's a secret.  
 
seb

WWW
Re: loading external 3D models
« Reply #2 on: Sep 22nd, 2003, 5:21am »

Yum!
 
madmerv
Guest
Email
3d model file converter (free!)
« Reply #3 on: Nov 12th, 2003, 9:41pm »

http://www.3dlinks.com/LinkSender.cfm?ID=1290
 
for windows
 
forkinsocket

forkinsockt WWW
Re: loading external 3D models
« Reply #4 on: Dec 14th, 2003, 8:37am »

Simon Greenwold also has some good looking object importing examples on his syllabus site for the Model-Based Design course at Yale Arch.
http://www.architecture.yale.edu/872a/
 
Update: ooh. This object import is a feature of MultiProcessing, an extension of Processing. This looks great.
« Last Edit: Dec 14th, 2003, 8:43am by forkinsocket »  
elout

12747371274737 WWW
Re: loading external 3D models
« Reply #5 on: Dec 14th, 2003, 6:37pm »

Well after this topic I posted another one called;
Topic: 3D object loader part II
http://proce55ing.net/discourse/yabb/board_Tools_action_display__num_1064769053.html
 
This loads a 3D obj file and it`s texture.
 
Pages: 1 

« Previous topic | Next topic »