Author Topic: Animation of car geometry  (Read 1138 times)

Phathry25

  • Full Member
  • ***
  • Posts: 144
    • View Profile
Animation of car geometry
« on: December 09, 2016, 05:09:45 AM »
Any insight on how to define the stuff in the GFX.cfg file?

Position? Rot? Axle? Spindle? Relative to what? How to measure?

These obviously aren't absolute mounting positions.

link_scene?
slidescale?
reflength?

Phathry25

  • Full Member
  • ***
  • Posts: 144
    • View Profile
Re: Animation of car geometry
« Reply #1 on: December 10, 2016, 05:05:00 PM »
I set all the pos and axle values to 0 for my car and on the spinner the radius rods line up in the right location on the car, but a little low at the axle.  On track they wildy spin around the car, with no apparent rhyme or reason.

Where do I align the pivot on the radius rod in my 3d editor?  On the spinner it doesn't appear to matter.  What are the numbers in for pos and axle in the gfx.CFG defining?  I am working off of the wingless sprint car as my car is just a smaller version of it.

https://i.gyazo.com/72e1df4039ff440548325056bdab1a9d.png

Any guidance?


AUSSIEDIRT

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Animation of car geometry
« Reply #2 on: December 11, 2016, 05:00:13 AM »
...... That looks alot like a midget

bsauder189

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Animation of car geometry
« Reply #3 on: December 11, 2016, 06:18:05 PM »
Stands no taller than 4'10", it just may be Aussie ;).

AUSSIEDIRT

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Animation of car geometry
« Reply #4 on: December 12, 2016, 04:08:33 AM »
Looks alot like the spr midget (not passing judgement) if it's a midget it would be a fantastic platform for people to come online with more mods

Phathry25

  • Full Member
  • ***
  • Posts: 144
    • View Profile
Re: Animation of car geometry
« Reply #5 on: December 12, 2016, 05:35:02 PM »
Anything at all you can offer?  I'd really like to get these radius rods properly animated.  :-\

AUSSIEDIRT

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Animation of car geometry
« Reply #6 on: December 12, 2016, 10:49:40 PM »
This is were a in game tool would help. What's it doing on track?

bsauder189

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Animation of car geometry
« Reply #7 on: December 13, 2016, 12:17:13 AM »
They're spinning around the center axis point of the car instead of staying static at their locations on the model, Aussie.

AUSSIEDIRT

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Animation of car geometry
« Reply #8 on: December 13, 2016, 04:50:05 AM »
Are they their own models?


Sorry for the obvious questions

AUSSIEDIRT

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Animation of car geometry
« Reply #9 on: December 13, 2016, 10:10:09 PM »
im just approaching this in the same way we would approach a rfactor issue i wonder if perhaps the suspension rods are attached to something their not supposed to be

Phathry25

  • Full Member
  • ***
  • Posts: 144
    • View Profile
Re: Animation of car geometry
« Reply #10 on: December 14, 2016, 12:45:58 AM »
For the love of God.  Please.  What are these points?

Kevo

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Animation of car geometry
« Reply #11 on: December 14, 2016, 11:31:39 AM »
I havent had much experience with the gfx.cfg files yet, but I may be able to help you.

      linkage0
      {
         name = SUSP_LINK_LF1
         pos
         {
            x = 0.0
            y = 0.0
            z = -1.5
         }
         axle
         {
            x = -0.065
            y = 0.267
            z = 0.0
         }
      }

From what I understand from animating the monster truck suspension, "pos" is the length of the suspension linkage, along the axis that it shows as in 3DS Max. "axle" is the location of the pivot on the axle side, relative to the centre of the axle.

      shock
      {
         name = SUSP_SHOCK_BODY_LF
         refobj = SUSP_SHOCK_SHAFT_LF
         pos
         {
            x = 0
            y = 0
            z = 0
         }
         link
         {
            x = -0.58
            y = 0.166
            z = -0.004
         }

         link_scene = 1
         
         slideaxis = y-
         slidescale = 1
         reflength = 0.30
      }

"link" is the location of the bottom end of the shock along the x,y and z axes, relative to the centre of the axle. "reflength" I dont know the exact definition, but increase or decrease this value to get the bottom of the shock model to sit in its proper location. Perhaps it is the length of the shock model in 3DS Max, minus the minimum shock length found in the .geom file.

Hopefully this helps.

Phathry25

  • Full Member
  • ***
  • Posts: 144
    • View Profile
Re: Animation of car geometry
« Reply #12 on: December 15, 2016, 02:29:58 AM »
THANK YOU VERY MUCH!!!!!!!!

I hope the growing team means that good things are happening for PiBoSo. :)

AUSSIEDIRT

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Animation of car geometry
« Reply #13 on: December 15, 2016, 04:14:04 AM »
So when do we get to see the midget

Kevo

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Animation of car geometry
« Reply #14 on: December 15, 2016, 04:53:14 AM »
THANK YOU VERY MUCH!!!!!!!!

I hope the growing team means that good things are happening for PiBoSo. :)

You're welcome :)