More trouble, i guess I will have to do it this way...

http://www.mediafire.com/?jpop9a1uy7aj3bt

http://www.mediafire.com/?ryv8dgh890wgq24

Please tell me if something is wrong with the downloads, I am not used
to these upload services... thank you for your trouble reading all the
way through this email... sorry

On Fri, Nov 26, 2010 at 3:00 PM, Alexandar Danilovic
<[email protected]> wrote:
> Code coming soon, have to split the zip file...
>
> On Fri, Nov 26, 2010 at 2:57 PM, Alexandar Danilovic
> <[email protected]> wrote:
>> (ok, sorry, the whole email is asking questions for Fabrice, I just
>> looked at the team page, Rob is the lead :) (fabrice keeps answering
>> in the group regularly  so I kind of thought he is), anyway, whoever
>> can answer, I would appreciate it... I kept the email content asking
>> things to fabrice not to make it awkward, and I don't feel like
>> modifying this whole essay :) lets say I am leaving it this way for
>> comedy :) )... and stop reading if you're on an iphone, you'll
>> probably waste your time, please read later unless you've really got
>> nothing better to do :)
>>
>> another edit: more attachments in self reply emails...
>>
>> Also, i am using the svn repository version of away3dlite, the latest
>> repository revision, updated yesterday, 2788 or whatever it is (i know
>> it's something like 2*88) and it's cs4. Sorry for the mess of an
>> email.
>>
>> Hello, Fabrice and folks.
>>
>> This is probably directed directly at you, Fabrice, since I doubt that
>> more then a few people around you, including you can even begin to
>> guess about things I am writing here. I don't know the names of
>> others, so I will directly address you. :)
>>
>> For start, this is what I want to do... it is very simple. I am using
>> Away3DLite for this.
>>
>> A first person style free movement camera. No, not a fps camera. Just
>> the basic free movement, free floating camera that you control with
>> your mouse and WASD + Shift. Kind of like those "ghost" cameras in
>> Counter Strike or any FPS game where you can look around the map when
>> you die, etc.
>>
>> And here comes the hard part. I modified the Intermediate_Skybox
>> example to try to get a nice environment to test the camera in. And
>> the camera is going berserk. Along with the rest of the scene, but I
>> will cover that later. First of all, Camera3D is rotating around its
>> registration point... now, I tried to make sure that I am not doing
>> something stupid, or that I mishandled code, I even went through the
>> code for the Camera3D itself now to see if maybe it was me just being
>> stupid, not accounting for some interesting settings in the camera,
>> but the code for Camera3D is small and slick, no hidden traps, all I
>> could see is that Camera3D rotation handling is done in flash
>> itself... not a lot of help.
>>
>> It was a long time ago since I studied the 3d matrix thing so I could
>> not make out the matrix transformations (of course, they are not done
>> in code but behind the scenes so that makes it even more abstract) and
>> where the errors could be... so I decided to ask you instead.
>>
>> Why is the camera rotating around it's registration point? The way I
>> understand things, it's registration point should be behind it...
>> right?
>>
>> I mean, it should not be looking at it's registration point, right? It
>> should be looking the opposite way away from it?
>>
>> So, when I rotate it, it's behaving more or less like a hover camera,
>> without all the fluff and puff...
>>
>> Now, it would be understandable for me if the camera was rotating
>> behind it's viewport in its focal point, that would kind of make
>> sense. I guess it could be annoying to make it rotate directly around
>> its viewing rectangle thing (forgot the name - canvas, viewport?). I
>> would find that OK, you leaving a little big of legwork for me to do
>> to make it a true fps camera.
>>
>> But that is not the end of problems. It not only looks at its
>> registration point (I can swallow that, it's not a big deal), but not
>> only that, its "lense" for a lack of a better word, is majestically
>> annoying... I don't know what is the exact cause, but if you load the
>> swfs in the first attachment called "huge and funny" and "smaller" you
>> will see the problems I am having...
>>
>> Basically to keep things simple, that little 100 radius ball should
>> sit I think somewhere in the middle of the room. Instead, it's flying
>> all over the place, exchanging z depth between whole objects with the
>> gym, I think, and it has absolutely no bearing on reality when it
>> comes to it's proper projection on screen compared to the building. I
>> tried to play with the zoom and focus, but something in my gut is
>> telling me that this is not the type of trouble that is caused by
>> those two things... so do you mind telling me what the hell is going
>> on :)...
>>
>> Some more info for you about the funny away zip file swfs...
>>
>> Intermediate_Skybox small and funny.swf - the building in original and
>> the ball in proximity (well, if it's not inside the building, then it
>> should be somewhere near it, I have no way to tell honestly)...
>>
>> Intermediate_Skybox huge and funny.swf - OK, this shows better how
>> scr**ed up something is (I do not know what)... try to hover the
>> camera so that it looks down until you hit the HoverCamera maxTilt
>> property (80 degrees) and then pan the camera around until white fills
>> the whole screen (that's the floor of the building). Now hold SHIFT+S
>> to zoom out until you exit quite far away outside of the Skybox. If
>> the 3d model of the white building "dissapears", just rotate around
>> until you find the floor again and keep pushing outside of the skybox
>> until the huge model fills most of it(most of the skybox). Then have
>> fun rotating the camera around... I am using the HoverCamera here and
>> in funny and small so that's why it's rotating the way it is as I am
>> simply moving the camera away from it's target... Can you sumarize
>> what exatcly is going on? Because I have no clue...
>>
>>
>> Intermediate_Skybox hover camera.swf
>> Intermediate_SkyboxCamera3D.swf
>>
>> These two are just with the skybox and the sphere... nothing
>> perticular there. I wanted to include them because I kept thinking
>> that the camera actually rotates in a wrong way, rotating 180 degrees
>> to actually pass through it's registration point (ie the hover point)
>> but I realised that was just me not realising where the cameras
>> registration point was... I guess the question here is why is the
>> camera looking and rotating around it's registration point?
>> ---------------------------------------------------------------------------------------------------------------------------------------
>> So to sumarize questions to make it easy for you to answer so that you
>> do not have to bang your head with this long email: :)
>>
>> 1) what is going on in Intermediate_Skybox and if you have an idea,
>> how to fix it (somehow I doubt that Away3DLite whole purpose is just
>> to rotate stuff around the cameras registration point, not when i
>> remember those examples). So what could I be doing wrong. Wrong lens,
>> maybe?
>>
>> 2) If there is a simple explanation why is the camera rotating around
>> it's registration point that would be sufficient?
>>
>> 3) I am guessing it's not an issue to create a free float camera, and
>> I kind of realise that I need to brush up on my 3d matrix math, but am
>> I going this the right way?
>>
>> I Am guessing I can make the camera's registration point move around
>> in a circle and keep the viewport in one place, it should not be a
>> very complex trig problem. If this is not the right way to do it, can
>> you sumarize in one sentence what I need to do? (ie learn 3d
>> transformations math and perform matrix transformations etc etc).
>> ------------------------------------------------------------------------------------------------------------------------------------------
>>
>> I don't know what else to write... Heh, here is something I did a very
>> long time ago, 2 years and 7-8 months ago (march, april 2008), :) it's
>> x-football.swf, an abandoned project of mine... WASDQE to move the
>> camera(yeah, i know, abandoned, as I mentioned :) ), mouse to shoot
>> and R to restart ball. Do not press SPACE or you will have to hold it
>> constantly to keep the "time" moving (onEnterFrame listeners
>> attached)...
>>
>> Just to show that I am not that newbish in Away (and + you've probably
>> never seen something quite like it in Away(the theme, i mean) :) ).
>> It's something else(I can't be that newbish :) ) ...
>>
>> Oh, and the sources are also included in the attachment if you need
>> them, they are slightely a mess. Basicaly, my cameras simply implement
>> input listeners automaticaly (still prototypes, obviously, since they
>> do not work as they shot) so they are not the problem... the rest of
>> the code should be familiar to you if you've checked out the
>> Intermediate_skybox example in the last couple of months.
>>
>> Thanks in advance. Sorry for the essay. Nice work, even when it
>> doesn't work or I can't make it work (I can make a nice triangle
>> fireworks show in Away3DLite, at least)...
>>
>
>
>
> --
> Thanks,
>
> Aleksandar Danilovic,
> www.neoraptor.com
>



-- 
Thanks,

Aleksandar Danilovic,
www.neoraptor.com

Reply via email to