I have a problem with Loader interface. I have just added particle
system to my loader. It works ok, but unfortunately it require view
transform to position particles perpendicular to screen. In my
application it is not a problem, because I just initialize static
variable in particle manager with pointer to viewplatform
transformgroup. But when some other application will use this code
through Loader interface, I cannot rely on it.

Question: Is there any way to get transform of current view, without any
pointers to canvas/view ? I have a behavior, which can have pointers to
all data loaded from file, but it has no idea about canvas/view setup.
How does OrientedShape work ?

If this could not be solved, I'll have to cut particles/emitter from
Loader interface and expose them only to people using my code directly
(so they can provide viewplatform pointer themselves). This is still not
so bad, as geometry and animation will be preserved, but...

BTW, example of model with particles -
http://nwn-j3d.sourceforge.net/ss/FireElemental.jpg
Of course it does not animate, but this fire is really burning and
looking almost real. When you leave only body, it looks... more like
magma golem. Still nice, but not awesome :)

Artur

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to