Loading...
Logo
Processing Forum
Hi,

Is it possible to render processing sketch changing geometry with renderer that could at least give
simple Global Ilumination effect like v-ray.

Maybe I have somehow export changing geometry and put it to 3ds max or Maya?

Is there a fast way to render geometry in a nice a way?

I saw  octane render connected with processing.

I really need a good advice from you how to render a sequence of changing geometry...

Thank you in advance:)

Replies(7)

If you want to output what is going on in your sketch to Maya you will have to look into MEL Script. You'll make whatever you want in Processing, create an output file that is writing down what is happening in MEL Script, and then upload the MEL Script to Maya.

I have not done this in a long time, but I think I remember having to keep track of my geometry as either triangles or 3D primitives depending on what environment it would be imported to.
Hi asimes,

Thank you for your reply.

Maybe you have some references how to do that?
Moved from Programming Questions. Again, please, read and follow the Processing forum guidelines. Thanks.
The suggestion is (as far as I know) a hack I made up. What I did was learn the bare minimum of MEL required first. A google search pulled this up:  http://www.webdesign.org/3d-graphics/tutorials/introduction-to-mel-scripting.3389.html

Then I used saveStrings() ( http://processing.org/reference/saveStrings_.html ) whenever I executed an "action" in my Processing sketch. What I saved to a text file was the MEL interpretation of what had happened.

For example, if you wanted to make a cube and then have it move you would use saveStrings() to:
- Create a cube (in MEL)
- Relocate the cube (in MEL) whenever it moves in your Processing sketch
- Change the current key frame (in MEL)
There are many options, search the forum and libraries section.

There are different sunflow options, a pov-ray route and a hemesh-to-embree solution.

If you are still working in toxiclibs, know that this library has an STL export option as well.
As far as I know, in processing 2.0 you cannot export to STL format.

But, yes now I work with toxi and verletphysic.

I exported .DXF files every frame, the file number is equal to the frame number.

So now I have a bunch of files, is it possible to make animation from them. What program can it handle?
Amnon.owed maybe you have a direct link to some kind of 3D program?
For Toxiclibs STL export see: http://toxiclibs.org/docs/core/toxi/geom/mesh/STLWriter.html

I have never worked with DXF so I can't help you with that.