It is currently 24 Jun 2017, 02:08

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Mitsuba Exporter
PostPosted: 18 Dec 2012, 06:00 
Offline
User avatar

Joined: 06 Jun 2011, 16:00
Posts: 316
Had some requests to see screenshots of the features that are in progress..so here goes.

ICE Segment (Mitsuba Hair Shape)

Image

Polygon Mesh (Mitsuba Serialized Shape)

Image

ICE Point Cloud (Mitsuba Intersection Primitives)

Image

ICE Point Cloud Instances [Mesh & Model] (Mitsuba ShapeGroup & Instance Shape)

Image


Last edited by TwinSnakes007 on 26 Dec 2012, 04:51, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Mitsuba Exporter
PostPosted: 18 Dec 2012, 13:12 
Offline
User avatar

Joined: 09 Jun 2009, 14:49
Posts: 487
Location: London, UK
oh! very good. is it possible to export volumes from Softimage for Rendering with this yet?

_________________
Gossip is what no one claims to like, but everybody enjoys.


Top
 Profile  
 
 Post subject: Re: Mitsuba Exporter
PostPosted: 18 Dec 2012, 17:05 
Offline
User avatar

Joined: 06 Jun 2011, 16:00
Posts: 316
Tekano wrote:
oh! very good. is it possible to export volumes from Softimage for Rendering with this yet?


Volumes will require a bit more effort and are low on the TODO list right now.


Top
 Profile  
 
 Post subject: Re: Mitsuba Exporter
PostPosted: 18 Dec 2012, 17:29 
Offline
User avatar

Joined: 09 Jun 2009, 14:49
Posts: 487
Location: London, UK
ah thats a shame, was the only reason this renderer looking interesting to me. Is it possible to define geometry as a mitsuba 'shape' then export this ? perhaps I could then hand crank an xml file to render with these shapes as boundaries for the participating media shaders. some really interesting light and scattering phase functions are included with this renderer http://www.cs.cornell.edu/projects/stitchmeshes/

cheers!

**edit - oh I see your second example picture this is what you are doing! nice one, so I gather this functionality is not available yet **

_________________
Gossip is what no one claims to like, but everybody enjoys.


Top
 Profile  
 
 Post subject: Re: Mitsuba Exporter
PostPosted: 18 Dec 2012, 18:08 
Offline
User avatar

Joined: 06 Jun 2011, 16:00
Posts: 316
Tekano wrote:
Is it possible to define geometry as a mitsuba 'shape' then export this ?


Defining 3D Volume data sets is an advanced feature. I need to add support for defining and exporting Shaders, Lights, Cameras, and Integrators first.

You can do the basic 'fog' type stuff by hand using the Homogeneous medium. Just define the medium and put stuff inside it by referencing the medium in all the scene objects.

Code:
<medium type="homogeneous" id="fog">
..some settings...
</medium

<sensor>
...some settings...

<!-- Put camera inside of fog -->
<ref id="fog" />
</sensor

<emitter>
..some settings...

<!-- Put light inside of fog -->
<ref id="fog" />
</emitter>

.etc, .etc.


Top
 Profile  
 
 Post subject: Re: Mitsuba Exporter
PostPosted: 18 Dec 2012, 18:21 
Offline
User avatar

Joined: 09 Jun 2009, 14:49
Posts: 487
Location: London, UK
yup thats what I was going to try first, thanks for reminding me about this great renderer and also for attempting to do the XSI exporter, am very grateful. will post pics if I get any success.

_________________
Gossip is what no one claims to like, but everybody enjoys.


Top
 Profile  
 
 Post subject: Re: Mitsuba Exporter
PostPosted: 20 Dec 2012, 07:50 
Offline
User avatar

Joined: 06 Jun 2011, 16:00
Posts: 316
ICE Particle Instancing

Got simple instancing working where the particle shape reference is a polygon mesh. Tomorrow I'll work on hierarchical instancing, where the particle shape reference points to a model that has (n) number of polygon mesh children underneath it.

EDIT:
Made some progress last night on supporting model instancing. Should be able to commit something tonight and show some screenshots.

EDIT (10/25/2012)
Since SI doesnt keep a list of referenced objects and after talking with Wenzel J. (creator of Mitsuba), I'm going to have to restructure the export once again to be able to handle Instancing.


Top
 Profile  
 
 Post subject: Re: Mitsuba Exporter
PostPosted: 26 Dec 2012, 04:57 
Offline
User avatar

Joined: 06 Jun 2011, 16:00
Posts: 316
Finally got instancing working (with help from Wenzel Jacobs [Mitsuba creator]). The exporter now supports Model instancing as well.

Next up is fleshing out the recent Shaders that where added, and then Shader export.

-TS-

EDIT (10/27/2012)
After some testing, I'm really not happy with the increased export time. Gonna have to rework somethings to get the timings more acceptable.


Top
 Profile  
 
 Post subject: Re: Mitsuba Exporter
PostPosted: 29 Dec 2012, 06:10 
Offline
User avatar

Joined: 06 Jun 2011, 16:00
Posts: 316
Tekano wrote:
oh! very good. is it possible to export volumes from Softimage for Rendering with this yet?


Welp, here ya go. It only took me a couple hours....and this is just a proof of adherence to the file format....Mitsuba 3D Volume Grid Shape.

Image


I generated the point data using a simple procedural formula. But it all works, and lends itself to being "ICE Data" friendly.


Top
 Profile  
 
 Post subject: Re: Mitsuba Exporter
PostPosted: 05 Jan 2013, 06:28 
Offline
User avatar

Joined: 06 Jun 2011, 16:00
Posts: 316
Mitsuba Shader Support

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group