Not sure, after looking at the View3D and Clipping classes there is quite a
bit of stage referencing going on. Also, what led me to this problem in the
first place was that an item I had was getting larger/smaller depending on
what size the browser window was, even though it was set to NO_SCALE, etc.
It's like it was basing the rendering off of how far the sprite was from 0,0
on the main stage.

Thanks again,

Casey Corcoran
------------------------------------------------------
Interactive Design & Development
[email protected]


On Thu, Jan 21, 2010 at 6:08 PM, Joshua Granick <[email protected]>wrote:

> I'm not sure that Away3D relies on the stage, so much as the coordinates
> need to be centered, so if you really want it to be at (600, 200) with a
> width of 500 x 500, you might have to actually set the Y of your View object
> to (850, 450). You can put the View object into another Sprite in order to
> position it more easily
>
>
>
> On Thu, 21 Jan 2010 14:38:17 -0800, Casey Corcoran <
> [email protected]> wrote:
>
>  Thanks Joshua, those are all set. It's the stage dependency that I'm
>> trying
>> to avoid.
>>
>> Like, If I want to have something like:
>>
>> my3DWidget.width = 500;
>> my3DWidget.height = 500;
>> my3DWidget.x = 600;
>> my3DWidget.y = 200;
>>
>> Any planes or whatever inside my3DWidget would be positioned centered
>> within
>> IT'S bounds not the stage.
>>
>> Casey Corcoran
>> ------------------------------------------------------
>> Interactive Design & Development
>> [email protected]
>>
>>
>> On Thu, Jan 21, 2010 at 5:15 PM, Joshua Granick <[email protected]
>> >wrote:
>>
>>  You might also need to create some kind of resize handler. Listen to
>>> Event.RESIZE on the stage, then reposition your elements as necessary.
>>>
>>>
>>>
>>>
>>> On Thu, 21 Jan 2010 14:11:28 -0800, Casey Corcoran <
>>> [email protected]> wrote:
>>>
>>>  Rob thanks for the pointer, I really appreciate it. One question since I
>>>
>>>> don't have a spare moment to try it yet and I'm going to be up all
>>>> night...
>>>> Will "providing a clipping window" remove the dependencies on the stage?
>>>> My
>>>> issue is that I want to have an area (or window) and control all the 3d
>>>> inside it based on it's own parameters. When I used the default
>>>> stage-based
>>>> stuff I had things that were scaling up/down based on the size of the
>>>> browser window/swf. I can't have that since the 3d elements are used in
>>>> 2d
>>>> layouts.
>>>>
>>>> Hope I'm making sense... Thanks for all your work on A3D and the support
>>>> here, I really appreciate it!!
>>>>
>>>> Casey Corcoran
>>>> ------------------------------------------------------
>>>> Interactive Design & Development
>>>> [email protected]
>>>>
>>>>
>>>> On Thu, Jan 21, 2010 at 4:58 PM, Rob Bateman <[email protected]>
>>>> wrote:
>>>>
>>>>  Hey Casey
>>>>
>>>>>
>>>>> the size of the view in Away3DLite and Away3D is controlled by the
>>>>> clipping
>>>>> property. If you take a look at the following post, you should see how
>>>>> this
>>>>> is set to provide a clipping window for your view:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> http://groups.google.com/group/away3d-dev/browse_thread/thread/c66b57326c190ac0/68b1b5a2835d7385
>>>>>
>>>>> try it out - the one difference with Lite is that you have to control
>>>>> masking of the viewport yourself - although i'm sure this won't be the
>>>>> case
>>>>> for very long
>>>>>
>>>>> hth!
>>>>>
>>>>> Rob
>>>>>
>>>>>
>>>>> On Thu, Jan 21, 2010 at 8:31 PM, Casey Corcoran <
>>>>> [email protected]>wrote:
>>>>>
>>>>>  Looks like no one is biting on my earlier post and I really need to
>>>>> get
>>>>>
>>>>>> this figured out for a deadline. If you can just get me pointed in the
>>>>>> right
>>>>>> direction I'll send you $20 via paypal or if some actual coding needs
>>>>>> to
>>>>>> be
>>>>>> done (Modifying Clipping, View3D, etc) we can figure that out too. I
>>>>>> would
>>>>>> normally figure this out myself but I'm working on too many other
>>>>>> things
>>>>>> to
>>>>>> do the appropriate research etc. My earlier post is below in case you
>>>>>> missed
>>>>>> it.
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> Casey Corcoran
>>>>>> ------------------------------------------------------
>>>>>> Interactive Design & Development
>>>>>> [email protected]
>>>>>>
>>>>>>
>>>>>> On Thu, Jan 21, 2010 at 12:22 PM, caseyc <[email protected]
>>>>>> >wrote:
>>>>>>
>>>>>>  Sorry for the n00b question but I'm confused. I'm using Away3D lite
>>>>>>
>>>>>>> for the first time on a project, for "card" type effects, coverflow,
>>>>>>> flipping, etc etc. I basically just need to create 3d views/widgets
>>>>>>> that stand on their own, not a 3d environment.
>>>>>>>
>>>>>>> I'm confused as how to set up a standalone view that has it's own
>>>>>>> width/height/x/y and does not rely on the stage. I've been able to do
>>>>>>> a few things with the default set up, but they are scaled based on
>>>>>>> stage dimensions (this is in a "noscale" environment)
>>>>>>>
>>>>>>> Ideally I just want to have a view with the origin at the center of a
>>>>>>> size I define. The end product would work something like this:
>>>>>>>
>>>>>>> http://caseyc.pastebin.com/m1a7da202
>>>>>>>
>>>>>>> Then for a usage example:
>>>>>>>
>>>>>>> http://caseyc.pastebin.com/m2cbf7bfd
>>>>>>>
>>>>>>> The examples linked are not working for me, I don't see the plane and
>>>>>>> I'm not sure why?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> Rob Bateman
>>>>> Flash Development & Consultancy
>>>>>
>>>>> [email protected]
>>>>> www.infiniteturtles.co.uk
>>>>> www.away3d.com
>>>>>
>>>>>
>>>>>

Reply via email to