is it possible to use Nxogre to simulate trees' movement ?

sunrisefe

17-04-2009 13:42:59

I dont know whether it is possible to simulate trees' movement in wind with Nxogre?
For example, appoint certain wind (force and direction) to certain branch and make the branch sway. Just take the wind and gravity into consideration, and let the Nxogre compute the branches' swaying. Is it possible or any suggestion? Thank you.

betajaen

17-04-2009 14:35:14

I imagine it would be possible but difficult in practise to implement to simulate one tree; either using softbodies, or actors/joints but many trees would be too stressful for PhysX to work with.

I would recommend not using a physics engine; but look into animation, shaders, or how speedtree does it.

sunrisefe

18-04-2009 01:39:54

I would recommend not using a physics engine; but look into animation, shaders, or how speedtree does it.

Thank you very much. Then I will refer to animation, shaders and study how speedtree does.

alienskull

18-04-2009 02:08:50

:idea: you could use cloth to simulate large tropical like leaves, similar to what is done in crysis.... and apply wind to them and you will get motion even though you trunk isnt moving... just a thought

sunrisefe

18-04-2009 02:18:04

:idea: you could use cloth to simulate large tropical like leaves, similar to what is done in crysis.... and apply wind to them and you will get motion even though you trunk isnt moving... just a thought

Yeah, use cloth to simulate leaves, sound a good idea. Then, will you show me some example or toutorial. You mean use the principle relative to cloth?

betajaen

18-04-2009 10:02:32

I've seen the effect with soft bodies too. PhysX even has a demo a palm tree, but I still think it's to stressful on the solver.

sunrisefe

19-04-2009 02:43:29

I dont catch you exactly.I've seen the effect with soft bodies too.
Do you mean use soft bodies to simulate soft body such as cloth, liquid? Or use soft body to simulate other object such as leaves, just lend the idea of soft object's simulation method?

betajaen

19-04-2009 09:43:10

No; I meant there is a demo that comes with PhysX that has a Palm tree that is turned into a soft body. The effect is quite interesting, but the trunk is part of the soft body too it tends to have the effect that the tree is made out of rubber.

sunrisefe

19-04-2009 10:59:35

I see, Thank you.