Forums

You are not logged in.

#1 2012-08-09 08:06:23

ogre
Member
From: Poland
Registered: 2007-01-22
Posts: 575
Website

partio43delight - a tool to render particles

Hello
Encouraged by the partio and partio4maya projects I decided to come up with a small tool called partio43delight.
It is a renderman procedural loading particle caches with partio, and rendering them as RiPoints() primitive.
There's also a maya plugin that allows you to render partioVisualizers straight out of maya.

Take a look:
http://bitbucket.org/mfratczak/partio43delight
http://vimeo.com/47202017

The precompiled package can be downloaded here (tested under windows)
https://bitbucket.org/mfratczak/partio4 … _08_09.zip

The tool is in it's early days and needs testing and bugfixing - be warned.
I'm doing this in my spare time, but will try to fix and polish it in upcomming weeks.

Have fun and let me know if you find it usefull or hit a bug.

Last edited by ogre (2012-08-09 08:07:59)


- Michal

Offline

 

#2 2012-08-09 08:51:59

cleger
Member
From: Georgia
Registered: 2010-09-27
Posts: 192
Website

Re: partio43delight - a tool to render particles

This looks useful, I'll keep up with this (I know I'll need it eventually). Good work!

Offline

 

#3 2012-08-10 22:41:45

noizfactory
Member
From: Mumbai
Registered: 2007-12-10
Posts: 230

Re: partio43delight - a tool to render particles

Nice! Thanks Michal for sharing this. I have used partio4Maya as well and that's an excellent tool too. This is also a great addition to the partio toolset. Thanks again :)


--
Sachin Shrestha

Offline

 

#4 2012-08-10 23:38:59

noizfactory
Member
From: Mumbai
Registered: 2007-12-10
Posts: 230

Re: partio43delight - a tool to render particles

Changing the "Replicate" to anything besides 0 crashes renderdl. Guess its not supported yet.

EDIT : Just read the lines on your source page that these are unimplemented.

But the other parameters like radius, velocity scale work really nicely. I especially like the option of rendering as blobbies! Superlike :)

Another problem I'm coming across is while lighting the particles. I'm using the maya visualizer node and have added the light linking parameters to both the viz node and the light using the attribute node and object sets. Neither raytrace nor depth/deep shadow map seem to work.

Last edited by noizfactory (2012-08-11 00:01:14)


--
Sachin Shrestha

Offline

 

#5 2012-08-11 03:04:49

ogre
Member
From: Poland
Registered: 2007-01-22
Posts: 575
Website

Re: partio43delight - a tool to render particles

noizfactory wrote:

Another problem I'm coming across is while lighting the particles. I'm using the maya visualizer node and have added the light linking parameters to both the viz node and the light using the attribute node and object sets. Neither raytrace nor depth/deep shadow map seem to work.

Glad you like it :)
I'll try to provide example scene soon.


- Michal

Offline

 

#6 2012-08-13 15:53:37

borisb2
Member
Registered: 2010-06-01
Posts: 18

Re: partio43delight - a tool to render particles

very interesting .. will test it out. What particle caches is it reading in? ptc or RIB?

If ptc, how are you caching them out?

I just started to build a small pipeline around RIB-particles - but always would be more interested in ptc

Offline

 

#7 2012-08-14 01:19:05

ogre
Member
From: Poland
Registered: 2007-01-22
Posts: 575
Website

Re: partio43delight - a tool to render particles

It's based on Partio lib, so it reads what partio provides (https://github.com/wdas/partio/tree/master/src/lib/io)
I haven't tested it extensively, but I know BIN crashes partio, so avoid that one.
Unfortunatelly partio does not handle 3delight's PTC.
I'll have to run some tests to see which format is most efficient.


- Michal

Offline

 

#8 2012-08-15 12:28:48

ogre
Member
From: Poland
Registered: 2007-01-22
Posts: 575
Website

Re: partio43delight - a tool to render particles

ok, I added a simple particle multiplication option. This is very limited implementation with just constant radius. More is comming soon.
http://vimeo.com/47607165
http://bitbucket.org/mfratczak/partio43 … _08_15.zip

Last edited by ogre (2012-08-15 12:29:48)


- Michal

Offline

 

#9 2012-08-15 14:33:35

Delighter
Member
Registered: 2012-06-15
Posts: 42

Re: partio43delight - a tool to render particles

Woooo! The replication option is just what I need, going to try this out ASAP!
Thanks for developing this.

Offline

 

#10 2012-08-16 14:33:06

smallpixel
Member
Registered: 2007-02-14
Posts: 18

Re: partio43delight - a tool to render particles

Hello Guys,
any can help me out fixing this error please?


Loading C:/partio43delight_package/plugins/2012/partio43delight_maya
// Error: Unable to dynamically load : C:/partio43delight_package/plugins/2012/partio43delight_maya.mll
The specified module could not be found.
//
// Error: The specified module could not be found.
//
// Error: pymel.core : Failed to get command list from partio43delight_maya //
// Error: pymel.core : Failed to get depend nodes list from partio43delight_maya //
// Error: The specified module could not be found.
(partio43delight_maya) //


im using maya 2012 x64

Thanks

Offline

 

#11 2012-08-16 15:04:57

ogre
Member
From: Poland
Registered: 2007-01-22
Posts: 575
Website

Re: partio43delight - a tool to render particles

Apparently your system is missing some DLLs, zlib.dll or microsoft redistributable DLLs.
Try installing those and let me know.


- Michal

Offline

 

#12 2012-08-16 16:33:51

smallpixel
Member
Registered: 2007-02-14
Posts: 18

Re: partio43delight - a tool to render particles

i installed them ,and still getting the same error ,

any links i could follow to make sure i install the right things?

Thanks Michal

Offline

 

#13 2012-08-17 00:47:46

ogre
Member
From: Poland
Registered: 2007-01-22
Posts: 575
Website

Re: partio43delight - a tool to render particles

smallpixel wrote:

i installed them ,and still getting the same error ,

any links i could follow to make sure i install the right things?

Thanks Michal

I'll have to get some 'fresh' machine to make sure installation is smooth and easy ...
If you don't want to wait, you can use http://www.dependencywalker.com/ to check what DLLs are missing, and put them intoC:\Windows\System32


- Michal

Offline

 

#14 2012-08-17 05:05:37

Delighter
Member
Registered: 2012-06-15
Posts: 42

Re: partio43delight - a tool to render particles

I tried it out, cool stuff!
I have two questions

1. Is it possible to assign materials onto the particles?
2. How does one get shadow on the particles? I managed to get them to cast shadows on the ground plane, but not themselves.

Offline

 

#15 2012-08-18 12:00:40

smallpixel
Member
Registered: 2007-02-14
Posts: 18

Re: partio43delight - a tool to render particles

Hi Michael,
i was able to load the plugin in maya ,i found the missing dll  .and it worked,

i have tryed to render some simple rib files but renderdl kept on erroring with this message
# Rendering 3delightScene.rib ...
3DL ERROR A2011: RiProcDynamicLoad: 'partio43delight_procedural' is not a shared
library (system error: A dynamic link library (DLL) initialization routine fail
ed.)

im trying to render a prt file,
im using 3delight 1.0.50 x64

any help would be much appreciated

Thanks
Saber

Offline

 

#16 2012-08-20 09:26:42

ogre
Member
From: Poland
Registered: 2007-01-22
Posts: 575
Website

Re: partio43delight - a tool to render particles

Delighter wrote:

I tried it out, cool stuff!
I have two questions

1. Is it possible to assign materials onto the particles?
2. How does one get shadow on the particles? I managed to get them to cast shadows on the ground plane, but not themselves.

You can assign an external (sdl) shader through 3delight relationship editor.
Try standard plastic shader to get selfshadowing.


- Michal

Offline

 

#17 2012-08-20 09:38:25

ogre
Member
From: Poland
Registered: 2007-01-22
Posts: 575
Website

Re: partio43delight - a tool to render particles

smallpixel wrote:

Hi Michael,
i was able to load the plugin in maya ,i found the missing dll  .and it worked,

What DLL was that? zlib.dll ?

smallpixel wrote:

i have tryed to render some simple rib files but renderdl kept on erroring with this message
# Rendering 3delightScene.rib ...
3DL ERROR A2011: RiProcDynamicLoad: 'partio43delight_procedural' is not a shared
library (system error: A dynamic link library (DLL) initialization routine fail
ed.)

According to docs:
A2011 RiProcDynamicLoad: ’libname’ is not a shared library (system error: syserror)
Search paths may be in incorrect order or the file is corrupted.

Are you sure the dll is in searchpath defined in rib/renderpass ?
Today I checked it on other machine, and it worked OK...

Let me know :)


- Michal

Offline

 

#18 2012-08-20 12:08:35

smallpixel
Member
Registered: 2007-02-14
Posts: 18

Re: partio43delight - a tool to render particles

All sorted now ,

thanks for help Michal

Offline

 

#19 2012-08-21 01:28:46

Delighter
Member
Registered: 2012-06-15
Posts: 42

Re: partio43delight - a tool to render particles

Cheers Ogre!

It works :)
Will there be support for hypershade shaders in the future?

Thanks.

Offline

 

#20 2012-08-21 01:55:59

ogre
Member
From: Poland
Registered: 2007-01-22
Posts: 575
Website

Re: partio43delight - a tool to render particles

Delighter wrote:

Cheers Ogre!

It works :)
Will there be support for hypershade shaders in the future?

Thanks.

Latest partio4maya is implemented as shape, instead of locator, so it should work.
But this depends not on me :)


- Michal

Offline

 

#21 2012-08-21 06:27:56

Delighter
Member
Registered: 2012-06-15
Posts: 42

Re: partio43delight - a tool to render particles

Ok, I'll just have to test some more then.
Thanks for your efforts!

Offline

 

Board footer

PunBB is © Copyright 2002–2005 Rickard Andersson

You are here: Resources » Forums
Follow us on Twitter
© 2006-2011 dna research. All Rights Reserved.
Trademarks & Copyrights Notices