Jump to content
Sign in to follow this  
Guest christian

I know what the answer is going to be,... but here goes

Recommended Posts

Guest

Since we can employ a wind driven windsock using fsregen or bglplacer, I would assume it would be possible to hack the code generated and marry the effective parts to a macro. What do you think?Bob Bernstein

Share this post


Link to post
Share on other sites
Guest

Thanks Bob for the flag what we are thinking about for the flag isto have it "ripple" in the wind now I can do a "bind to space warp"in 3DSmax(Gmax does not do space warps) and animate it again in 3DSmax but I not sure if I can call the animation through a macro.Do you think it's possable?(once I get the above back in to gmax).

Share this post


Link to post
Share on other sites

Why hack the code? I have a working code for SCASM, I would only need to transform it to BGLC and we can use it with GMax too :).Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest

Hi Arno but would the the above(flag that ripples in the wind) becallable through a macro as it uses a space warp(something that gmaxdose not do) as I have no idea if 2002 can do a space warp either LOL

Share this post


Link to post
Share on other sites

Can't follow you here :), what do you mean with a space warp?Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest

Hi Arno 3DS Max has the ability to do what are called space warpslike ripple, wave and several others(again though gmax can't do spacewarps).I could do one up and email an animation as a .swf file if you would like to see what I am talking about as I can't post an animation here in the forums. Dan

Share this post


Link to post
Share on other sites
Guest

Hi,The trick is to find out the equivalent BGLC code for this bunch of 3 lines:=======================================TransformCall( :Detail 0 0 0 0.00 0 0.00 0 0.00 C74 )Return:Detail======================================I didn't search yet on the sdks if this instruction works and/or exists...but most probably will be there...Rafael

Share this post


Link to post
Share on other sites
Guest

Hi,Sorry for the mimics in my last message....but it seems that the colon sign trigers that....as in here :DetailRafael

Share this post


Link to post
Share on other sites
Guest

I presume that the above xform call is x,y and z in that order? thanks Dan

Share this post


Link to post
Share on other sites
Guest

Hi,>I presume that the above xform call is x,y and z in that >order? These are the exact values:TransformCall( :Label delta_x delta_z delta_y x_deg xvar y_deg yvar z_deg zvar )Rafael

Share this post


Link to post
Share on other sites

OK, found them :)[tt]POINT_VICALL detail, 0, 0, 0, 0, 0, 0, 0, 0, 0c74hBGL_RETURNdetail label word[/tt]This is only the rotation into the wind. I tested it and it works (same problems as before, you would need to place some hidden windsock to get instand update).This does not yet add different conditions for the difference in wind strength.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest christian

It's really hard:BGL_TRANSFORM_MAT 0,0,0, 0,0,0, 0,0,C74bgl code to be transformedBGL_TRANSFORM_END;)Cheers, Christian

Share this post


Link to post
Share on other sites
Guest

Hi Rafael could you take a look at my post to Arno re a space warpmy animation would include two "morphs" one a melt (to simulate the flag with no wind so it hangs down close to it's pole) and then the space warp so that the flag looks like it's blowing in the wind. Dan (thanks for takeing the time to answer)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...