Learning AD2K - Page 3
Page 3 of 11 FirstFirst 1234567891011 LastLast
Results 51 to 75 of 261

Thread: Learning AD2K

  1. #51
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    it's small wonder so many builders
    left cfs1 in droves,
    z buffering made the authors lives
    so much easier.
    not to mention the increased parts count.
    the problem i had as a simmer,
    was my older machine
    couldn't handle the high frame rates.
    so i uninstalled cfs2 and came back to one.
    then, i became involved with multi player,
    which provided years of fun and camaraderie.
    in time, though, it got, in a word, old.
    how many times must one be killed,
    before one is dead?
    cynical, yes, but true.
    i finally succumbed to my wounds.
    actually, i took up, what hubba called, lazy flying.
    no combat, just flying.

    okay, enough reminising...
    how's that model coming along?
    did you try a jump plane sequence
    or did you fix the gear or prop instead?
    ya know, sooner or later,
    you're going to have to jump
    into the coding aspect of the model.
    don't be intimidated, just go for it.
    what's the worse that can happen?
    nothing?
    sometimes the magic works.
    sometimes it doesn't.

  2. #52
    Hello Smilo,
    I can see why not only simmers stopped using FS98 and CFS1, but also why so many builders stopped building for FS98 /CFS1: Because of the need for an equivalent, manually made Z-Buffer for AD2k and a semi-manual one in AF99, that limited production to rather simplified models.

    I was getting dizzy trying to follow all the gosubs in the different Jump Plane sequences in the tutorial, and didnīt even know where or how to start the Plane Jump Sequence for the CubeFly.

    So, I decided to simplify things to have only a Prop and a Body with a Jump Plane between them, instead of Spinner, Prop, Axel, Nose and Body separated by further planes. I made the Spinner conical, sifted it into the Prop, eliminated the Axel, and sifted the Nose into the body, aligned the front with the Spinner vertices.

    New Update:
    After sorting out some problems involving the animated prop,
    I have the simplified version animated properly and with the cubic shapes of the body blending nicely with the hexagonal cross-sectioned spinner. Now there are only 2 sub-assies to Jump-Plane-sequence: Prop and Body.
    The first step is done: Inside the Prop sub-assy (containing blades, propdisk and spinner), I put in a Jump Plane Sequence to separate the blades from the spinner. And... IT WORKS!!! Now for the rest!
    The second step: Separating the body from the prop. Using the same principle, this time at the beginning of the same list, it wonīt work yet....

    Cheers,
    Aleatorylamp
    Last edited by aleatorylamp; February 17th, 2017 at 10:21.

  3. #53
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    cool!!!
    am glad to hear you figured out the prop/spinner.
    all that is in a sub assembly, right?

    is the body in a separate sub assembly?
    it should be.
    if so, please describe what you're getting
    that won't work.
    does it compile or do you get an error?
    if it compiles, are the two subs out of sequence?
    if so, change the order of the gosub calls.
    make sure the gosub calls are reversed.
    for example, (over simplified)
    gosub, body
    gosub, prop/spinner
    return
    gosub, propspinner
    gosub, body
    return

    as i said, the example is over simplified,
    but, i think you know what i mean
    sometimes the magic works.
    sometimes it doesn't.

  4. #54
    Hello Smilo,
    The Blades no longer bleed through the spinner seen from the front, but seen from behind, the prop-spinner still bleeds through the body. Actually the Body is a separate sub-assy and the plane does compile, so I donīt really know whatīs wrong.

    Anyway, what Iīve decided to do before continuing with the CubeFly, is to do the Ugly100 Tutorial (changing the name to Pony, and the red to blue), and at the moment I am doing the tail section.

    Cheers,
    Aleatorylamp

  5. #55
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    frustrating, isn't it?
    i don't blame you for moving on.

    no doubt, this is a basic sequencing issue.
    i have some ideas as to what might be problematic,
    but, instead of playing guessing games,
    how about zipping up the cube
    and posting it so i can have a look?
    who knows, maybe, i can learn something.

    ride that pony
    sometimes the magic works.
    sometimes it doesn't.

  6. #56
    Hello Smilo,
    Thanks for your offer! Hereīs the CubeFly .zip!
    I havenīt really moved on, Iīm just doing the other Tutorial 98 to figure out the rest of the sequencing for the CubeFly.
    The screenshot shows the beautifully bleedfree spinner, prop and body (seen from the front).

    The "CubeFly V0.zip" (version zero) contains one directory called "CubeFly" which is the aircraft for CFS1, and one called "CubeFly Ad2k Source", to be moved into the main AD2k directory, renamed as "CubeFly", to work with.
    It also contains the Help Files for direct access through Ad2k... I didnīt take them out.

    So, letīs see if it can be mended! Thanks a lot. I hope you will enjoy it!

    At least it is all quite intriguing and fun, apart from a "little" frustration now and then. ...But nobody said it would be easy, huh?

    Cheers,
    Aleatorylamp
    Attached Thumbnails Attached Thumbnails CubeFly Screenshot.jpg  

  7. #57
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    okay, got it, thanks.
    i'll move it over to the sim machine
    and have a look at it in a bit.

    right now, i'm flight testing the do17 ap.
    sometimes the magic works.
    sometimes it doesn't.

  8. #58
    Thanks, Smilo, Iīm off to bed... itīs past midnight!
    Good night!
    Aleatorylamp

  9. #59
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    sleep well
    sometimes the magic works.
    sometimes it doesn't.

  10. #60
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    other than the prop disk aft view being black,
    the prop, spinner and forward fuselage
    appear to line up visually, both from the fore and aft views.
    am currently trying to figure out
    why the prop disk aft view is black.
    sometimes the magic works.
    sometimes it doesn't.

  11. #61
    Good morning, Smilo!
    How strange - mineīs transparent grey seen from the front or back, with or without enabling hardware accelleration.
    Then, the blades or the disk bleed through the fuselage seen from the rear.
    Could this be a graphic card issue with one failing on my machine and the other on yours?

    How strange... Iīll try it on my laptop - it has AD2k on it too.
    Iīll also try it on the old 2.6 Ghz Pentium 4 tower and see what it does there.

    Update:
    Iīve just tried it on the P4 and the prop isnīt black seen from behind, and the bleeds are the same.

    Then, Iīve just finished the tail section of the Tutorial 98. There are a few mistakes in the tutorial text, and some things taken for granted and badly explained, but I suppose nothing is perfect.
    The translation of the rudder to the centre for the animation vector worked, and the rudder is in position, but the one for the elevators didnīt (not explained well, taken for granted after the rudder explanation) and elevators are in the centre. Iīll manage to get it sorted out, though.
    But... what a pain, the jump plane sequence. Not to write, but to make. I couldnīt create one like that - at least not yet! ...and that only for the tail-fuselage and rudder empenage. Anyway...

    2nd Update:
    Got it! Ha! Wow! Phew!
    The Copy/Translation of the elevators towards the centre of the plane hadnīt worked, together with the vector hinge, which was positive instead of negative. Now the tail empenage of the 98 tutorial works perfectly, textured, animated and bleedfree!
    I suppose once one gets used to the totally manual way of putting together the plane - the only automated part is the semi-automatic way of making the bulkheads, and the automatic way they are covered! But OK... I see the point.

    Now for the forward and mid sections! On we go!!

    Cheers,
    Aleatorylamp
    Last edited by aleatorylamp; February 18th, 2017 at 01:48.

  12. #62
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    BINGO!!!

    open the cubefly 3dm
    go into model editor
    scroll down to and open
    the PROP sub assembly
    scroll down to SPINNER at the bottom
    see the last entry,
    TPOLY 16;821, 822, 823...and so on.
    this bugger is causing a dark disk
    shown when looking forward.
    click on TPOLY and select HIDDEN
    and it disappears when you compile.
    finally, viewing the compiled
    prop/spinner and forward fuselage cube model
    i see no bleeding and the prop animation works.
    i think i'll go back to bed for a few hours.


    i wrote this around 04:00
    but, couldn't post it.
    the soh server was too busy.

    i just woke up.
    ...need coffee
    sometimes the magic works.
    sometimes it doesn't.

  13. #63
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    ...now that you've experienced the tedium
    of manually setting up a jump plane call,
    try this...

    within the cubefly 3DM you sent,
    open model editor, after MASTER,
    clicking, JUMP PLANE BODYPROP
    should highlight it in black.
    okay, here's the fun part,
    press, Shift+Ins

    tell me what happens.
    (this also works in sub assemblies)
    sometimes the magic works.
    sometimes it doesn't.

  14. #64
    Hello Smilo,
    Youīre a wizard! Thanks for the fixes. Letīs see if I can do the same as you say in your 2 posts tomorrow.
    Now itīs past midnight again... we had a small dinner party with one of my daughterīs friends.

    Iīve been progressing with Tutorial 98 until the afternoon and Iīm just infront of the windshield, with the hand-made Z-Buffer finished for Tail and Mid-section.

    There are one or two glitches in two templates regarding ties early in the tutorial that cause incongruencies in the cover template instructions later on. It prevents covering some templates and requires minor manual adjustment of panels, but nothing serious.

    Did you know that the TAC scanners in hospital also use a very effective Z Buffer to get the images of the human body organs - seems logical... and we have to do it manually!

    The next step is figuring out how it works...

    In the sub-assemblies the sequencing works by putting labels for different groups of parts that make up sections within the assembly - interesting.

    Thanks again! Cheers,
    Aleatorylamp

  15. #65
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    i kinda figured you had a family gathering.
    it's the weekend, after all.

    z buffering in hospital scanners isn't surprising.
    remember, it was fs2000 that started using it.
    that's almost 20 years ago.
    most of the bugs should have been worked out by now.
    heck, i wouldn't be surprised if something
    completely different is being used now.

    as i was compiling this morning,
    it dawned on me that i used
    the compile for fs2000/cfs2 mode.
    as i recall, i used it back with the 196.
    i don't think it makes a difference.
    see what you think.

    sleep well.
    sometimes the magic works.
    sometimes it doesn't.

  16. #66
    Hello Smilo,
    I was wondering why occasionally I got one full JUMP PLANE sequence (incl. PLANE vector, 4 GOSUBs and 2 RETURNs) when I didnīt want one, and usually only one GOSUB... Iīd pressed SHIFT+insert instead of CTRL + Insert.
    So thatīs how you get it, thanks! Fine!

    Something appears to have gone wrong with the CubeFly. The file I sent you was not the last version with the rear-view bleed problem. I do apologize for all this mess. It had the polygon that should have been hidden, but only the front of the plane appears, so somethingīs wrong. But: Despite the missing tail, the prop doesnīt bleed through the main Body anymore! The funny thing is that the file has a time just minutes prior to the file I have, long after Iīd already put the disk in the Desk...

    I reverted to the latest backup, where that polygon is hidden or in the Desk, and Iīm still getting the glitch.

    I have to see whatīs going on and Iīll post the correct file. How confusing. Iīm so sorry!

    Then, I was thinking about our manual Z-Buffers, which actually the hospital scanners still use, but with more than 32867 bytes... and also, about the way that you have to make templates, tie some of them to others, cover them, and Bingo!, your bodyworkers have panelled the aeroplaneīs skeleton!!

    Ivan:
    The impression I get about how your mind works, I expect both these aspects of the workings of AD2k would appeal to you, and that after getting the grips of the programme a bit, you would like it!

    Cheers,
    Aleatorylamp

  17. #67
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    at one point, i had a sneaking suspicion
    we were looking at different cubefly 3DMs,
    but, i figured, what the heck, and pressed on.
    i was having fun trying to isolate the problem
    and when i found it...boy, i thought i was hot stuff.
    thanks for the moment in the sun.

    please, don't be too sorry for the snafu.
    there is a lot to keep track of and things happen.
    it's not a big deal, honestly.

    i'm guessing the forward view bleed issue
    is caused by either, a misplaced seal
    in the prop disk location, or,
    an incorrect labeling sequence
    in the second jump plane gosubs.
    for example,
    the first and second gosub gosub calls are the same
    instead of reversed.

    now, i'm curious...please let me know
    when you figure it out.
    sometimes the magic works.
    sometimes it doesn't.

  18. #68

    Propeller-body bleed fixed

    Hello Smilo,
    Well, Iīm definitely glad you are enjoying it! I was fearing I was pushing you into something you really didnīt like.

    Anyway, like you say, all is not lost: Although it appears that the 3DM file showing the complete plane with the corrected sequencing seen from the front but not from behind is indeed lost.

    However, I have a backup without the sequencing in the main part, but as soon I apply the sequencing, the same happens as in the file I sent to you: the tail disappears , so itīs the same as the file I sent you except for the not-hidden propdisk.

    Looking at the sequence, after it, successive calls that should have been erased, duplicate the parts of the plane, overriding the sequencing. Stupid mistake.
    Also, I forgot a RETURN after INSERT TAIL, so everything after that reappears too! Even more stupid.
    Before, reversing the GOSUBs like you said, had no effect, so it wasnīt working anyway!! , and thereīs a bug in the works.

    All in all, it is all quite a mess, but the good thing is that it should be sort-out-able by just using the latest file, which is the one I sent you, but hiding the propdisk! So Iīll take it from there.


    I keep wondering what Ivan is thinking about all this...

    Update: Success!
    Backtracking, I re-made the file that was working with the correct sequence within the PROP Sub-assembly, which has the spinner displaying infront of the blades when seen from the front, and the blades before the spinner when seen from behind. (The propdisk is hidden).
    The sequencing I had put into the main text at the beginning was bad, so I removed it, and the Tail displays again.
    Then, without a JUMP PLANE instruction at the beginning of the main text (!!), but with GOSUB PROP1 in first place, it works!! Too simple, probably... but the body blocks out the prop when seen from behind, which was the aim for this step of the tutorial.

    Attached herewith is the CubeFly 3DM file, V1. An attached screenshot shows the propeller infront of the nose, seen from behind. Restly plane bleeds all over the place, but thatīs for later.

    Once I finish Tutorial 98 with the Ugly100 I called "Pony" and coloured blue, what I learn there will serve to continue with the manual Z-Buffer for the CubeFly. The Pony is only visible as a Tail, because wings arenīt built yet, so the Fuselage at the cabin, which is done, wonīt display because the sequence doesnīt include wings. The texture on the fin is wrong as yet.

    Cheers,

    Aleatorylamp
    Attached Thumbnails Attached Thumbnails CubeFly Prop.jpg   Pony Tail.jpg  
    Attached Files Attached Files
    Last edited by aleatorylamp; February 19th, 2017 at 05:56.

  19. #69
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    well, it looks like you're making progress
    and that's a very positive note.

    my apologies in advance,
    i'm more than a little ticked off today.
    NO!!! it's not something you've done.

    i'm getting damned tired of writing replies,
    only to have a "the server is busy, try again later"
    message pop up and then, loosing the message.
    to say it's aggravating, is a gross under statement.
    it would appear, i need to copy my replies
    and paste them to a desktop notepad,
    in case the flippin' server is too flippin' busy.
    WTF?

    there....i feel better now.

    backup, backup, backup.
    sometimes the magic works.
    sometimes it doesn't.

  20. #70
    Hello Smilo,
    You have mny sympathy. Yes, there are times here at weekends starting on Friday night when that happens. Saturday midday here yesterday had a server-busy time.

    Then itīs different from when it normally times out and you get the black page screen with white writing (for which you have to scroll down. That took me quite a while to discover, and prevents having to backup oneīs message on the notepad...
    If you page back, then the message you were writing is lost.


    Maybe Iīm mistaken - Do I remember that with a server busy you can go one page back, recover the message you were writing, copy it onto the notepad and send it later? I think I did that yesteday. Or maybe not... my mind is not the best anymore...

    Anyway, about the Ad2k tutorials:
    I got the 2 tutorials from Html format into Word format, checking that all the coordinate-tables didnīt split up over 2 pages, and turned them into .pdf files: 53 and 59 pages, pics included. Then I went to a photocopying shop to have them printed out and spiral-bound, for all of 2.5 dollars each! Itīs much better than reading them them on-screen!

    The .pdf files are handy for printing out easily, so if anyone is interested, I could post the .pdf files here.
    1- The Ad2k Tutorial 98 with the Ugly100 nice looking tutorial plane with the hand-made Z-Buffer is 745Mb.
    2- The Ad2k+RFO Turorial with the Rubbish Flying Object (with no hand-made Z-Buffer) is 887 Mb.

    Do let me know!

    Cheers,
    Aleatorylamp

  21. #71
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    yes, i was able to recover a reply early yesterday,
    copy/paste it for later posting.
    this morning, no...damn it.
    as you are well aware,
    i'm a long winded old coot,
    so, loosing the reply was very aggravating.

    posting the pdf sounds like a good idea.
    but, what do you think about making
    notated corrections first?

    i'm off to outside.
    i have a clear day to work on an overheating car.
    i've got to grab the opportunities where i can.
    sometimes the magic works.
    sometimes it doesn't.

  22. #72

    AD2k Tutorial #1: RFO

    Hello Smilo,
    OK, before posting the .pdf of Tutorial 98 with the hand-made Z-Buffer, Iīll try to figure out how to avoid the glitch occurring in the 2 tied central fuselage templates at the beginning of the tutorial.

    Then I was trying to make the wings, and right at the beginning, there is also something strange going on with those templates. They are also tied, and the wing wonīt cover correctly. I have to work that one out too.

    Anyway, for a possible learner, this tutorial would be STEP TWO because of the complicated manual Z-buffer emmulation.

    STEP ONE would be the RFO (Rubbish Flying Object), Z-Bufferless tutorial, which is in reality for FS2000 or FS2002, but nevertheless very practical and recommendable. The building process itself is very well explained and also illustrated, even though it is a very simple model, and thatīs also why itīs a good idea as STEP ONE. Moreover, there are no glitches!

    As soon as Iīve sorted out the problems with the other tutorial, Iīll post the .pdf version.

    Good luck with your carīs temperature!

    Cheers,
    Aleatorylamp
    Last edited by aleatorylamp; February 19th, 2017 at 16:56.

  23. #73

    Ad2k Tutorial #2: Tutorial 98

    Hello Smilo,
    In the tutorial text, I inserted a note after the creation of the centre fuselage templates, mentioning the correct final dimensions and positions of the tied templates, as a double-check method to ensure that they are created properly. This will prevent problems appearing later when the cabin is built.

    Then, the problem with the wing templates was that I had inadvertedly placed them in the wrong order, and it took some time to discover what had gone wrong. Further down in the text there was a comment on the importance of ordering them correctly, and that mistakes here can easily happen! So thereīs no problem here.

    I have just made the right wing right!
    Alright! That being right too, hereīs the .pdf with the second tutorial for printing out easily!
    I distributed the pages so that each of the 6 sections starts on a clean page.

    BTW: The already existing tail section with moving rudder and elevator has no bleeds at all!
    It is striking, how effective this hand-written Z-Buffer is!
    At the moment, itīs just copying from the tutorial text... To master it, is another kettle of fish altogether!

    Cheers,
    Aleatorylamp

  24. #74
    SOH Staff
    Join Date
    Jul 2005
    Location
    State of Confusion..... -8GMT
    Posts
    3,775
    thank you for taking the time to upload the tutorials.
    but, i've got to say, i'm a little disappointed.
    there's no spring binder included.

    the overheating vehicle is an on going problem.
    it keeps loosing coolant and we can't find the leak.
    today, i bypassed the heater core.
    we'll see how it goes in a few days.
    btw, have i told you i hate auto mechanics?
    okay, strongly dislike.
    i used to do it professionally.
    apparently, the job is not finished
    until i bleed on it.

    all right, about the cubefly...
    i'm tempted to see if i can correct
    the wing/fuselage bleed.
    way to go, Stephan...thanks a bunch.

    am pleased that you're beginning to see
    the pluses of the ad2k sequencing process.
    in my opinion, it's one of the main features of ad2k.
    but, i guess you already knew that. right?
    Last edited by smilo; February 19th, 2017 at 21:03.
    sometimes the magic works.
    sometimes it doesn't.

  25. #75

    mechanics!

    Hello Smilo,
    I hate all the mechanics I know except the one that I have currently, until he does something and I will have to find another one.
    If they donīt rip you off by causing the next breakdown on purpose because they are dishonest, it is because they are incompetent, but the effect is the same.

    I had a small leak that should have been found but wasnīt - the mechanic said it was so small that it had to be an internal leak, but it was the old radiator. The water was dripping onto something hot and evaporated before it could drip on the ground so there was never a puddle, until one day it boiled, but it was raining, so I didnīt notice, and it happened twice, almost ruining the engine.

    Had it been another car and not a 1985 diesel BMW, it would have ruined it. So, the mechanic changed the radiator and everything was fine. Further incompetence later caused the dash-board instrument cluster to burn out, and they donīt work anymore, but are too expensive to replace as they donīt exist in the scrapyards or on e-bay Europe anymore.

    Then one day he over-tightened the distributor belt when he changed it, and a year or more later, this had eroded the injection pump bearing, offsetting the belt a few micras, and the belt jumped 3 teeth. This caused one cylinder to hit the valves, luckily only denting the shims, but I had to have the injection pump repaired, which I had already been done 4 years before. Had it been another car with slanting valves instead of vertical ones, they would have broken and I could have thrown away the car. This time I changed the mechanic, and itīs a miracle the car still runs!

    Well, letīs see if I can finish the second AD2k tutorial this week!
    Hopefully the .pdf files will help anyone interested. The anti-bleed sequencing feature is, as you say, the main point,and Iīd say the template style semi-automatic building facility would be the second advantage!

    Update:
    This morning I was half asleep when I wrote this and forgot something:
    Thanks for your offer to try to make a sequence for the cubefly!
    That would be great, but I donīt want to impose it on you. ONLY if you fancy doing it!

    At the moment Iīve done the right Gear for the right wing of Tutorial 98, and Iīm doing the sequencing. As alway, this French authorīs way of expressing himself is somewhat confusing: He usually explains how to do something before telling you what to do, but in some difficult parts, he explains how to do it AFTER telling you what to do! This makes you go crazy looking for things that donīt exist yet because he hasnīt told you yet!!... But OK, nobodyīs perfect...

    Almost ALL of the tutorial is VERY well explained, even though some bugs crop up occasionally to keep us on our toes!! E.g. in the numbers, where a short while later in the code listing, it becomes obvious that they are wrong, and one thing like assigning the "wing" texture to the wheels instead of the "pilot" texture that contains the wheel bitmap quarters... and itīs obviously the wrong texture, and it says so a bit later in the code listing... and then, I forget where thereīs a minus sign omitted for building the tailplanes, but well, these small errors are easily solved. It must be extremely hard to write such a detailed tutorial like this one...

    Second update:
    The last part of the section on building the Right Wing is confusing as something is omitted and requires looking into the original tutorial code, so I have included a little paragraph to clarify this. The two number and texture error mentioned above have also been corrected! Here is the newly corrected Tutorial .pdf file! Enjoy!

    Anyway, it is rather addictive... so it will probably be quite interesting to use Ad2k for the next project!

    Cheers,
    Aleatorylamp
    Last edited by aleatorylamp; February 20th, 2017 at 03:46.

Members who have read this thread: 0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •