PDA

View Full Version : Objects as Hypervoxels?



Pumpkin King
12-29-2007, 04:23 PM
How do I use my own objects as hypervoxels? Or can I even do that? I'm trying to make coffee beans fall from the sky... can I make my own (hypervoxel) presets?

Pumpkin King
12-29-2007, 05:05 PM
ok ok ok... after a little further digging I found this http://www.newtek.com/lightwave/tutorials/animation/fx-linker/index.html

What I'm trying to do now is have the coffee bean arrange in a specific shape on the ground...

Mr Rid
12-29-2007, 07:19 PM
ok ok ok... after a little further digging I found this http://www.newtek.com/lightwave/tutorials/animation/fx-linker/index.html

What I'm trying to do now is have the coffee bean arrange in a specific shape on the ground...

Not exactly sure what you are going for, but may use a collision object set to 'attract' to draw particles into a pattern.

Example- http://www.box.net/shared/static/5fqsftydcw.mov
Here I have two groups- one dealing with the first emitter attracted to the disc at bottom and the second emitter attracted to the sphere at right.

A collision sphere object is set to
Type= Obj Subd,
Mode=attract,
appropriate radius,
Bind power=100,

and then there must also be a clone of the collision sphere set to Mode=Stick,
Bind=100,
radius=0,
Fix power=1.

The first sphere attracts the particles, and the second one makes the particles adhere to the shape of the sphere. The same setup for the disc group. However, PFX behavior is ever wonky. I had ot caclulate to get the sphere group to work right, but this would make the disc group particles do odd things. So I first bake the sphere particles, then you have to re-enter a value to get the disc group particles to 'uncalculate' like re-enter the birth rate for the emitter or re-enter the radius of a collision object. Then the disc group particles behaved more desirably without calculation. Then you I could bake those separately. May play different modes, friction, bind and fix values.

I wish LW allowed for multiple Modes on a single object and particularly multiple groups per object. Actually exclusions (like in the light properties) would be more versatile than having to dick with groups. If you use groups, remember that any item under 'default' will affect all other groups. But currently, I wind up resetting up groups as the scene grows in complexity and having to clone collisions and emitters everywhere with different settings in order to get one behavior to appear to occur.

SplineGod
12-30-2007, 12:12 AM
Usually what I do is to create a point cloud in modeler with the shape as a morph target. Then I can use the normal displacement plugin or nodal to control the morph using a texture. Hypervoxels can be applied to the vertices in the point cloud. Heres an example:
http://www.3dtrainingonline.com/examples/morph_text.mov

Pumpkin King
12-30-2007, 09:17 AM
So far... what I've done is created 2d geometry of the shape I wanted. Then, made that shape an emitter... that is working pretty good... however, I found that I need to create 2000+ beans which is really bogging down my computer and has actually crashed lightwave once or twice. 2000 also seems to be the limit of objects I can create in a scene? Can anyone confirm that?

Thanks for your help so far :)

evenflcw
12-30-2007, 02:25 PM
Jason, you can change the MaxObjects variable in the Preferences>Defaults panel (LW9) or by editing LW8.cfg file.

But perhaps if your system boggs down already it might not help much. Perhaps you should try something else!? If you use Splinegods suggested method you could keep all the beans in one layer (use PointClonePlus or somesuch to clone a bean to each point in the pointcloud) and then displace each bean using HardLink instead of cloning +2000 items. Perhaps/Likely LW will displace one big mesh faster than it moves +2000 items. Check one of Protons videos how to setup hardlink if you don't know how already (or consult manual).

Pumpkin King
01-02-2008, 01:27 PM
Thanks everybody... I'm still kinda scratching my head but it's a work in progress... even after getting the desired grouping, once I added the shadow and reflections it's just waaaay too much for my computer to handle... maybe the concept needs some refinement anyway (c: Thanks again!

evenflcw
01-02-2008, 02:21 PM
What camera are you using? If the Classic, maybe try Perspective (LW9)?

Mr Rid
01-02-2008, 09:49 PM
So far... what I've done is created 2d geometry of the shape I wanted. Then, made that shape an emitter... that is working pretty good... however, I found that I need to create 2000+ beans which is really bogging down my computer and has actually crashed lightwave once or twice. 2000 also seems to be the limit of objects I can create in a scene? Can anyone confirm that?

Thanks for your help so far :)

Again, I dont know your specific goal but you may also use bean images or sequences mapped on sprites instead of using actual geometry that may bog the scene. Example- here are about 10,000 emitted 'oats' that are all sprites. http://www.box.net/shared/static/r8ymb6o4sq.mov

May also consider the HD Instance plugin to avoid geometry bog.
http://www.happy-digital.com/instance.asp