You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by DanielMcQ <da...@mcquilleninteractive.com> on 2014/12/19 00:17:52 UTC

How to approach multiple 3D renderings using Stage3D

Has anybody tackled the issue of rendering 4 or 5 or so 3D objects (each as a
separate "view") and showing them all in a grid for easy visual comparison?
(e.g. showing buildings with different configurations of windows.)I used to
do this on the displayList with the old Papervision and Away3D libraries.
This was reasonably fast and pretty easy to integrate into Flex.
<http://apache-flex-users.2333346.n4.nabble.com/file/n9258/Screen_Shot_2014-12-19_at_10.png>
Now all the 3D libraries focus on Stage3D, but it's not obvious how to
handle rendering multiple 3D objects quickly in this kind of situation. I
think only 4 or so instances of Stage3D can be created, but that's expensive
and perhaps not a good approach given my initial tests. I could line up all
my models in one 3D space, but then I would need as many cameras and a way
to show only the immediate target for each. Integrating Stage3D into Flex as
a simple, flexible visual component isn't as obvious to me, either.Perhaps
I'm going about this the wrong way, or not seeing an obvious solution.
Thanks in advance for any thoughts!



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/How-to-approach-multiple-3D-renderings-using-Stage3D-tp9258.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: How to approach multiple 3D renderings using Stage3D

Posted by DanielMcQ <da...@mcquilleninteractive.com>.
Thanks for your response, Simonas. I'll probably try what you suggested. In
my ignorance I tried four instances of Stage3D, which didn't go over well.
I'm assuming if I use one instance with four cameras, there's a way to hide
the other shapes, or perhaps just position them far enough apart there's no
chance of overlap.

I iwsh there was still a simple 3D library that targets the displayList. It
was so easy to use that approach in the context of a large, data-intensive
UI. 

Thanks again, Simonas!



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/How-to-approach-multiple-3D-renderings-using-Stage3D-tp9258p9280.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: How to approach multiple 3D renderings using Stage3D

Posted by "aKimirksnis ." <ak...@gmail.com>.
I thing you should go for multiple cameras on a single instance of
Context3D. Stage3D version of Away3D is also there to help you. Though, the
biggest problem is that all Stage3D content is rendered below classic
display list which means that you must get rid of backgrounds of all Flex
components below your model viewer component in order to see what was
rendered. And that can be hard if your component layout is complex. Or you
could drop Flex and do entire GUI in Feathers.

On Fri, Dec 19, 2014 at 1:17 AM, DanielMcQ <da...@mcquilleninteractive.com>
wrote:
>
> Has anybody tackled the issue of rendering 4 or 5 or so 3D objects (each
> as a
> separate "view") and showing them all in a grid for easy visual comparison?
> (e.g. showing buildings with different configurations of windows.)I used to
> do this on the displayList with the old Papervision and Away3D libraries.
> This was reasonably fast and pretty easy to integrate into Flex.
> <
> http://apache-flex-users.2333346.n4.nabble.com/file/n9258/Screen_Shot_2014-12-19_at_10.png
> >
> Now all the 3D libraries focus on Stage3D, but it's not obvious how to
> handle rendering multiple 3D objects quickly in this kind of situation. I
> think only 4 or so instances of Stage3D can be created, but that's
> expensive
> and perhaps not a good approach given my initial tests. I could line up all
> my models in one 3D space, but then I would need as many cameras and a way
> to show only the immediate target for each. Integrating Stage3D into Flex
> as
> a simple, flexible visual component isn't as obvious to me, either.Perhaps
> I'm going about this the wrong way, or not seeing an obvious solution.
> Thanks in advance for any thoughts!
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/How-to-approach-multiple-3D-renderings-using-Stage3D-tp9258.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>