Joachim Diepstraten wrote:

> I partly agree and disagree. A big problem coming with Java3D is you don't
> know when rendering is actually done. Okay byRef is nice for changing
> geometry but still I've got very interesting flickering effects while
> changing camera and byRefs Geometries at the same time inside of a
> Behaviour node on a frame/frame basis. (Changing only one alltough doesn't
> result into flickering [however knows why])

Have a look back through the archives. That's a bug in the current stuff
to do with the order you are doing things. IIRC if you write the code to
change the view transform and then do updateGeometry everything works
out correctly. IIRC(2) there's a fix for that in the 1.3beta2 code.

> And other things like multi
> pass  rendering is nearly completly out of the way in retained mode. At
> least I  haven't found a solution which would satisfy my needs.

Yes. Agreed. That is something that would be nice to have. I forgot
about that. I think with a couple of simple API calls added to canvas or
maybe View, you could be able to add multipass rendering.

Just off the top of my head (ie I don't know how workable this really
is, but it is just some ideas), you would need some methods like this:

- void setMultipassRender(int numPasses)
- void preMultipass();
- void postMultipass();

Probably put these on Canvas3D to replicate the pre/postRender() calls,
as done per frame. The semantics would be that if numPasses > 1 then
behaviours are executed during the mutlipass processing, but don't take
effect in the rendered scene until after the current multipass has
finished. pre & postRender() are called at the start of each pass.

> Orderedgroups are nice but still don't work out if you want to change
> states/materials or other things between passes. The only way to solve
> this would be to fire up the memory usage by adding more objects from the
> same Shape3D.
>
> EOF,
>  J.D.
>
> --
> Explore SRT with the help of Java3D
> (http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski)
> (http://www.antiflash.net/java3d/relativity (mirror)
>
> ===========================================================================
> 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".
>
>



--
Justin Couch                         http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler              http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                               - Greg Bear, Slant
-------------------------------------------------------------------

===========================================================================
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