Wavesets, can we play?

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.
User avatar
Aloys
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
MOULa KI#: 0
Location: France (GMT +1)
Contact:

Re: Wavesets, can we play?

Post by Aloys »

Are those similar to the pillar shadows in Tsogahl?
User avatar
boblishman
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
MOULa KI#: 0
Location: Spain

Re: Wavesets, can we play?

Post by boblishman »

so ... just so I dont spend a lot of time doing something I don't need to ... if i want to use the latest "nightly" plugin I have to go to every single material in my age and unclick the shadbuf button (and, beleive me, there are a LOT of materials in my age (in excess to 200) ... ?
when it comes to Age creation ... "DOH" seems to be my middle name...
Paradox
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada
Contact:

Re: Wavesets, can we play?

Post by Paradox »

yes, this has been the intended behaviour since version 1.0.0, but a bug prevented the shadows from being rendered.

It's fairly easy to write a quick Blender script to unset all materials.
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Wavesets, can we play?

Post by D'Lanor »

I see it now. Some objects have nice shadows but for most objects it doesn't do very much. I suppose we could leave Shadbuff enabled for a few select objects.

Edit: All is fine again. The waveset would not render because the objects shadows were taking up too much CPU. The Shadbuf fix worked fine and the wavesets look better now than before. :)
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
greendragoon
Posts: 280
Joined: Tue Oct 02, 2007 9:54 am
MOULa KI#: 3028557
Location: Stuck in Indiana because the cavern door is locked.
Contact:

Re: Wavesets, can we play?

Post by greendragoon »

Is there a reason you would need a dynamically generated shadow other than for objects that move?
Robert "greendragoon" Starbuck
As Long as there is MORE,
I will explore.
And as long as my Relto shelf is unfilled,
I will build.
Paradox
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada
Contact:

Re: Wavesets, can we play?

Post by Paradox »

no, it's mainly intended for animated objects or objects like Gira (which is entirely dynamically lit and where shadows cannot be done with vertex paint)
Nadnerb
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
MOULa KI#: 23247
Location: US (Eastern Time)
Contact:

Re: Wavesets, can we play?

Post by Nadnerb »

heh, looks like this all blew over before I got around to reading the forum again.

The attenDist fix was not what fixed the shadowcasters, it was simply added because having large and/or non-ten attenDists in the shadowMasters caused severe clipping issues with shadows, and because every Cyan shadowMaster I've seen has had an attenDist of 10. The change that fixed the shadowCaster was changing the way it was referenced in the sceneObject.

Now that we do have shadows, you will need to remember to turn off shadbuf in all your materials to prevent them from casting dynamic shadows just like your avatar does. Allowing everything to cast shadows will both look horrible, and bring graphics card to it's knees. If you have very large existing ages you will probably want a fast way to disable this property on all your objects. This can be done with a simple script.

Code: Select all

matList = Material.Get()
for mat in matList:
   mat.mode = mat.mode & ~Material.Modes["SHADOWBUF"]


For those who don't know, you can execute python by typing it into blender's python console widget, which is available from the scripts window. (Scripts > System > Interactive Python Console)

Also, since this was brought into question: object shadows are useful already, because we do in fact have moving objects. Kickables.

Edit: And for those that don't want to type that out.. (hopefully nobody :?) you can drop this in your blender scripts directory and select it from (Scripts > Materials > Clear Shadbuf)
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
User avatar
andylegate
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am
MOULa KI#: 0

Re: Wavesets, can we play?

Post by andylegate »

Just tried it both ways, and sorry. Shadows is still enabled on all my materials. I guess I'll have to manually undo them.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
Nadnerb
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
MOULa KI#: 23247
Location: US (Eastern Time)
Contact:

Re: Wavesets, can we play?

Post by Nadnerb »

Uhm, no, this should work. I've tested it. (because I have several large ages I had to fix with this :?) Are you looking at "Shadbuf"? This does NOT change the "Shadow" button, it changes the "Shadbuf" button.
Shadbuf.jpg
Shadbuf.jpg (18.14 KiB) Viewed 4372 times
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
User avatar
andylegate
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am
MOULa KI#: 0

Re: Wavesets, can we play?

Post by andylegate »

No,...I was not looking at the right button ....YYYAAAWWWNNN. Mainly because it's 1:30 am here......and yes it did work, thanks......

Would like to try this, but reading is good enough for now. I'm still fighting my buttons......night all.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
Post Reply

Return to “Plasma Development”